Question: What is the title of the visual artwork directed by John Wayne?
Choices:
The Alamo
Palm Springs
Adaptation
紅の豚
Kingdom of Heaven
The Penguins of Madagascar
Red State
Luther – Ein Film der deutschen Reformation
Some Like It Hot
The Nightmare Before Christmas
Answer: The Alamo
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <director> ?e_1 . ?e_1 <pred:name> "John Wayne" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: John Wayne
function: Relate
dependencies: 0
inputs: director
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: QueryAttr
dependencies: 2
inputs: title