Question: How many New Jersey counties have the captital Bedford whose area is 39.42 square miles and whose FIPS 6-4 (US counties) is 34023?
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 New Jersey" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Bedford" . ?e_1 <area> ?pv . ?pv <pred:unit> "square mile" . ?pv <pred:value> "39.42"^^xsd:double .  ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "34023" .  }
Program:
function: Find
inputs: Bedford
function: FilterNum
dependencies: 0
inputs: area
39.42 square mile
=
function: Relate
dependencies: 1
inputs: capital
backward
function: FilterConcept
dependencies: 2
inputs: county of New Jersey
function: FindAll
function: FilterStr
dependencies: 4
inputs: FIPS 6-4 (US counties)
34023
function: FilterConcept
dependencies: 5
inputs: county of New Jersey
function: And
dependencies: 3
6
function: Count
dependencies: 7
Answer: 0