Question: How many census-designated places are the capital of Inyo County or have a population count below 1300?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "census-designated place" .  { ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Inyo County" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "1300"^^xsd:double ) .  } }
Program:
function: Find
inputs: Inyo County
function: Relate
dependencies: 0
inputs: capital of
backward
function: FilterConcept
dependencies: 1
inputs: census-designated place
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
1300
<
function: FilterConcept
dependencies: 4
inputs: census-designated place
function: Or
dependencies: 2
5
function: Count
dependencies: 6