All Downloads are FREE. Search and download functionalities are using the official Maven repository.

webapp.data.query.halrdf.rq Maven / Gradle / Ivy

Go to download

Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1 Query and Update.

The newest version!
#
# Dereference URI and return its graph
#
construct {
    ?s ?p ?o
}
where {
    bind (st:get(st:uri) as ?uri)
    bind (kg:load(us:completehal(?uri)) as ?g)
    graph ?g { 
        ?s ?p ?o 
    }
}

#
# add /rdf for hal RDF resource URI
#
function us:completehal(?t) {
    if (strends(?t, "rdf") || contains(?t, "#"), 
        ?t, 
        uri(concat(?t, if (strends(?t, "/"), "rdf", "/rdf"))))
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy