Question: How many time zones that are in San Marino, which has diplomatic ties to Serbia, are also in Salem, of zip code 97314?
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> "time zone" . ?e_1 <located_in_time_zone> ?e . ?e_1 <pred:name> "San Marino" . ?e_2 <diplomatic_relation> ?e_1 . ?e_2 <pred:name> "Serbia" .  ?e_3 <located_in_time_zone> ?e . ?e_3 <pred:name> "Salem" . ?e_3 <postal_code> ?pv . ?pv <pred:value> "97314" .  }
Program:
function: Find
inputs: Serbia
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: San Marino
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in time zone
forward
function: FilterConcept
dependencies: 4
inputs: time zone
function: Find
inputs: Salem
function: FilterStr
dependencies: 6
inputs: postal code
97314
function: Relate
dependencies: 7
inputs: located in time zone
forward
function: FilterConcept
dependencies: 8
inputs: time zone
function: And
dependencies: 5
9
function: Count
dependencies: 10
Answer: 0