GraphStore`
GraphStore`

SPARQLLoad

SPARQLLoad[from]

is an update operator that can be applied to an RDFStore, which loads the graph located at from into the default graph.

SPARQLLoad[fromto]

loads the graph into the graph identified by to.

Details

  • SPARQLLoad can be used in SPARQLExecute to load data into a SPARQL endpoint.
  • from is usually a URL or a File that contains the graph.
  • Data from the destination graph is not removed.

Examples

Basic Examples  (1)

Data about countries:

Create a "linkset" that links Wolfram and Wikidata entities:

Load the linkset into the default graph:

Query the population of Hungary using its Wikidata ID (Q28):

Delete the linkset: