
xsparql.tmp.initial.howmyfriendsknoweachother_lifting.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/";
for $knows in doc("howmyFriendsknoweachother.xml")//knows,
$nameA in $knows/Person[1]/@name,
$nameB in $knows/Person[2]/@name
construct
{
[ foaf:name {data($nameA)}; a foaf:Person ]
foaf:knows
[ foaf:name {data($nameB)}; a foaf:Person ].
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy