Question: Which area is smaller, Inyo County or Orange County (the one that contains Costa Mesa)?
Choices:
Solano County
Inyo County
Tuolumne County
San Diego County
Mariposa County
Alameda County
San Mateo County
Orange County
Butte County
Contra Costa County
Answer: Orange County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Inyo County" .  } UNION { ?e <pred:name> "Orange County" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Costa Mesa" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Inyo County
function: Find
inputs: Costa Mesa
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Orange County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less