
webapp.data.query.display.property.rq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of corese-server Show documentation
Show all versions of corese-server Show documentation
Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1
Query and Update.
The newest version!
select *
where {
{select distinct ?x where { ?x a ?c }}
?x ?p ?v
filter (?p not in ( rdf:type, rdfs:subClassOf))
bind (us:value(?x, ?p, ?v) as ?t)
bind (st:setclass(?x, "individual") as ?i)
}
function us:value(?x, ?p, ?v) {
st:cset(us:value, ?x, concat(coalesce(concat(st:cget(us:value, ?x), "; "), ""),
st:turtle(?p), " = ", if (isURI(?v), st:turtle(?v), replace(?v, "\"", "\\\\\"") ) ) )
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy