Querying public knowledge graph databases

You can query public knowledge graph databases (like wikidata.org and dbpedia.org) using SPARQL. For instance for extracting all “known” programming languages, you can use the query SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q9143. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO\_LANGUAGE],en". } } LIMIT 1000 There are also SPARQL clients for most of programming languages. With (swi) prolog you can easily run \[library(semweb/sparql\_client)\]. sparql\_query('SELECT ?item ?itemLabel WHERE {?item wdt:P31 wd:Q9143. SERVICE wikibase:label { bd:serviceParam wikibase:language "\[AUTO\_LANGUAGE\],en"....

August 18, 2018 · 1 min · 82 words · Matteo Redaelli

About Cayley a scalable graph database

This is fast tutorial of using the Caylay graph database (with MongoDB as backend): Cayley is “not a Google project, but created and maintained by a Googler, with permission from and assignment to Google, under the Apache License, version 2.0” download and unzip a binary distribution edit cayley.cfg { "database": "mongo", "db\_path": "cayley.redaelli.org:27017", "read\_only": false, "host": "0.0.0.0" } ./cayley init -config=cayley.cfg ./cayley http -config=cayley.cfg -host=“0.0.0.0” & create a file demo....

August 3, 2015 · 1 min · 123 words · Matteo Redaelli