Question: off all the filming location in the city of new jersey of the film The Hurricane that had David Paymer in it , which one has the largest area
Choices:
Perth Amboy
Hoboken
Elizabeth
Paterson
Atlantic City
Trenton
Jersey City
Plainfield
Passaic
Bayonne
Program:
function: Find
inputs: David Paymer
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Hurricane
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
forward
function: FilterConcept
dependencies: 4
inputs: city in New Jersey
function: SelectAmong
dependencies: 5
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city in New Jersey" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "The Hurricane" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "David Paymer" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Paterson