Question: How is The Stepford Wives starring Jon Lovitz related to Faith Hill?
Choices:
editor
cast member
maintained by
main subject
destination point
followed by
commander of
seed team
educated at
significant event
Program:
function: Find
inputs: Jon Lovitz
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Stepford Wives
function: And
dependencies: 1
2
function: Find
inputs: Faith Hill
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Stepford Wives" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jon Lovitz" . ?e_2 <pred:name> "Faith Hill" . ?e_1 ?p ?e_2 .  }
Answer: cast member