Question: How many 3D movies earned under 32000000 in Hong Kong dollars at the box office or were executive produced by David Duchovny ?
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> "3D film" .  { ?e <box_office> ?pv . ?pv <pred:unit> "Hong Kong dollar" . ?pv <pred:value> ?v . FILTER ( ?v < "32000000"^^xsd:double ) .  } UNION { ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "David Duchovny" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: box office
32000000 Hong Kong dollar
<
function: FilterConcept
dependencies: 1
inputs: 3D film
function: Find
inputs: David Duchovny
function: Relate
dependencies: 3
inputs: executive producer
backward
function: FilterConcept
dependencies: 4
inputs: 3D film
function: Or
dependencies: 2
5
function: Count
dependencies: 6