What is {category of associated people} of {bordered by} of {County Londonderry} ?
What are the individuals that are bordered by Londonderry District called?
What are the people that are bordered by Londonderry County called?
SELECT ?v WHERE { resource:County_Londonderry property:shares_border_with ?x . ?x property:category_of_associated_people ?v }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q192208> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1792> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q192208 wdt:P47 ?X . ?X wdt:P1792 ?answer}
Category:People from County Donegal Category:People from County Antrim Category:People from County Tyrone