1PREFIX ex: <http://example.org/ns#> 2PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 3PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 4SELECT ?x 5WHERE { 6 ex:a ?x ex:c . ?x rdfs:subPropertyOf ex:p . 7} 8 9
1PREFIX ex: <http://example.org/ns#> 2PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 3PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 4SELECT ?x 5WHERE { 6 ex:a ?x ex:c . ?x rdfs:subPropertyOf ex:p . 7} 8 9