Question: What children's film miniseries stars Martin Short as The Hatter?
Choices:
Emma
The Ten Commandments
The Diary of Anne Frank
Roots
Alice in Wonderland
The Stand
The Civil War
George Washington
The Pacific
Battlestar Galactica
Answer: Alice in Wonderland
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Martin Short" .  [ <pred:fact_h> ?e ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv . ?qpv <pred:value> "The Hatter" . ?e <genre> ?e_2 . ?e_2 <pred:name> "children's film" .  }
Program:
function: Find
inputs: Martin Short
function: Relate
dependencies: 0
inputs: cast member
backward
function: QFilterStr
dependencies: 1
inputs: character role
The Hatter
function: FilterConcept
dependencies: 2
inputs: miniseries
function: Find
inputs: children's film
function: Relate
dependencies: 4
inputs: genre
backward
function: FilterConcept
dependencies: 5
inputs: miniseries
function: And
dependencies: 3
6
function: What
dependencies: 7