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

sttl.owlrl.query.template.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.

There is a newer version: 4.6.1
Show newest version
prefix orl: 

template {
  st:number()
  " " 
  st:apply-templates-with(st:turtle, ?node)
  
  ; separator = "\n\n"
}
where {
     filter(st:visit(st:start, st:trace)) 
     
     filter(st:visit(st:trace, st:sub,   !true))
     filter(st:visit(st:trace, st:super, !true))
     filter(st:visit(st:trace, st:equiv, !true))
     
     filter(st:visit(st:trace, st:subClass, 	true))
     filter(st:visit(st:trace, st:equivClass, 	true))
     filter(st:visit(st:trace, st:disjointClass,	true))
     filter(st:visit(st:trace, st:individual, 	true))
     filter(st:visit(st:trace, st:domain, 	true))
     filter(st:visit(st:trace, st:key, 		true))
     filter(st:visit(st:trace, st:fail, 		true))
     
     filter(st:visit(st:trace, st:silent, true))
     
     bind (st:apply-templates-with(orl:main)
     as ?res)

     bind(kg:unnest(st:visited()) as ?node)
     
}






© 2015 - 2025 Weber Informatics LLC | Privacy Policy