Question: What is the relationship between Caravaggio (the one whose date of death is 1610-07-18) and Milan (the one whose demonym is milanés)?
Choices:
illustrator
replaces
place of birth
student of
has part
sibling
time period
creator
member of sports team
geographic distribution
Program:
function: Find
inputs: Caravaggio
function: FilterDate
dependencies: 0
inputs: date of death
1610-07-18
=
function: Find
inputs: Milan
function: FilterStr
dependencies: 2
inputs: demonym
milanés
function: QueryRelation
dependencies: 1
3
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Caravaggio" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1610-07-18"^^xsd:date . ?e_2 <pred:name> "Milan" . ?e_2 <demonym> ?pv_1 . ?pv_1 <pred:value> "milanés" . ?e_1 ?p ?e_2 .  }
Answer: place of birth