Question: What is the association of Paul Guilfoyle (who was born in Jersey City) with Hollywood (that is the formation location of Sony Pictures Classics)?
Choices:
has quality
place of death
item operated
properties for this type
culture
heritage designation
author
field of this occupation
participant
allegiance
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Paul Guilfoyle" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Jersey City" . ?e_2 <pred:name> "Hollywood" . ?e_4 <location_of_formation> ?e_2 . ?e_4 <pred:name> "Sony Pictures Classics" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jersey City
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Paul Guilfoyle
function: And
dependencies: 1
2
function: Find
inputs: Sony Pictures Classics
function: Relate
dependencies: 4
inputs: location of formation
forward
function: Find
inputs: Hollywood
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7