Question: How many counties of California are located on terrain feature Southern California or are the location of Palomar Observatory?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Southern California
function: Relate
dependencies: 0
inputs: located on terrain feature
backward
function: FilterConcept
dependencies: 1
inputs: county of California
function: Find
inputs: Palomar Observatory
function: Relate
dependencies: 3
inputs: location
forward
function: FilterConcept
dependencies: 4
inputs: county of California
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> "county of California" .  { ?e <located_on_terrain_feature> ?e_1 . ?e_1 <pred:name> "Southern California" .  } UNION { ?e_1 <location> ?e . ?e_1 <pred:name> "Palomar Observatory" .  } }
Answer: 2