Question: What is the relation between The Man in the Iron Mask (the one whose title is Der Mann mit der eisernen Maske) and Alexandre Dumas (the one who died in 1870-12-05)?
Choices:
dissertation submitted to
owned by
member of
theme music
subsidiary
signatory
after a work by
head coach
performer
sponsor
Answer: after a work by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Man in the Iron Mask" . ?e_1 <title> ?pv . ?pv <pred:value> "Der Mann mit der eisernen Maske" . ?e_2 <pred:name> "Alexandre Dumas" . ?e_2 <date_of_death> ?pv_1 . ?pv_1 <pred:date> "1870-12-05"^^xsd:date . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Man in the Iron Mask
function: FilterStr
dependencies: 0
inputs: title
Der Mann mit der eisernen Maske
function: Find
inputs: Alexandre Dumas
function: FilterDate
dependencies: 2
inputs: date of death
1870-12-05
=
function: QueryRelation
dependencies: 1
3