Question: What is the connection between The Man Who Knew Too Much (the one whose genre is film noir) to James Stewart (the one that received Presidential Medal of Freedom)?
Choices:
military conflicts
performer
license
cast member
general manager
winner
officeholder
family name
properties for this type
legal form
Program:
function: Find
inputs: film noir
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Man Who Knew Too Much
function: And
dependencies: 1
2
function: Find
inputs: Presidential Medal of Freedom
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: James Stewart
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Man Who Knew Too Much" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "film noir" . ?e_2 <pred:name> "James Stewart" . ?e_2 <award_received> ?e_4 . ?e_4 <pred:name> "Presidential Medal of Freedom" . ?e_1 ?p ?e_2 .  }
Answer: cast member