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

sttl.spintc.template.bind.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 sp:  

template {
  ?suc
}
where {
  
  ?a rdf:rest+ ?b
  ?b rdf:first ?f
  
  ?f a sp:Bind ; sp:variable ?v
  ?v sp:varName ?n
   
  bind (
    not exists { 
	     ?a rdf:rest* ?c 
	     ?c rdf:rest* ?b
	     filter (?b != ?c)
	     ?c rdf:first ?d
	     filter st:call-template(st:bound, ?d, ?n) 
	     }
    as ?suc)
  
   filter (st:visit(st:fail, ?f, ?suc))
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy