Question: Which area is smaller, Rotorua or Johnson County (the one that is located in Iowa)?
Choices:
Greene County
Cass County
Johnson County
Kent County
Rotorua
San Juan County
African Union
Orange County
Lee County
Delaware County
Answer: Johnson County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rotorua" .  } UNION { ?e <pred:name> "Johnson County" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Iowa" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Rotorua
function: Find
inputs: Iowa
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Johnson County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less