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

query.produce.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, Shacl. STTL. LDScript.

The newest version!
#
# xt:produce() emulate Producer: return query edge as target edge
#
select * where {
  {?x foaf:name ?n ;
  foaf:knows 
  optional { ?x foaf:knows  }}
  union { ?x foaf:name 'Jim' }
  filter exists { ?x foaf:knows  }
}

function xt:produce(?q) {
  kg:display(?q) ;
  xt:list(?q)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy