Question: What is the connection between Alice (the one whose pseudonym is Alice) to piano?
Choices:
production designer
instrument
talk show guest
original language of film or TV show
country of origin
place served by transport hub
academic degree
highest judicial authority
location of final assembly
permanent resident of
Program:
function: Find
inputs: Alice
function: FilterStr
dependencies: 0
inputs: pseudonym
Alice
function: Find
inputs: piano
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alice" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> "Alice" . ?e_2 <pred:name> "piano" . ?e_1 ?p ?e_2 .  }
Answer: instrument