Question: What number of musicals are derived from Aladdin (released 1993-11-18)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
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> "Aladdin" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1993-11-18"^^xsd:date .   }
Program:
function: Find
inputs: Aladdin
function: FilterDate
dependencies: 0
inputs: publication date
1993-11-18
=
function: Relate
dependencies: 1
inputs: derivative work
forward
function: FilterConcept
dependencies: 2
inputs: musical
function: Count
dependencies: 3