Question: Is the smaller area occupied by Pacific Palisades, home of J. J. Abrams, or Hollywood, where D. W. Griffith worked?
Choices:
Monte Carlo
Pacific Palisades
Northridge
Woodland Hills
Jamaica
Studio City
Astoria
Sherman Oaks
Hollywood
Encino
Answer: Pacific Palisades
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pacific Palisades" . ?e_1 <residence> ?e . ?e_1 <pred:name> "J. J. Abrams" .   } UNION { ?e <pred:name> "Hollywood" . ?e_2 <work_location> ?e . ?e_2 <pred:name> "D. W. Griffith" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: J. J. Abrams
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Pacific Palisades
function: And
dependencies: 1
2
function: Find
inputs: D. W. Griffith
function: Relate
dependencies: 4
inputs: work location
forward
function: Find
inputs: Hollywood
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less