Question: Roots, with Forest Whitaker as a cast member, is related in what way to Jonathan Rhys Meyers?
Choices:
member of
cast member
developer
located in or next to body of water
theme music
military rank
exported to
contains administrative territorial entity
nutrient
business division
Program:
function: Find
inputs: Forest Whitaker
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Roots
function: And
dependencies: 1
2
function: Find
inputs: Jonathan Rhys Meyers
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roots" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Forest Whitaker" . ?e_2 <pred:name> "Jonathan Rhys Meyers" . ?e_1 ?p ?e_2 .  }
Answer: cast member