Question: what is the number of capitals that is located in time zone the time zone that is the time zone of the EU (this statement has a time zone offset of 2 hours)
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> "capital" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "time zone" . ?e_2 <located_in_time_zone> ?e_1 . ?e_2 <pred:name> "European Union" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <located_in_time_zone> ; <pred:fact_t> ?e_1 ] <timezone_offset> ?qpv . ?qpv <pred:unit> "hour" . ?qpv <pred:value> "2"^^xsd:double .   }
Program:
function: Find
inputs: European Union
function: Relate
dependencies: 0
inputs: located in time zone
forward
function: QFilterNum
dependencies: 1
inputs: timezone offset
2 hour
=
function: FilterConcept
dependencies: 2
inputs: time zone
function: Relate
dependencies: 3
inputs: located in time zone
backward
function: FilterConcept
dependencies: 4
inputs: capital
function: Count
dependencies: 5
Answer: 3