What is {eponym} of {O'Hare International Airport}, that has {sister city} is {Vilnius} ?
What is the eponym of O'Hare International Airport that has a sister city, Vilnius?
What is the eponym of O'Hare International Airport that has a sister city, Vilnius?
SELECT ?h WHERE { resource:O'Hare_International_Airport property:named_after ?h . ?h property:twinned_administrative_body resource:Vilnius }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q213717> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P138>. ?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/P190> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q216> . }
SELECT ?answer WHERE { wd:Q213717 wdt:P138 ?answer . ?answer wdt:P190 wd:Q216}
Chicago