Question: What is the connection between Marie Antoinette (the one that has Molly Shannon as a cast member) to Molly Shannon?
Choices:
fabrication method
director of photography
replaces
cast member
work location
main food source
place of origin (Switzerland)
nutrient
narrator
located in the administrative territorial entity
Program:
function: Find
inputs: Molly Shannon
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Marie Antoinette
function: And
dependencies: 1
2
function: Find
inputs: Molly Shannon
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Marie Antoinette" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Molly Shannon" . ?e_2 <pred:name> "Molly Shannon" . ?e_1 ?p ?e_2 .  }
Answer: cast member