Question: What is the relationship between Richard Wagner (the one whose date of birth is 1860-05-29) and German?
Choices: performer
director
official religion
languages spoken, written or signed
properties for this type
commissioned by
named after
office held by head of government
organisation directed from the office or person
conferred by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Wagner" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1860-05-29"^^xsd:date . ?e_2 <pred:name> "German" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Richard Wagner
function: FilterDate
dependencies: 0
inputs: date of birth
1860-05-29
=
function: Find
inputs: German
function: QueryRelation
dependencies: 1
2
Answer: languages spoken, written or signed