Question: What is the GSS code (2011) of Stirling (the one whose area is 2187 square kilometre)?
Choices:
S12000030
E07000123
E06000028
E10000023
E10000014
W04000618
E04012360
E09000011
E92000001
N92000002
Answer: S12000030
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Stirling" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "2187"^^xsd:double . ?e <GSS_code_(2011)> ?pv .  }
Program:
function: Find
inputs: Stirling
function: FilterNum
dependencies: 0
inputs: area
2187 square kilometre
=
function: QueryAttr
dependencies: 1
inputs: GSS code (2011)