Question: What is the character role of Jack Black in Shark Tale (the one whose publication date is 2004-10-01)?
Choices:
Groundskeeper Willie
Anamaria
Emily Reynolds
Gretchen Wieners
Lenny (Shark Tale)
Dale Cooper
Lawrence Kutner
Claire Bennet
Valentin Zukovsky
George "Mac" McHale
Answer: Lenny (Shark Tale)
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Shark Tale" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2004-10-01"^^xsd:date . ?e_2 <pred:name> "Jack Black" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Shark Tale
function: FilterDate
dependencies: 0
inputs: publication date
2004-10-01
=
function: Find
inputs: Jack Black
function: QueryRelationQualifier
dependencies: 1
2
inputs: voice actor
character role