Question: What is the relationship between John Carter (the one whose publication date is 2012-03-08) and Dominic West?
Choices:
main subject
replaced by
award received
significant person
terminus
cast member
occupation
subject has role
participant of
mountain range
Program:
function: Find
inputs: John Carter
function: FilterDate
dependencies: 0
inputs: publication date
2012-03-08
=
function: Find
inputs: Dominic West
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Carter" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2012-03-08"^^xsd:date . ?e_2 <pred:name> "Dominic West" . ?e_1 ?p ?e_2 .  }
Answer: cast member