Question: How many Virginia counties have a population of 29000 and border Alexandria whose Dewey Decimal Classification is 2--755296?
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 Virginia" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "29000"^^xsd:double . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Alexandria" . ?e_1 <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--755296" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
29000
=
function: FilterConcept
dependencies: 1
inputs: county of Virginia
function: Find
inputs: Alexandria
function: FilterStr
dependencies: 3
inputs: Dewey Decimal Classification
2--755296
function: Relate
dependencies: 4
inputs: shares border with
backward
function: FilterConcept
dependencies: 5
inputs: county of Virginia
function: And
dependencies: 2
6
function: Count
dependencies: 7
Answer: 0