Question: HHow many counties of New York partially contain a mountain range that is partially contained by Franklin County (with the population of 50,660) ?
Choices: 6
7
8
9
10
11
12
13
14
15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New York" . ?e <partially_contains> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "mountain range" . ?e_2 <partially_contains> ?e_1 . ?e_2 <pred:name> "Franklin County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "50660"^^xsd:double .   }
Program:
function: Find
inputs: Franklin County
function: FilterNum
dependencies: 0
inputs: population
50660
=
function: Relate
dependencies: 1
inputs: partially contains
forward
function: FilterConcept
dependencies: 2
inputs: mountain range
function: Relate
dependencies: 3
inputs: partially contains
backward
function: FilterConcept
dependencies: 4
inputs: county of New York
function: Count
dependencies: 5
Answer: 7