Question: How is Six Feet Under, with Ray Romano as a cast member, related to Peter Boyle, born on 1935-10-18?
Choices:
cast member
place of death
terminus
main food source
capital
instrumentation
lowest point
item operated
place of origin (Switzerland)
has contributing factor
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Six Feet Under" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ray Romano" . ?e_2 <pred:name> "Peter Boyle" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> "1935-10-18"^^xsd:date . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ray Romano
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Six Feet Under
function: And
dependencies: 1
2
function: Find
inputs: Peter Boyle
function: FilterDate
dependencies: 4
inputs: date of birth
1935-10-18
=
function: QueryRelation
dependencies: 3
5