Example: Iterate over parents of a node
This example demonstrates retrieving the parents of a starting node. In this case, we start at the Emu node, and retrieve its two parents.
<vbox datasources="animals.rdf" ref="http://www.some-fictitious-zoo.com/birds/emu"> <template> <rule> <conditions> <content uri="?uri"/> <member container="?parent" child="?uri"/> <triple subject="?parent" predicate="http://www.some-fictitious-zoo.com/rdf#name" object="?name"/> </conditions> <action> <label uri="?parent" value="?name"/> </action> </rule> </template> </vbox>