Question: Which area is smaller, Louisville or Brooklyn (the one that contains New York University Tandon School of Engineering)?
Choices:
Louisville
Franklin
Oakland
Waukegan
Boulder
Columbus
Greenville
New Haven
Brooklyn
Compton
Program:
function: Find
inputs: Louisville
function: Find
inputs: New York University Tandon School of Engineering
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Louisville" .  } UNION { ?e <pred:name> "Brooklyn" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "New York University Tandon School of Engineering" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Louisville