Question: How is Canadian citizen John Williams related to the Hamilton Tiger-Cats?
Choices:
member of sports team
industry
lifestyle
family
located on terrain feature
replaces
genre
designed by
place of publication
official language
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "Hamilton Tiger-Cats" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Find
inputs: Hamilton Tiger-Cats
function: QueryRelation
dependencies: 3
4