Give me {position} that {vehicle normally used} {popemobile} and which contains the word {pope} in their name
WHAT IS THE POSITION OF VEHICLE NORMALLY USED IN POPEMOBILE THAT CONTAINS THE WORD POPE IN THEIR NAME
WHAT IS THE POSITION OF VEHICLE NORMALLY USED IN POPEMOBILE THAT CONTAINS THE WORD POPE IN THEIR NAME
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:position . ?t property:vehicle_normally_used resource:popemobile . FILTER ( CONTAINS ( LCASE ( ?t ) , 'pope' ) ) }
SELECT DISTINCT ?sbj ?sbj_label { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q4164871>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3438> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q739445>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'pope')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q4164871 . ?sbj wdt:P3438 wd:Q739445 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'pope')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 