Question: What is cast-mate Toby Jones' role on Harry Potter and the Chamber of Secrets, released on 2002-11-14?
Choices:
Matthew Lillard
Spider-Man
Dobby
Cousin Randy
Gregory House
Pam Halpert
Lancelot
Woody Boyd
Yao
John Carter
Answer: Dobby
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Harry Potter and the Chamber of Secrets" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2002-11-14"^^xsd:date . ?e_2 <pred:name> "Toby Jones" . ?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: FilterDate
dependencies: 0
inputs: publication date
2002-11-14
=
function: Find
inputs: Toby Jones
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role