Question: What books are the Harry Potter movies based on?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P179 wd:Q8337 . ?sbj wdt:P31 wd:Q7725634 }