Question: Which has less area, Europe or Brittany whose demonym is Breton?
Choices:
Piedmont
Atlantic Canada
Antarctica
Transylvania
South America
Pacific Ocean
Brittany
Lake District
Southern California
Africa
Program:
function: Find
inputs: Europe
function: Find
inputs: Brittany
function: FilterStr
dependencies: 1
inputs: demonym
Breton
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Europe" . } UNION { ?e <pred:name> "Brittany" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Breton" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Brittany