Question: How many films were either titled Annie Hall or had a box office not equal to 350000000 US dollars?
Choices: 385
386
387
388
389
390
391
392
393
394
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" .  { ?e <title> ?pv . ?pv <pred:value> "Annie Hall" .  } UNION { ?e <box_office> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v != "350000000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Annie Hall
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterNum
dependencies: 3
inputs: box office
350000000 United States dollar
!=
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 389