What is {favorite player} of {written by} of {The Indian War of Independence} ?
Who is the favorite player of the writer of The Indian War of Independence?
In The Indian War of Independence, what is the favorite player of the writer?
SELECT ?w WHERE { ?p property:influenced_by ?w . resource:The_Indian_War_of_Independence property:author ?p }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7741873> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P50>. ?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/P737> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q7741873 wdt:P50 ?X . ?X wdt:P737 ?answer}
Giuseppe Mazzini