Question: How many North Carolina counties are located in the Alaska Time Zone and border Greenville County?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
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:name> "Alaska Time Zone" .  ?e <shares_border_with> ?e_2 . ?e_2 <pred:name> "Greenville County" .  }
Program:
function: Find
inputs: Alaska Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: FilterConcept
dependencies: 1
inputs: county of North Carolina
function: Find
inputs: Greenville County
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: county of North Carolina
function: And
dependencies: 2
5
function: Count
dependencies: 6