What is {work} of {authors} of {The Legend of Sleepy Hollow} ?
Who is the author of The Legend of Sleepy Hollow?
Who wrote The Legend of Sleepy Hollow?
SELECT ?l WHERE { resource:The_Legend_of_Sleepy_Hollow property:author ?z . ?z property:occupation ?l }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q72309> . ?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/P106> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q72309 wdt:P50 ?X . ?X wdt:P106 ?answer}
writer lawyer politician diplomat historian playwright biographer journalist novelist essayist