Question: How many award ceremonies either have the edition number of 16 or took place after 2005?
Choices: 22
23
24
25
26
27
28
29
30
31
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> "16" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2005 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: edition number
16
function: FilterConcept
dependencies: 1
inputs: award ceremony
function: FindAll
function: FilterYear
dependencies: 3
inputs: point in time
2005
>
function: FilterConcept
dependencies: 4
inputs: award ceremony
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 22