Question: How many Florida counties are located in the Pacific Time Zone and whose country is Dominica?
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> "county of Florida" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Pacific Time Zone" .  ?e <country> ?e_2 . ?e_2 <pred:name> "Dominica" .  }
Program:
function: Find
inputs: Pacific Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: FilterConcept
dependencies: 1
inputs: county of Florida
function: Find
inputs: Dominica
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: county of Florida
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0