Question: What is the connection between Pearl Jam (the one that is famous for hard rock) to Neil Young (the one that has the occupation of record producer)?
Choices: commander of
this taxon is source of
country
indigenous to
influenced by
risk factor
maintained by
named after
airline hub
occupant
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Pearl Jam" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "hard rock" . ?e_2 <pred:name> "Neil Young" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> "record producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: hard rock
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Pearl Jam
function: And
dependencies: 1
2
function: Find
inputs: record producer
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: Neil Young
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: influenced by