Question: What is the number of feature films that are distributed in the United Kingdom and have a box office that is not 150000000 United States dollars?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <film_distribute_region> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  ?e <box_office> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v != "150000000"^^xsd:double ) .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: film distribute region
backward
function: FilterConcept
dependencies: 1
inputs: feature film
function: FindAll
function: FilterNum
dependencies: 3
inputs: box office
150000000 United States dollar
!=
function: FilterConcept
dependencies: 4
inputs: feature film
function: And
dependencies: 2
5
function: Count
dependencies: 6