Question: Tell me the geographic region that has the Dewey Decimal Classification of 2-41132 or that is located in or next to Mendocino County.
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" .  { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--41132" .  } UNION { ?e_1 <located_in_or_next_to_body_of_water> ?e . ?e_1 <pred:name> "Mendocino County" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--41132
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Find
inputs: Mendocino County
function: Relate
dependencies: 3
inputs: located in or next to body of water
forward
function: FilterConcept
dependencies: 4
inputs: geographic region
function: Or
dependencies: 2
5
function: Count
dependencies: 6