Question: How many US states have a population other than 13000 or are in the Pacific Time Zone?
Choices:
41
42
43
44
45
46
47
48
49
50
Answer: 50
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 != "13000"^^xsd:double ) .  } UNION { ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Pacific Time Zone" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
13000
!=
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Find
inputs: Pacific 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