sttl.rdfxml.triple.rq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of corese-core Show documentation
Show all versions of corese-core Show documentation
Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1
Query and Update.
#
# Generic template for triples
# Detect if object is a list
#
template st:triple(?in, ?p, ?y) {
if (?list,
st:call-template(st:listchoice, ?in, ?p, ?y),
st:apply-templates(?in, ?p, ?y))
}
where {
bind (isBlank(?y) && exists { ?y rdf:rest ?z }
as ?list)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy