Question: What is the connection between Martin Donovan (the one whose date of birth is 1950-01-01) to writer?
Choices:
editor
director of photography
territory claimed by
has parts of the class
lowest point
instrument
located in the administrative territorial entity
official language
occupation
performer
Program:
function: Find
inputs: Martin Donovan
function: FilterDate
dependencies: 0
inputs: date of birth
1950-01-01
=
function: Find
inputs: writer
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Martin Donovan" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1950-01-01"^^xsd:date . ?e_2 <pred:name> "writer" . ?e_1 ?p ?e_2 .  }
Answer: occupation