Question: Is Asia (the continent with Malaysia) or Antarctica (FIPS 10-4 countries and regions is AY) smaller by area?
Choices: Caribbean
Pacific Ocean
Piedmont
South America
Asia
Transylvania
Africa
Atlantic Canada
Lake District
Antarctica
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Asia" . ?e_1 <continent> ?e . ?e_1 <pred:name> "Malaysia" . } UNION { ?e <pred:name> "Antarctica" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "AY" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Malaysia
function: Relate
dependencies: 0
inputs: continent
forward
function: Find
inputs: Asia
function: And
dependencies: 1
2
function: Find
inputs: Antarctica
function: FilterStr
dependencies: 4
inputs: FIPS 10-4 (countries and regions)
AY
function: SelectBetween
dependencies: 3
5
inputs: area
less
Answer: Antarctica