Crate sophia_sparql

source ·
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

Enums

Type Aliases