Question: How is Montreal Canadiens' draft pick Ron Carter related to Canada?
Choices:
parent organization
founded by
donated by
has contributing factor
affiliation
country of citizenship
item operated
said to be the same as
official color
movement
Program:
function: Find
inputs: Montreal Canadiens
function: Relate
dependencies: 0
inputs: drafted by
backward
function: Find
inputs: Ron Carter
function: And
dependencies: 1
2
function: Find
inputs: Canada
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ron Carter" . ?e_1 <drafted_by> ?e_3 . ?e_3 <pred:name> "Montreal Canadiens" . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship