Question: How many cities have an establishment date that is before 1793 or own Xerox?
Choices:
121
122
123
124
125
126
127
128
129
130
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1793
<
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: Xerox
function: Relate
dependencies: 3
inputs: owned by
forward
function: FilterConcept
dependencies: 4
inputs: city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1793 ) .  } UNION { ?e_1 <owned_by> ?e . ?e_1 <pred:name> "Xerox" .  } }
Answer: 122