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