Question: What is the number of Italian communes that you can find in the Eastern European time zone or that is from Italy
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "comune of Italy" .  { ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Eastern European Time" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "Italy" .  } }
Program:
function: Find
inputs: Eastern European Time
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: FilterConcept
dependencies: 1
inputs: comune of Italy
function: Find
inputs: Italy
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: comune of Italy
function: Or
dependencies: 2
5
function: Count
dependencies: 6