Question: How many Arizona counties have the capital Akron (whose local area code is 330 - 234) or share a border with Jefferson County (whose official website is http://www.louisvilleky.gov)?
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 Arizona" .  { ?e <capital> ?e_1 . ?e_1 <pred:name> "Akron" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> "330 - 234" .  } UNION { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Jefferson County" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.louisvilleky.gov" .  } }
Program:
function: Find
inputs: Akron
function: FilterStr
dependencies: 0
inputs: local dialing code
330 - 234
function: Relate
dependencies: 1
inputs: capital
backward
function: FilterConcept
dependencies: 2
inputs: county of Arizona
function: Find
inputs: Jefferson County
function: FilterStr
dependencies: 4
inputs: official website
http://www.louisvilleky.gov
function: Relate
dependencies: 5
inputs: shares border with
backward
function: FilterConcept
dependencies: 6
inputs: county of Arizona
function: Or
dependencies: 3
7
function: Count
dependencies: 8
Answer: 0