Expand description
Example of use:
let dataset = SparqlWrapper(&dataset);
let query = SparqlQuery::parse("SELECT ?o { ?s a ?o }")?;
let bindings = dataset.query(&query)?.into_bindings();
for b in bindings {
let b = b?;
if let Some(o) = &b[0] {
println!("found {o}");
}
}Structs§
- Bindings
- Result
Term - Sparql
Query - Sparql
Wrapper - Wrap any Sophia
Datasetinto aSparqlDataset, which can therefore be queried with SPARQL.