What is {Q48460} of {capital city} of {Kingdom of Italy} ?
Where is {Q48460} of {capital city} {Kingdom of Italy} ?
Where is {Q48460} of {capital city}  {Kingdom of Italy} ?
SELECT ?x WHERE { resource:Kingdom_of_Italy property:capital ?i . ?i property:Dewey_Decimal_Classification ?x }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q223936> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P36>. ?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/P1036> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q223936 wdt:P36 ?X . ?X wdt:P1036 ?answer}
2--45211