Question: Which area is smaller, Jefferson County (the one that contains the administrative division Beaumont) or Bexar County?
Choices:
Jefferson County
McLennan County
Bexar County
Brazoria County
Johnson County
Hidalgo County
Cameron County
Montgomery County
Dallas County
Travis County
Program:
function: Find
inputs: Beaumont
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: Jefferson County
function: And
dependencies: 1
2
function: Find
inputs: Bexar County
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jefferson County" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Beaumont" .   } UNION { ?e <pred:name> "Bexar County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jefferson County