Question: What is Mos Def's character role as a cast member in the work The Hitchhiker's Guide to the Galaxy (the one whose publication date is 2005-04-29)?
Choices: Leo
Bishop
Samwise Gamgee
Saul Berenson
Lando Calrissian
Abigail Chase
Tweedledee
Klaus
Ford Prefect
Viktor Navorski
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Hitchhiker's Guide to the Galaxy" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2005-04-29"^^xsd:date . ?e_2 <pred:name> "Mos Def" . ?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: The Hitchhiker's Guide to the Galaxy
function: FilterDate
dependencies: 0
inputs: publication date
2005-04-29
=
function: Find
inputs: Mos Def
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Ford Prefect