Question: Which one has a smaller area, West Bank or Newport (which has an area of 190 square kilometers)
Choices:
Greene County
Delaware County
Orange County
Cass County
West Bank
San Juan County
Lee County
African Union
Newport
Washoe County
Program:
function: Find
inputs: West Bank
function: Find
inputs: Newport
function: FilterNum
dependencies: 1
inputs: area
190 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Bank" . } UNION { ?e <pred:name> "Newport" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "190"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Newport