Question: What is the relationship between The Girl with the Dragon Tattoo (the one whose publication date is 2012-01-12) and Donald Sumpter?
Choices:
military branch
fabrication method
eye color
language used
license
mouth of the watercourse
tributary
student
cast member
employer
Program:
function: Find
inputs: The Girl with the Dragon Tattoo
function: FilterDate
dependencies: 0
inputs: publication date
2012-01-12
=
function: Find
inputs: Donald Sumpter
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Girl with the Dragon Tattoo" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2012-01-12"^^xsd:date . ?e_2 <pred:name> "Donald Sumpter" . ?e_1 ?p ?e_2 .  }
Answer: cast member