Question: What is the number of award ceremonies with the edition number 9 or that has point in time after 2009?
Choices:
12
13
14
15
16
17
18
19
20
21
Answer: 13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "award ceremony" .  { ?e <edition_number> ?pv . ?pv <pred:value> "9" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2009 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: edition number
9
function: FilterConcept
dependencies: 1
inputs: award ceremony
function: FindAll
function: FilterYear
dependencies: 3
inputs: point in time
2009
>
function: FilterConcept
dependencies: 4
inputs: award ceremony
function: Or
dependencies: 2
5
function: Count
dependencies: 6