Question: What is the title of Android (the one whose genre is action film)?
Choices:
The Weather Man
Before the Devil Knows You're Dead
Sunset Boulevard
Batman Forever
Maidstone
Android
Marie Antoinette
Jackass 3D
Sicko
The Diary of Anne Frank
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Android
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Android" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .  ?e <title> ?pv .  }
Answer: Android