Question: What relation there is between Goldfinger (the one that has Garry Marshall as a cast member) and Michael G. Wilson?
Choices:
illustrator
hair color
cast member
religion
programming paradigm
ethnic group
part of
works in collection
owned by
place of burial
Program:
function: Find
inputs: Garry Marshall
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Goldfinger
function: And
dependencies: 1
2
function: Find
inputs: Michael G. Wilson
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Goldfinger" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Garry Marshall" . ?e_2 <pred:name> "Michael G. Wilson" . ?e_1 ?p ?e_2 .  }
Answer: cast member