Question: Which one has more prominent area,Studio City or Pacific Palisades(the one that offers border with Santa Monica)
Choices:
Van Nuys
Monte Carlo
Sherman Oaks
Astoria
Jamaica
Studio City
Pacific Palisades
Northridge
Roxbury
Woodland Hills
Program:
function: Find
inputs: Studio City
function: Find
inputs: Santa Monica
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Pacific Palisades
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Studio City" .  } UNION { ?e <pred:name> "Pacific Palisades" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Santa Monica" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Studio City