PREFIX rdf: PREFIX rdfs: PREFIX owl: PREFIX xsd: PREFIX x3d: PREFIX x3do: # X3dHelloWorldQuery_03.rq Query HelloWorld.ttl to show title given to model within a WorldInfo node. ############################################### SELECT ?WorldInfoNode ?title ?parentNode WHERE { ?WorldInfo rdf:type x3do:WorldInfo ; x3do:title ?title ; x3do:hasParent ?parent . BIND (strafter(xsd:string(?WorldInfo),"#") AS ?WorldInfoNode) BIND (strafter(xsd:string(?parent),"#") AS ?parentNode) } ############################################### -------------------------------------------------------------------------- | WorldInfoNode | title | parentNode | ========================================================================== | "WorldInfo_2_1" | "HANIM 2.0 Default Joint Centers, LOA0" | "Scene" | --------------------------------------------------------------------------