Question: How many Italian communes belong to the country Italy or are in the Newfoundland Standard time zone?
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> "Newfoundland Standard time" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "Italy" .  } }
Program:
function: Find
inputs: Newfoundland Standard 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