Question: How many time zones are abbreviated PHT or are in North America?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 8
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> "PHT" .  } UNION { ?e_1 <located_in_time_zone> ?e . ?e_1 <pred:name> "North America" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
PHT
function: FilterConcept
dependencies: 1
inputs: time zone
function: Find
inputs: North America
function: Relate
dependencies: 3
inputs: located in time zone
forward
function: FilterConcept
dependencies: 4
inputs: time zone
function: Or
dependencies: 2
5
function: Count
dependencies: 6