Question: What is the connection between melodica to Beck (the one that has the occupation of singer-songwriter)?
Choices:
killed by
enclave within
risk factor
famous people
found
said to be the same as
screenwriter
exported to
director/manager
has quality
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "melodica" . ?e_2 <pred:name> "Beck" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "singer-songwriter" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: melodica
function: Find
inputs: singer-songwriter
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Beck
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4