Question: What is the tittle of Pittsburgh, a drama film ?
Choices:
True Blood
The Duchess
That's My Boy
Berkeley
Dogma
Malibu
臥虎藏龍
Pittsburgh
Dark Shadows
American Pie
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Pittsburgh
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Pittsburgh" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .  ?e <title> ?pv .  }
Answer: Pittsburgh