Question: Does the Pacific Ocean or Asia (demonym asiatisch) occupy a smaller area?
Choices:
Southern California
Caribbean
Piedmont
Antarctica
Africa
Pacific Ocean
Transylvania
Asia
Lake District
Atlantic Canada
Program:
function: Find
inputs: Pacific Ocean
function: Find
inputs: Asia
function: FilterStr
dependencies: 1
inputs: demonym
asiatisch
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pacific Ocean" . } UNION { ?e <pred:name> "Asia" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "asiatisch" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Asia