Question: What nubmer of movies were either published in 2002 or titled Cadillac Records?
Choices:
97
98
99
100
101
102
103
104
105
106
Answer: 100
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" .  { ?e <publication_date> ?pv . ?pv <pred:year> 2002 .  } UNION { ?e <title> ?pv . ?pv <pred:value> "Cadillac Records" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2002
=
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Cadillac Records
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: Or
dependencies: 2
5
function: Count
dependencies: 6