Question: What is the relationship between Wayne's World and Robert Patrick, who belongs to the United States of America?
Choices:
voice type
notable people with this condition
location
color
newspaper format
depicted by
located in the administrative territorial entity
cast member
time period
published in
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wayne's World" . ?e_2 <pred:name> "Robert Patrick" . ?e_2 <country_for_sport> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Wayne's World
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country for sport
backward
function: Find
inputs: Robert Patrick
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4