Question: How many communes are in the Kingdom of Italy (that was established on 1805-03-17) or are in the Central European Time zone?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: Kingdom of Italy
function: FilterDate
dependencies: 0
inputs: inception
1805-03-17
=
function: Relate
dependencies: 1
inputs: country
backward
function: FilterConcept
dependencies: 2
inputs: comune of Italy
function: Find
inputs: Central European Time
function: Relate
dependencies: 4
inputs: located in time zone
backward
function: FilterConcept
dependencies: 5
inputs: comune of Italy
function: Or
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "comune of Italy" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Kingdom of Italy" . ?e_1 <inception> ?pv . ?pv <pred:date> "1805-03-17"^^xsd:date .  } UNION { ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Central European Time" .  } }
Answer: 2