Question: How many counties of California are the location of the movie theater or were founded before 1853?
Choices: 21
22
23
24
25
26
27
28
29
30
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of California" .  { ?e_1 <location> ?e . ?e_1 <pred:name> "movie theater" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1853 ) .  } }
Program:
function: Find
inputs: movie theater
function: Relate
dependencies: 0
inputs: location
forward
function: FilterConcept
dependencies: 1
inputs: county of California
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1853
<
function: FilterConcept
dependencies: 4
inputs: county of California
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 26