Question: Which area is smaller, Brittany (the one that is the origin of the name English Channel) or Antilles?
Choices:
Piedmont
Transylvania
Africa
Pacific Ocean
Brittany
Southern California
Antilles
Atlantic Canada
Lake District
Antarctica
Program:
function: Find
inputs: English Channel
function: Relate
dependencies: 0
inputs: named after
forward
function: Find
inputs: Brittany
function: And
dependencies: 1
2
function: Find
inputs: Antilles
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brittany" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "English Channel" .   } UNION { ?e <pred:name> "Antilles" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Brittany