Question: How many time zones have the short name 'GMT' or have a timezone offset that is not equal to 5 hours?
Choices: 7
8
9
10
11
12
13
14
15
16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "time zone" .  { ?e <short_name> ?pv . ?pv <pred:value> "GMT" .  } UNION { ?e <timezone_offset> ?pv . ?pv <pred:unit> "hour" . ?pv <pred:value> ?v . FILTER ( ?v != "5"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
GMT
function: FilterConcept
dependencies: 1
inputs: time zone
function: FindAll
function: FilterNum
dependencies: 3
inputs: timezone offset
5 hour
!=
function: FilterConcept
dependencies: 4
inputs: time zone
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 12