Question: What role did Idris Elba play in Thor, the one whose official website is http://marvel.com/movies/movie/36/thor?
Choices:
Bat Masterson
Joe Gould
Eric Taylor
Eudora
Heimdall
Sheriff of Nottingham
Kingpin
Gertrude
Marion Silver
Timmy Turner
Answer: Heimdall
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Thor" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://marvel.com/movies/movie/36/thor" . ?e_2 <pred:name> "Idris Elba" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Thor
function: FilterStr
dependencies: 0
inputs: official website
http://marvel.com/movies/movie/36/thor
function: Find
inputs: Idris Elba
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role