Question: How many public offices in the U.S. that have jurisdiction over Kentucky whose area is 104659 square kilometres?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public office" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e <applies_to_jurisdiction> ?e_2 . ?e_2 <pred:name> "Kentucky" . ?e_2 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "104659"^^xsd:double .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: public office
function: Find
inputs: Kentucky
function: FilterNum
dependencies: 3
inputs: area
104659 square kilometre
=
function: Relate
dependencies: 4
inputs: applies to jurisdiction
backward
function: FilterConcept
dependencies: 5
inputs: public office
function: And
dependencies: 2
6
function: Count
dependencies: 7