What is the {animated film} for {based on} of {Twelfth Night}
[]
Name the animated film based on "Twelfth Night".
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:animated_film . ?d property:based_on resource:Twelfth_Night }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P144> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q221211> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q202866> } 
 select distinct ?sbj where { ?sbj wdt:P144 wd:Q221211 . ?sbj wdt:P31 wd:Q202866 } 