Question: How many North Carolina counties are in the time zone of Pleasantville (which is located in Eastern Time Zone)?
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 North Carolina" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "time zone" . ?e_2 <located_in_time_zone> ?e_1 . ?e_2 <pred:name> "Pleasantville" . ?e_2 <located_in_time_zone> ?e_3 . ?e_3 <pred:name> "Eastern Time Zone" .   }
Program:
function: Find
inputs: Eastern Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: Find
inputs: Pleasantville
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in time zone
forward
function: FilterConcept
dependencies: 4
inputs: time zone
function: Relate
dependencies: 5
inputs: located in time zone
backward
function: FilterConcept
dependencies: 6
inputs: county of North Carolina
function: Count
dependencies: 7
Answer: 2