Question: Which area is larger in size, Middle East or Asia (the one that is the continent that Madurai locates)?
Choices:
Atlantic Canada
Asia
Southern California
South America
Piedmont
Pacific Ocean
Africa
Middle East
Lake District
Antarctica
Answer: Asia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Middle East" .  } UNION { ?e <pred:name> "Asia" . ?e_1 <continent> ?e . ?e_1 <pred:name> "Madurai" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Middle East
function: Find
inputs: Madurai
function: Relate
dependencies: 1
inputs: continent
forward
function: Find
inputs: Asia
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater