Question: What is the relationship between Alias (the one whose date of death is 2018-03-30) and a composer?
Choices:
partially contains
sponsor
has parts of the class
tributary
occupation
candidacy in election
position held
narrative location
used by
statistical leader
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alias" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "2018-03-30"^^xsd:date . ?e_2 <pred:name> "composer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Alias
function: FilterDate
dependencies: 0
inputs: date of death
2018-03-30
=
function: Find
inputs: composer
function: QueryRelation
dependencies: 1
2