Question: Tell me the title for Heroes (which feature Sally Field in the cast)
Choices:
Star Wars: The Clone Wars
Confessions of a Dangerous Mind
Bedknobs and Broomsticks
America's Next Top Model
Moonrise Kingdom
West Side Story
The Robe
13 Going on 30
Heroes
Skyfall
Program:
function: Find
inputs: Sally Field
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Heroes
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Heroes" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sally Field" .  ?e <title> ?pv .  }
Answer: Heroes