Question: How many U.S. states whose population is less than 3700000 or that is located in the Central Time Zone?
Choices:
48
49
50
51
52
53
54
55
56
57
Answer: 48
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "3700000"^^xsd:double ) .  } UNION { ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Central Time Zone" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
3700000
<
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Find
inputs: Central Time Zone
function: Relate
dependencies: 3
inputs: located in time zone
backward
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6