Question: Tell me the relation between Ryan Murphy (who is a member of Carolina Hurricanes) and Canada.
Choices:
talk show guest
characters
edition or translation of
practiced by
home port
official color
facet of
from fictional universe
properties for this type
country of citizenship
Program:
function: Find
inputs: Carolina Hurricanes
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Ryan Murphy
function: And
dependencies: 1
2
function: Find
inputs: Canada
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ryan Murphy" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Carolina Hurricanes" . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship