What is {twin cities} of {Trento}, that has {farthest north} is {50.17743 14.52686} ?
What are the twin cities of Trento, which is farthest north at 50.17743 14.52686?
What are the twin  cities of Trento, which is farthest north at 50.17743 14.52686?
SELECT ?c WHERE { resource:Trento property:twinned_administrative_body ?c . ?c property:coordinates_of_northernmost_point ?d . FILTER ( CONTAINS ( ?d , '50.17743 14.52686' ) ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3376> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190>. ?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/P1332> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <50.17743 14.52686> . }
SELECT ?answer WHERE { wd:Q3376 wdt:P190 ?answer . ?answer wdt:P1332 ?x FILTER(contains(?x , '50.17743 14.52686'))}