Question: Which region has the larger land area, Paterson (in Passaic County) or Perth Amboy?
Choices:
Paterson
East Orange
Passaic
Jersey City
Perth Amboy
Hoboken
Bayonne
Plainfield
Atlantic City
Elizabeth
Answer: Paterson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Paterson" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Passaic County" .   } UNION { ?e <pred:name> "Perth Amboy" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Passaic County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Paterson
function: And
dependencies: 1
2
function: Find
inputs: Perth Amboy
function: SelectBetween
dependencies: 3
4
inputs: area
greater