Question: How many awards whose headquarter location is Naperville or whose inception time is after 1952?
Choices:
101
102
103
104
105
106
107
108
109
110
Answer: 101
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "award" .  { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Naperville" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1952 ) .  } }
Program:
function: Find
inputs: Naperville
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: FilterConcept
dependencies: 1
inputs: award
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1952
>
function: FilterConcept
dependencies: 4
inputs: award
function: Or
dependencies: 2
5
function: Count
dependencies: 6