Question: Does Meridian, where Diane Ladd was born, or West Hollywood occupy a smaller space?
Choices:
Waukegan
Compton
Columbus
West Hollywood
Meridian
Lansing
Boulder
Oakland
Franklin
Greenville
Program:
function: Find
inputs: Diane Ladd
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Meridian
function: And
dependencies: 1
2
function: Find
inputs: West Hollywood
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Meridian" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Diane Ladd" .   } UNION { ?e <pred:name> "West Hollywood" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: West Hollywood