What is the {musical} for {based on} of {Twelfth Night}
What was the melodic Twelfth Night based on
What was the musical Twelfth Night based on
SELECT DISTINCT ?c WHERE { ?c property:based_on resource:Twelfth_Night . ?c rdf:type ontology:musical }
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/Q2743> } 
 select distinct ?sbj where { ?sbj wdt:P144 wd:Q221211 . ?sbj wdt:P31 wd:Q2743 } 
All Shook Up Play On!