Question: What is the relationship between Joe Walsh (the one that is famous for acoustic guitar) and Joe Walsh (the one that is a member of Swansea City A.F.C.)?
Choices:
time period
official residence
academic degree
sexual orientation
original film format
different from
terminus
chief executive officer
general manager
narrator
Program:
function: Find
inputs: acoustic guitar
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Joe Walsh
function: And
dependencies: 1
2
function: Find
inputs: Swansea City A.F.C.
function: Relate
dependencies: 4
inputs: member of sports team
backward
function: Find
inputs: Joe Walsh
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Joe Walsh" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "acoustic guitar" . ?e_2 <pred:name> "Joe Walsh" . ?e_2 <member_of_sports_team> ?e_4 . ?e_4 <pred:name> "Swansea City A.F.C." . ?e_1 ?p ?e_2 .  }
Answer: different from