What is {first name} of {John J. Pershing}, that has {the same as} is {Ioann} ?
"What is the {first name} of {John J. Pershing, which skill {the identical as} the title {Loann}?"
"What is the {first name} of {John J. Pershing, which means {the same as} the name {Loann}?"
SELECT ?a WHERE { ?a property:said_to_be_the_same_as resource:Ioann . resource:John_J._Pershing property:given_name ?a }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q272383> . ?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/Q17125945> . }
SELECT ?answer WHERE { wd:Q272383 wdt:P735 ?answer . ?answer wdt:P460 wd:Q17125945}
John