Question: Tell me the visual artwork entitled Water and that has Ringo Starr in its cast
Choices:
Training Day
George Harrison: Living in the Material World
Rebecca
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
Water
The Fifth Element
A Prairie Home Companion
Pleasantville
Answer: Water
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <title> ?pv . ?pv <pred:value> "Water" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ringo Starr" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Water
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: Ringo Starr
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6