Question: How is Billy Boyd of Luton Town F.C. related to the Scotland national football team?
Choices:
eye color
member of sports team
shares border with
located on terrain feature
author
mouth of the watercourse
ethnic group
organisation directed from the office or person
narrative location
killed by
Program:
function: Find
inputs: Luton Town F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Billy Boyd
function: And
dependencies: 1
2
function: Find
inputs: Scotland national football team
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Billy Boyd" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Luton Town F.C." . ?e_2 <pred:name> "Scotland national football team" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team