
xsparql.base.constructedDataset02.xsparql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xsparql-test-suite Show documentation
Show all versions of xsparql-test-suite Show documentation
XSPARQL compliance test suite
The newest version!
declare namespace foaf = "http://xmlns.com/foaf/0.1/";
let $x :=
for $person in doc("http://xsparql.deri.org/data/relations.xml")//person,
$nameA in $person/@name,
$nameB in $person/knows
construct
{ [ foaf:name {data($nameA)}; a foaf:Person ]
foaf:knows
[ foaf:name {data($nameB)}; a foaf:Person ]. }
return
for $name from $x
where { [] foaf:name $name }
construct { [] foaf:name $name }
© 2015 - 2025 Weber Informatics LLC | Privacy Policy