Table 5 Example competency question testing evidence
From: Robust requirements gathering for ontologies in smart water systems
Natural language question |
What is Pipe X’s material? |
SPARQL query |
PREFIX wis: < https://www.WISDOM.org/WISDOMontology# > PREFIX rdf: < https://www.w3.org/1999/02/22-rdf-syntax-ns# > PREFIX dul: < https://www.loa-cnr.it/ontologies/DUL.owl# > SELECT ?material WHERE { wis:Pipe_01 rdf:type wis:Main wis:Pipe_01 wis:hasMaterial ?material} |
Output (CSV format) |
material wis:PVC |