Question: What is the association of Richard Wagner (whose date of death is 2000-01-01) with mayor?
Choices:
business division
foundational text
position held
location of final assembly
highest judicial authority
Wikidata property
license
illustrator
health specialty
facet of
Answer: position held
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Wagner" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "2000-01-01"^^xsd:date . ?e_2 <pred:name> "mayor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Richard Wagner
function: FilterDate
dependencies: 0
inputs: date of death
2000-01-01
=
function: Find
inputs: mayor
function: QueryRelation
dependencies: 1
2