Question: Which one is smaller by area, Jefferson County (the one that is an administrative division of West Virginia) or Park County ?
Choices:
Park County
Delaware County
African Union
Greene County
Lee County
San Juan County
Jefferson County
Washoe County
Kent County
Cass County
Program:
function: Find
inputs: West Virginia
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Jefferson County
function: And
dependencies: 1
2
function: Find
inputs: Park County
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jefferson County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "West Virginia" .   } UNION { ?e <pred:name> "Park County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jefferson County