Question: Which New Jersey county has the captital city of New Jersey with the postal code of 07510?
Choices:
Passaic County
Union County
Hudson County
Hunterdon County
Bergen County
Burlington County
Middlesex County
Ocean County
Gloucester County
Cumberland County
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
07510
function: FilterConcept
dependencies: 1
inputs: city in New Jersey
function: Relate
dependencies: 2
inputs: capital
backward
function: FilterConcept
dependencies: 3
inputs: county of New Jersey
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New Jersey" . ?e <capital> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city in New Jersey" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "07510" .   }
Answer: Passaic County