Question: Aidan Gillen is cast in which role on Game of Thrones (official website www.hbo.com/game-of-thrones) ?
Choices: Harry Goldfarb
Thaddeus Ross
Petyr Baelish
Donkey
Faith
Gregory House
Stan the Man
Kenneth O'Donnell
Count Dooku
Gurney Halleck
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Game of Thrones" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.hbo.com/game-of-thrones" . ?e_2 <pred:name> "Aidan Gillen" . ?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: Game of Thrones
function: FilterStr
dependencies: 0
inputs: official website
http://www.hbo.com/game-of-thrones
function: Find
inputs: Aidan Gillen
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Petyr Baelish