Question: Who is the {written work} for {based on} of {Forrest Gump}
SPARQL (Wikidata):  select distinct ?obj where { wd:Q134773 wdt:P144 ?obj . ?obj wdt:P31 wd:Q47461344 }