Question: Who is the author of the English book Harry Potter and the Goblet of Fire, which received the Hugo Award for Best Novel?
Choices:
J. K. Rowling
Department of Statistics Singapore
Jack Kerouac
Frank Herbert
Leo Tolstoy
CAN
Cormac McCarthy
Saehan Jadongcha Chukgudan
Ian McEwan
J. G. Ballard
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Harry Potter and the Goblet of Fire
function: And
dependencies: 1
2
function: Find
inputs: Hugo Award for Best Novel
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: Harry Potter and the Goblet of Fire
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: based on
author
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Harry Potter and the Goblet of Fire" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Harry Potter and the Goblet of Fire" . ?e_2 <award_received> ?e_4 . ?e_4 <pred:name> "Hugo Award for Best Novel" . ?e_1 <based_on> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <based_on> ; <pred:fact_t> ?e_2 ] <author> ?qpv .  }
Answer: J. K. Rowling