Question: Which capitals share a border with Haryana, which has an area of 44212 square kilometers?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Haryana" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "44212"^^xsd:double .   }
Program:
function: Find
inputs: Haryana
function: FilterNum
dependencies: 0
inputs: area
44212 square kilometre
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: capital
function: Count
dependencies: 3
Answer: 1