Question: How many musicals are a derivative work of Beauty and the Beast (the one whose narrator is David Ogden Stiers)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) 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 <narrator> ?e_2 . ?e_2 <pred:name> "David Ogden Stiers" .   }
Program:
function: Find
inputs: David Ogden Stiers
function: Relate
dependencies: 0
inputs: narrator
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: musical
function: Count
dependencies: 5
Answer: 1