Question: Which New York city is the birthplace of Elmira-native Mark Williams as well as Hal Roach?
Choices:
Ithaca
Troy
Glens Falls
Utica
Auburn
Yonkers
Syracuse
Elmira
Glen Cove
Long Beach
Answer: Elmira
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of New York" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Mark Williams" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> "Elmira" .  ?e_3 <place_of_birth> ?e . ?e_3 <pred:name> "Hal Roach" .  }
Program:
function: Find
inputs: Elmira
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Mark Williams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city of New York
function: Find
inputs: Hal Roach
function: Relate
dependencies: 6
inputs: place of birth
forward
function: FilterConcept
dependencies: 7
inputs: city of New York
function: And
dependencies: 5
8
function: What
dependencies: 9