Question: How many time zones have a Stack Exchange tag of https://stackoverflow.com/tags/gmt or a time zone of Victoria (the one that is the birthplace of Nelly Furtado)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "time zone" .  { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> "https://stackoverflow.com/tags/gmt" .  } UNION { ?e_1 <located_in_time_zone> ?e . ?e_1 <pred:name> "Victoria" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Nelly Furtado" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Stack Exchange tag
https://stackoverflow.com/tags/gmt
function: FilterConcept
dependencies: 1
inputs: time zone
function: Find
inputs: Nelly Furtado
function: Relate
dependencies: 3
inputs: place of birth
forward
function: Find
inputs: Victoria
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: located in time zone
forward
function: FilterConcept
dependencies: 7
inputs: time zone
function: Or
dependencies: 2
8
function: Count
dependencies: 9