Question: Who did the African American Michael Jackson share a Grammy Award for Song of the Year with?
Choices:
Lionel Richie
black
Yitzhak Rabin
silver
Rihanna
Frank Ocean
Pretoria
Eminem
Andrew Lloyd Webber
Cape Town
Program:
function: Find
inputs: African Americans
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Michael Jackson
function: And
dependencies: 1
2
function: Find
inputs: Grammy Award for Song of the Year
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
together with
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Michael Jackson" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> "African Americans" . ?e_2 <pred:name> "Grammy Award for Song of the Year" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <together_with> ?qpv .  }
Answer: Lionel Richie