Question: What is the relationship between Carlos Ruiz (the one that is a member of Los Angeles Galaxy) and Puebla F.C.?
Choices:
official language
spouse
place of origin (Switzerland)
operating system
programming paradigm
different from
original film format
organizer
parent club
member of sports team
Program:
function: Find
inputs: Los Angeles Galaxy
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Carlos Ruiz
function: And
dependencies: 1
2
function: Find
inputs: Puebla F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carlos Ruiz" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Los Angeles Galaxy" . ?e_2 <pred:name> "Puebla F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team