Question: Which area is larger, Omaha or Chico (the one that is located in Butte County)?
Choices:
New Haven
Columbus
Compton
Boulder
Chico
Lansing
Franklin
Greenville
Omaha
Oakland
Program:
function: Find
inputs: Omaha
function: Find
inputs: Butte County
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Chico
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Omaha" .  } UNION { ?e <pred:name> "Chico" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Butte County" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Omaha