Question: What number of movies are titled Bob Roberts or not published in 2003?
Choices: 2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" .  { ?e <title> ?pv . ?pv <pred:value> "Bob Roberts" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2003 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Bob Roberts
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2003
!=
function: FilterConcept
dependencies: 4
inputs: film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2493