GraphStore`
GraphStore`

SPARQLExecute

SPARQLExecute[url, query]

executes query on the SPARQL endpoint located at url.

Details

  • In SPARQLExecute[url,query], query can be a symbolic SPARQL query or update request or a string.
  • Possible symbolic query forms include SPARQLSelect, SPARQLAsk and SPARQLConstruct.

Examples

Basic Examples  (1)

In[1]:=
Click for copyable input

Count the triples in Wikidata:

In[2]:=
Click for copyable input
Out[2]=

The same query using a query string:

In[3]:=
Click for copyable input
Out[3]=