Question: What is the role of Roger Bart in Hercules (the one whose publication date is 1997-06-27)?
Choices:
minority language
pen name
three-phase electric power
executive producer
Three pillars of the European Union
pen pal
European Union
singer
winner
guitarist
Answer: singer
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1997-06-27"^^xsd:date . ?e_2 <pred:name> "Roger Bart" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <object_has_role> ?qpv .  }
Program:
function: Find
inputs: Hercules
function: FilterDate
dependencies: 0
inputs: publication date
1997-06-27
=
function: Find
inputs: Roger Bart
function: QueryRelationQualifier
dependencies: 1
2
inputs: voice actor
object has role