Question: How is Canadian citizen Andy Williams related to Real Salt Lake?
Choices:
member of sports team
separated from
position held
applies to jurisdiction
main food source
used by
culture
production company
shares border with
discoverer or inventor
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Andy Williams" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "Real Salt Lake" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Andy Williams
function: And
dependencies: 1
2
function: Find
inputs: Real Salt Lake
function: QueryRelation
dependencies: 3
4