Perform X3D Ontology query X3dSanCarlosCathedralAltarQuery_02.rq using examples/Altar.ttl to produce output file X3dSanCarlosCathedralAltarQuery_02.rq.txt: =========================== PREFIX rdf: PREFIX rdfs: PREFIX owl: PREFIX xsd: PREFIX x3d: PREFIX x3do: # X3dSanCarlosCathedralAltarQuery_02.rq Query Altar.ttl for texture url values. ############################################### # Every X3D knowledge base can be subject to semantic queries. # The following query provides the url addresses of all textures used within the scene. # The result is the wood texture: ../Wood.jpg (cf. Listing 3, line 18) SELECT ?appearanceNode ?textureUrl WHERE { ?appearance x3do:hasTexture ?texture . ?texture x3do:url ?textureUrl . BIND (strafter(xsd:string(?appearance),"#") AS ?appearanceNode) } ORDER BY ASC(?textureUrl) ############################################### ------------------------------------------------------------------------------------------------------------------------------------------- | appearanceNode | textureUrl | =========================================================================================================================================== | "WoodAppearance" | "\"images/Wood.jpg\" \"https://x3dgraphics.com/examples/X3dForAdvancedModeling/SanCarlosCathedral/images/Wood.jpg\"" | -------------------------------------------------------------------------------------------------------------------------------------------