
xsparql.tmp.initial.howmyfriendsknoweachother2_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
{
_:a foaf:name {data($nameA)}.
_:a a foaf:Person.
_:a foaf:knows _:b.
_:b foaf:name {data($nameB)}.
_:b a foaf:Person.
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy