Question: What number of Florida counties have a population smaller than 620000 or is an administrative division of Florida?
Choices:
18
19
20
21
22
23
24
25
26
27
Answer: 19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Florida" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "620000"^^xsd:double ) .  } UNION { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Florida" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
620000
<
function: FilterConcept
dependencies: 1
inputs: county of Florida
function: Find
inputs: Florida
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: county of Florida
function: Or
dependencies: 2
5
function: Count
dependencies: 6