What is {hometown} of {Alan Arkin}, that has {partner city} is {Podgorica} ?
"Which is {hometown} of {Alan Arkin}, whose {accomplice city} is {Podgorica} ?"
"Which is {hometown} of {Alan Arkin}, whose {partner city} is {Podgorica} ?"
SELECT ?a WHERE { resource:Alan_Arkin property:residence ?a . ?a property:twinned_administrative_body resource:Podgorica }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q108283> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P551>. ?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/Q23564> . }
SELECT ?answer WHERE { wd:Q108283 wdt:P551 ?answer . ?answer wdt:P190 wd:Q23564}
Los Angeles