Question: Jon Bon Jovi was born in which New Jersey city?
Choices:
Newark
Hoboken
Jersey City
Perth Amboy
East Orange
Paterson
Passaic
Hackensack
Elizabeth
Atlantic City
Program:
function: Find
inputs: Jon Bon Jovi
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: city in New Jersey
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city in New Jersey" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Jon Bon Jovi" .   }
Answer: Perth Amboy