Question: What movie was Twelfth Night based on?
Paraphrase: What motion picture was Twelfth Night dependent on?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P144 wd:Q221211 . ?sbj wdt:P31 wd:Q11424 } 
Answer: She's the Man, Twelfth Night (1996 film), Twelfth Night, Twelfth Night, Twelfth Night