Question: How is Kenny Rogers (the one belonging to the United States) related to the New York Yankees?
Choices:
member of sports team
honorific prefix
dissertation submitted to
award disciplines or subjects
mountain range
license
nutrient
signatory
participant
grants
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: Kenny Rogers
function: And
dependencies: 1
2
function: Find
inputs: New York Yankees
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kenny Rogers" . ?e_1 <country_for_sport> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "New York Yankees" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team