Question: What is the total number of Arizona counties that either have a population under 12000000 or have the Placer County capital of Auburn as an administrative division?
Choices: 6
7
8
9
10
11
12
13
14
15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Arizona" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "12000000"^^xsd:double ) .  } UNION { ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Auburn" . ?e_2 <capital> ?e_1 . ?e_2 <pred:name> "Placer County" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
12000000
<
function: FilterConcept
dependencies: 1
inputs: county of Arizona
function: Find
inputs: Placer County
function: Relate
dependencies: 3
inputs: capital
forward
function: Find
inputs: Auburn
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 7
inputs: county of Arizona
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 11