Question: Which movie titled Get Smart features Dwayne Johnson in the cast?
Choices:
A Prairie Home Companion
The Scorpion King
The Other Guys
The Mummy Returns
Rebecca
The Fifth Element
Pleasantville
Get Smart
Fast Five
G.I. Joe: Retaliation
Answer: Get Smart
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <title> ?pv . ?pv <pred:value> "Get Smart" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Dwayne Johnson" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Get Smart
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: Dwayne Johnson
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6