Question: Which has smaller area, Hollywood where Joseph Kish died or Studio City?
Choices:
Pacific Palisades
Encino
Jamaica
Astoria
Sherman Oaks
Monte Carlo
Woodland Hills
Hollywood
Northridge
Roxbury
Program:
function: Find
inputs: Joseph Kish
function: Relate
dependencies: 0
inputs: place of death
forward
function: Find
inputs: Hollywood
function: And
dependencies: 1
2
function: Find
inputs: Studio City
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hollywood" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Joseph Kish" .   } UNION { ?e <pred:name> "Studio City" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hollywood