
sttl.browser.resource.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.
The newest version!
prefix ft:
template {
coalesce(
st:format (
ft:triple.html,
us:display(?p),
if (isLiteral(?y), ?y,
st:format(ft:link.html, st:pplink(?y), us:display(?y)))
),
st:format (
ft:triple.html,
us:displayInverse(?q),
if (isLiteral(?x), ?x,
st:format(ft:link.html, st:pplink(?x), us:display(?x)))
)
)
}
where {
{?in ?p ?y} union {?x ?q ?in}
}
order by ?in us:sort(coalesce(?p, ?q), coalesce(?y, ?x)) coalesce(?p, ?q) coalesce(?y, ?x)
pragma {st:template st:priority 1000}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy