Question: What award was created before 2005 and was given to The-Dream for Holy Grail ?
Choices:
Grammy Award for Best Reggae Album
Independent Spirit Award for Best Female Lead
Grammy Award for Album of the Year
Grammy Award for Best Rap Song
Grammy Award for Song of the Year
Independent Spirit Award for Best Documentary Feature
Golden Globe Award for Best Animated Feature Film
Grammy Award for Best Metal Performance
Latin Grammy Award for Best Male Pop Vocal Album
Royal Victorian Chain
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
2005
<
function: FilterConcept
dependencies: 1
inputs: award
function: Find
inputs: The-Dream
function: Relate
dependencies: 3
inputs: nominated for
forward
function: QFilterStr
dependencies: 4
inputs: for work
Holy Grail
function: FilterConcept
dependencies: 5
inputs: award
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "award" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "The-Dream" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> "Holy Grail" .  }
Answer: Grammy Award for Best Rap Song