What is {is in the prefecture of} of {County Kerry}, that has {has districts} is {County Tipperary} ?
What District Kerry prefecture has District Tipperary districts?
What County Kerry prefecture has County Tipperary districts?
SELECT ?n WHERE { ?n property:contains_administrative_territorial_entity resource:County_Tipperary . resource:County_Kerry property:located_in_the_administrative_territorial_entity ?n }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q184469> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P150> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q184618> . }
SELECT ?answer WHERE { wd:Q184469 wdt:P131 ?answer . ?answer wdt:P150 wd:Q184618}
Munster