Question: Which area is smaller, Brittany (the one whose area is 27208 square kilometre) or Martinique?
Choices:
Tom Rosenberg
Santa Clara University
Corsica
blue-eyed soul
Martinique
new jack swing
Louvre Museum
CBS
Normandy
Brittany
Program:
function: Find
inputs: Brittany
function: FilterNum
dependencies: 0
inputs: area
27208 square kilometre
=
function: Find
inputs: Martinique
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brittany" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "27208"^^xsd:double . } UNION { ?e <pred:name> "Martinique" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Martinique