SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/author> <http://dbpedia.org/resource/Miguel_de_Cervantes> . ?x <http://dbpedia.org/ontology/basedOn> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Musical>}
Miguel de Cervantes wrote the musical extended from which book?
SELECT DISTINCT ?u WHERE { ?a property:based_on ?u . ?a rdf:type ontology:Musical . ?a property:author resource:Miguel_de_Cervantes }
Don Quixote
The work where the musical authored by Miguel de Cervantes was based is [Don Quixote].
The piece on which the musical, written by Ophelia de Cervantes, is based, is called Don Quixote.
[Don Quixote] is the extended from of the musical whose authors is him .
[Don Quixote] is a sequel to the musical he wrote.