Question: What is the connection between Carmelo Anthony to Brooklyn (the one that is the birthplace of Barbara Stanwyck)?
Choices:
source of income
destination point
fabrication method
parent astronomical body
work location
operating area
after a work by
designated as terrorist by
model item
place of birth
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carmelo Anthony" . ?e_2 <pred:name> "Brooklyn" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Barbara Stanwyck" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Carmelo Anthony
function: Find
inputs: Barbara Stanwyck
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4