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

webapp.data.query.display.toplevel.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!
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