Question: Is the smaller area occupied by Jamaica, belonging to the USA, or Venice, home of Emile Hirsch?
Choices:
Woodland Hills
Roxbury
Northridge
Venice
Astoria
Sherman Oaks
Pacific Palisades
Studio City
Monte Carlo
Jamaica
Answer: Jamaica
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jamaica" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Venice" . ?e_2 <residence> ?e . ?e_2 <pred:name> "Emile Hirsch" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Jamaica
function: And
dependencies: 1
2
function: Find
inputs: Emile Hirsch
function: Relate
dependencies: 4
inputs: residence
forward
function: Find
inputs: Venice
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less