Question: What is Richard Harris (the one that was nominated for Grammy Award for Album of the Year) character role in the Harry Potter and the Chamber of Secrets (the one whose official website is http://www.harrypotter.com)??
Choices: Jim Hawkins
Albus Dumbledore
Sonji Roi
Alex Munday
Thebans
Clyde Barrow
Kate Brewster
Lydia Bennet
Billy Bones
Rachel Dawes
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Harry Potter and the Chamber of Secrets" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.harrypotter.com" . ?e_2 <pred:name> "Richard Harris" . ?e_2 <nominated_for> ?e_3 . ?e_3 <pred:name> "Grammy Award for Album of the Year" . ?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: Harry Potter and the Chamber of Secrets
function: FilterStr
dependencies: 0
inputs: official website
http://www.harrypotter.com
function: Find
inputs: Grammy Award for Album of the Year
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: Richard Harris
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: cast member
character role
Answer: Albus Dumbledore