Question: How many Washington counties border Douglas County whose official website is http://www.douglascountywa.net?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Washington" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Douglas County" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.douglascountywa.net" .   }
Program:
function: Find
inputs: Douglas County
function: FilterStr
dependencies: 0
inputs: official website
http://www.douglascountywa.net
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of Washington
function: Count
dependencies: 3