What is {first name} of {James Hargreaves}, that has {same} is {Yakub} ?
What is the primary title of this individual James Hargreaves?
What is the first name of this person James Hargreaves?
SELECT ?s WHERE { resource:James_Hargreaves property:given_name ?s . ?s property:said_to_be_the_same_as resource:Yakub }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q140696> . ?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/Q4537101> . }
SELECT ?answer WHERE { wd:Q140696 wdt:P735 ?answer . ?answer wdt:P460 wd:Q4537101}
James