powered by
Executes a SPARQL query against the RDF store.
sparql_query(store, query)
For SELECT queries, a data.frame with results. For ASK queries, a logical. For CONSTRUCT/DESCRIBE queries, a data.frame with subject, predicate, object columns.
An RDF store handle
A SPARQL query string
store <- rdf_store() rdf_load(store, ' "hello" .', format = "ntriples") sparql_query(store, "SELECT * WHERE { ?s ?p ?o }")
Run the code above in your browser using DataLab