Question: Is the area greater for Hastings, whose country is the United States of America, or Pueblo?
Choices:
New Haven
Columbus
Franklin
Oakland
Lansing
Waukegan
Greenville
Pueblo
Compton
Boulder
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Hastings
function: And
dependencies: 1
2
function: Find
inputs: Pueblo
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hastings" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Pueblo" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Pueblo