Question: Does Highland Park (that is the twin administrative body to Ferrara) or St. Joseph (that is an administrative division of Berrien County) have less land area?
Choices:
St. Joseph
New Haven
Columbus
Highland Park
Lansing
Compton
Waukegan
Oakland
Boulder
Franklin
Program:
function: Find
inputs: Ferrara
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Highland Park
function: And
dependencies: 1
2
function: Find
inputs: Berrien County
function: Relate
dependencies: 4
inputs: contains administrative territorial entity
forward
function: Find
inputs: St. Joseph
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Highland Park" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Ferrara" .   } UNION { ?e <pred:name> "St. Joseph" . ?e_2 <contains_administrative_territorial_entity> ?e . ?e_2 <pred:name> "Berrien County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: St. Joseph