Question: Which movie featured Robert Klein (the one that is the citizen of United States of America) as a cast member?
Choices:
Lawrence of Arabia
Rebecca
Brothers
Primary Colors
Anne of the Thousand Days
A Prairie Home Companion
Romeo + Juliet
Pleasantville
The Good Wife
Bram Stoker's Dracula
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Robert Klein
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Robert Klein" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "United States of America" .   }
Answer: Primary Colors