Question: Which musical is based on the Beauty and the Beast with the official website movies.disney.com/beauty-and-the-beast?
Choices:
Beauty and the Beast
Oklahoma!
Sweeney Todd: The Demon Barber of Fleet Street
Chicago
Aladdin
West Side Story
The Producers
South Pacific
The Sound of Music
Guys and Dolls
Answer: Beauty and the Beast
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "musical" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Beauty and the Beast" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://movies.disney.com/beauty-and-the-beast" .   }
Program:
function: Find
inputs: Beauty and the Beast
function: FilterStr
dependencies: 0
inputs: official website
http://movies.disney.com/beauty-and-the-beast
function: Relate
dependencies: 1
inputs: derivative work
forward
function: FilterConcept
dependencies: 2
inputs: musical
function: What
dependencies: 3