Perform X3D Ontology query X3dHelloWorldQuery_02.rq using examples/HelloWorld.ttl to produce output file X3dHelloWorldQuery_02.rq.txt: =========================== PREFIX rdf: PREFIX rdfs: PREFIX owl: PREFIX xsd: PREFIX x3d: PREFIX x3do: # X3dHelloWorldQuery_02.rq Query HelloWorld.ttl to show url values within an ImageTexture node. # TODO fix textureUrlSplit for readability ############################################### SELECT ?textureNode ?textureUrl # ?texture textureUrlSplit WHERE { ?texture rdf:type x3do:ImageTexture ; x3do:url ?textureUrl . BIND (strafter(xsd:string(?texture),"#") AS ?textureNode) BIND (REPLACE(STR(?textureUrl), " ", " ") AS ?textureUrlSplit) . # not working: \n \u000A } ORDER BY ASC(?textureUrl) ############################################### -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | textureNode | textureUrl | ============================================================================================================================================================================================================================================================================================================== | "ImageCloudlessEarth" | "\"earth-topo.png\" \"earth-topo.jpg\" \"earth-topo-small.gif\" \"https://www.web3d.org/x3d/content/examples/Basic/earth-topo.png\" \"https://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg\" \"https://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif\"" | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------