Question: How many 3D films are there whose title is Avatar and box office is over 4000000000 Indian rupees?
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 <title> ?pv . ?pv <pred:value> "Avatar" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "Indian rupee" . ?pv_1 <pred:value> ?v . FILTER ( ?v > "4000000000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Avatar
function: FilterConcept
dependencies: 1
inputs: 3D film
function: FindAll
function: FilterNum
dependencies: 3
inputs: box office
4000000000 Indian rupee
>
function: FilterConcept
dependencies: 4
inputs: 3D film
function: And
dependencies: 2
5
function: Count
dependencies: 6