Question: How many Ohio counties occupy under 7500000 square km or partly include Redding?
Choices:
25
26
27
28
29
30
31
32
33
34
Answer: 28
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ohio" .  { ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v < "7500000"^^xsd:double ) .  } UNION { ?e <partially_contains> ?e_1 . ?e_1 <pred:name> "Redding" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
7500000 square kilometre
<
function: FilterConcept
dependencies: 1
inputs: county of Ohio
function: Find
inputs: Redding
function: Relate
dependencies: 3
inputs: partially contains
backward
function: FilterConcept
dependencies: 4
inputs: county of Ohio
function: Or
dependencies: 2
5
function: Count
dependencies: 6