Question: What is the connection between John Williams (the one that is a member of BC Lions) to BC Lions?
Choices:
month of the year
replaced by
basin country
contributor(s) to the creative work
soundtrack album
home venue
substitute/deputy/replacement of office/officeholder
afflicts
appointed by
member of sports team
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "BC Lions" . ?e_2 <pred:name> "BC Lions" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: BC Lions
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Find
inputs: BC Lions
function: QueryRelation
dependencies: 3
4