Question: Michelangelo, whose Google Doodle is michelangelos-528th-birthday, worked in which city until 1496?
Choices:
Abidjan
Florence
Kingston
Venice
Trieste
Bologna
Cork
Bergen
Santo Domingo
Chihuahua
Program:
function: Find
inputs: Michelangelo
function: FilterStr
dependencies: 0
inputs: Google Doodle
michelangelos-528th-birthday
function: Relate
dependencies: 1
inputs: work location
forward
function: QFilterYear
dependencies: 2
inputs: end time
1496
=
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <work_location> ?e . ?e_1 <pred:name> "Michelangelo" . ?e_1 <Google_Doodle> ?pv . ?pv <pred:value> "michelangelos-528th-birthday" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <work_location> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1496 .  }
Answer: Bologna