Question: Which area is larger, Americas or Bohemia (the one that is headed by monarch)?
Choices:
Bohemia
Antarctica
Africa
Atlantic Canada
Southern California
Americas
Lake District
Transylvania
South America
Pacific Ocean
Answer: Americas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Americas" .  } UNION { ?e <pred:name> "Bohemia" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "monarch" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Americas
function: Find
inputs: monarch
function: Relate
dependencies: 1
inputs: office held by head of government
backward
function: Find
inputs: Bohemia
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater