Question: Which one has less area between Studio City and Hollywood (the one that is the residence of Peter Cushing)?
Choices:
Studio City
Monte Carlo
Jamaica
Astoria
Northridge
Roxbury
Sherman Oaks
Pacific Palisades
Hollywood
Woodland Hills
Program:
function: Find
inputs: Studio City
function: Find
inputs: Peter Cushing
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Hollywood
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Studio City" .  } UNION { ?e <pred:name> "Hollywood" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Peter Cushing" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hollywood