Question: What is the relationship between Up (that has Stephen Moyer as a cast member) and The Holocaust?
Choices:
worshipped by
dedicated to
main subject
godparent
seed team
location of formation
publisher
nutrient
place served by transport hub
talk show guest
Answer: main subject
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Up" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Stephen Moyer" . ?e_2 <pred:name> "The Holocaust" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Stephen Moyer
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Up
function: And
dependencies: 1
2
function: Find
inputs: The Holocaust
function: QueryRelation
dependencies: 3
4