
webapp.data.query.display.toplevel.rq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of corese-server Show documentation
Show all versions of corese-server Show documentation
Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1
Query and Update.
The newest version!
prefix ai4eu: .
insert {
?x rdfs:subClassOf ?top
}
where {
select * where {
{ { ?x a rdfs:Class } union { ?x a owl:Class } minus { ?x rdfs:subClassOf ?y } }
union
{ ?z rdfs:subClassOf ?x minus { ?x rdfs:subClassOf ?y } }
bind (if (strstarts(?x, ai4eu:), ai4eu:Thing,
if (strstarts(?x, foaf:), foaf:Thing,
if (strstarts(?x, dc:), dc:Thing,
error()))) as ?top)
filter bound(?top)
bind (st:setclass(?top, "fake") as ?f)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy