Perform X3D Ontology query X3dSanCarlosCathedralAltarQuery_01.rq using examples/Altar.ttl to produce output file X3dSanCarlosCathedralAltarQuery_01.rq.txt: =========================== PREFIX rdf: PREFIX rdfs: PREFIX owl: PREFIX xsd: PREFIX x3d: PREFIX x3do: # X3dSanCarlosCathedralAltarQuery_01.rq Query Altar.ttl to count numberShapes ############################################### # Every X3D knowledge base can be subject to semantic queries. # The following SPARQL query provides the number of shapes composing the altar. # The result of the query is: 14. SELECT (count(distinct ?shape) as ?numberShapes) WHERE { ?shape rdf:type x3do:Shape . } ############################################### ---------------- | numberShapes | ================ | 14 | ----------------