Question: How is Madagascar, published on 2005-05-27, related to Sacha Baron Cohen?
Choices:
newspaper format
soundtrack album
maintained by
home venue
voice actor
office held by head of the organisation
narrative location
instrumentation
takes place in fictional universe
country
Answer: voice actor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Madagascar" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2005-05-27"^^xsd:date . ?e_2 <pred:name> "Sacha Baron Cohen" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Madagascar
function: FilterDate
dependencies: 0
inputs: publication date
2005-05-27
=
function: Find
inputs: Sacha Baron Cohen
function: QueryRelation
dependencies: 1
2