Question: What is the connection between Stardust (the one that has Jason Flemyng as a cast member) to Charlie Cox (the one whose date of birth is 1982-12-15)?
Choices:
film release region
office held by head of government
programming paradigm
distribution
cast member
rector
has edition
replaced by
filmography
donated by
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Stardust" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jason Flemyng" . ?e_2 <pred:name> "Charlie Cox" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> "1982-12-15"^^xsd:date . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jason Flemyng
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Stardust
function: And
dependencies: 1
2
function: Find
inputs: Charlie Cox
function: FilterDate
dependencies: 4
inputs: date of birth
1982-12-15
=
function: QueryRelation
dependencies: 3
5