Question: How many New York counties share a border with Warren County, the one whose official website is http://www.warrencountypa.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 New York" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Warren County" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.warrencountypa.net" .   }
Program:
function: Find
inputs: Warren County
function: FilterStr
dependencies: 0
inputs: official website
http://www.warrencountypa.net
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of New York
function: Count
dependencies: 3