Question: How is Footloose, with Sarah Jessica Parker as a cast member, related to John Lithgow?
Choices:
place of burial
cast member
exclave of
taxon rank
substitute/deputy/replacement of office/officeholder
archives at
ancestral home
depicted by
designed to carry
lifestyle
Program:
function: Find
inputs: Sarah Jessica Parker
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Footloose
function: And
dependencies: 1
2
function: Find
inputs: John Lithgow
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Footloose" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Sarah Jessica Parker" . ?e_2 <pred:name> "John Lithgow" . ?e_1 ?p ?e_2 .  }
Answer: cast member