What is {died in} of {Solon}, that has {twin city} is {Barcelona} ?
What has passed on in Solon which has the twin city Barcelona?
What has died in Solon which has the twin city Barcelona?
SELECT ?c WHERE { resource:Solon property:place_of_death ?c . ?c property:twinned_administrative_body resource:Barcelona }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q133337> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P20>. ?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/Q1492> . }
SELECT ?answer WHERE { wd:Q133337 wdt:P20 ?answer . ?answer wdt:P190 wd:Q1492}
Athens