Question: What is the relationship between Rush (distributor is Metro-Goldwyn-Mayer) and Gregg Allman?
Choices:
field of this occupation
properties for this type
donated by
cast member
discoverer or inventor
talk show guest
child
works in collection
has contributing factor
publisher
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rush" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Metro-Goldwyn-Mayer" . ?e_2 <pred:name> "Gregg Allman" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Rush
function: And
dependencies: 1
2
function: Find
inputs: Gregg Allman
function: QueryRelation
dependencies: 3
4