Question: For Iron Man 2 (the one whose publication date is 2010-04-19), how many mathematics include it as a part?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mathematics" . ?e <has_part> ?e_1 . ?e_1 <pred:name> "Iron Man 2" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2010-04-19"^^xsd:date .   }
Program:
function: Find
inputs: Iron Man 2
function: FilterDate
dependencies: 0
inputs: publication date
2010-04-19
=
function: Relate
dependencies: 1
inputs: has part
backward
function: FilterConcept
dependencies: 2
inputs: mathematics
function: Count
dependencies: 3