Question: How many North Carolina counties have an area of fewer than 310000 hectares or are located in the time zone of the Eastern Time Zone?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of North Carolina" .  { ?e <area> ?pv . ?pv <pred:unit> "hectare" . ?pv <pred:value> ?v . FILTER ( ?v < "310000"^^xsd:double ) .  } UNION { ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Eastern Time Zone" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
310000 hectare
<
function: FilterConcept
dependencies: 1
inputs: county of North Carolina
function: Find
inputs: Eastern Time Zone
function: Relate
dependencies: 3
inputs: located in time zone
backward
function: FilterConcept
dependencies: 4
inputs: county of North Carolina
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2