Question: Is the area occupied by Ypsilanti or by Rochester, Waterford's twinned administrative body, the smaller of the two?
Choices:
Columbus
Ypsilanti
Compton
Greenville
Waukegan
Rochester
Boulder
Oakland
Franklin
New Haven
Program:
function: Find
inputs: Ypsilanti
function: Find
inputs: Waterford
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Rochester
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ypsilanti" .  } UNION { ?e <pred:name> "Rochester" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Waterford" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ypsilanti