What is {first name} of {John Lothrop Motley}, that has {equivalent of} is {Gianni} ?
What is the first title of John Lothrop Motley, that is the equal of Gianni?
What is the first name of John Lothrop Motley, that is the equivalent of Gianni?
SELECT ?e WHERE { ?e property:said_to_be_the_same_as resource:Gianni . resource:John_Lothrop_Motley property:given_name ?e }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q689281> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P735>. ?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/P460> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q18393856> . }
SELECT ?answer WHERE { wd:Q689281 wdt:P735 ?answer . ?answer wdt:P460 wd:Q18393856}
John