Question: How is Titanic, with George C. Scott as a cast member, related to George C. Scott?
Choices:
cast member
make-up artist
writing system
narrative role
depicted by
vehicle normally used
terminus
award disciplines or subjects
operating area
location of discovery
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Titanic" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "George C. Scott" . ?e_2 <pred:name> "George C. Scott" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: George C. Scott
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Titanic
function: And
dependencies: 1
2
function: Find
inputs: George C. Scott
function: QueryRelation
dependencies: 3
4