Question: What is the character role of Tom Hanks in Angels & Demons (the one whose official website is http://www.angelsanddemons.com/)?
Choices:
Ben
Dave
Bugs Bunny
Lois Griffin
Loretta Stinson
Gene Kranz
Marmaduke
Robert Langdon
Cersei Lannister
Judge Dredd
Answer: Robert Langdon
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Angels & Demons" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.angelsanddemons.com/" . ?e_2 <pred:name> "Tom Hanks" . ?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: Angels & Demons
function: FilterStr
dependencies: 0
inputs: official website
http://www.angelsanddemons.com/
function: Find
inputs: Tom Hanks
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role