Question: What is the length of Cyprus (the one whose width is 90 kilometre)?
Choices:
492 kilometre
2557 foot
259 kilometre
644 kilometre
12079 foot
2340 mile
8981 foot
7864 foot
225 kilometre
22 inch
Program:
function: Find
inputs: Cyprus
function: FilterNum
dependencies: 0
inputs: width
90 kilometre
=
function: QueryAttr
dependencies: 1
inputs: length
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Cyprus" . ?e <width> ?pv_1 . ?pv_1 <pred:unit> "kilometre" . ?pv_1 <pred:value> "90"^^xsd:double . ?e <length> ?pv .  }
Answer: 225 kilometre