November 2022
Intermediate to advanced
294 pages
5h 58m
English
Let’s try querying a remote RDF graph store. We’re going to use DBpedia[71] and the DBpedia SPARQL endpoint[72] for our remote querying. So, we use the rdf_store/1 function we defined in the RDFGraph module with the atom :dbpedia as our key:
| | iex> rdf_store :dbpedia |
| | :ok |
Now if we check with the graph_info/0 function, we don’t get a %GraphCommons.Service.GraphInfo{} struct returned as we would with a local graph store, but instead we get a tuple returning the store token:
| | iex> graph_info |
| | {:ok, :dbpedia} |
Note that later in A Graph-to-Graph Example, we’ll also be querying against Wikidata[73] and using the Wikidata SPARQL endpoint.[74]
DBpedia vs. Wikidata | |
|---|---|
|
DBpedia and Wikidata are two related ... | |
Read now
Unlock full access