Question: How is Heroes starring Bobby Deol related to Salman Khan born on 1965-12-27?
Choices: has part
home venue
commissioned by
subject has role
commander of
based on
copyright representative
organizer
cast member
diplomatic relation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heroes" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Bobby Deol" . ?e_2 <pred:name> "Salman Khan" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> "1965-12-27"^^xsd:date . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bobby Deol
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Heroes
function: And
dependencies: 1
2
function: Find
inputs: Salman Khan
function: FilterDate
dependencies: 4
inputs: date of birth
1965-12-27
=
function: QueryRelation
dependencies: 3
5
Answer: cast member