Question: Which area is smaller, Athens (the one that is the residence of Michael Stipe) or Oceanside?
Choices:
New Haven
Lansing
Oceanside
Franklin
Athens
Columbus
Greenville
Compton
Boulder
Oakland
Program:
function: Find
inputs: Michael Stipe
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Athens
function: And
dependencies: 1
2
function: Find
inputs: Oceanside
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Athens" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Michael Stipe" .   } UNION { ?e <pred:name> "Oceanside" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Oceanside