Question: Who wrote the Alexander (the one whose Biografisch Portaal number is 10016201) based off of Harry Potter and the Goblet of Fire (the one whose ISBN-13 is 978-0-7475-4624-5)?
Choices: Department of Statistics Singapore
01000004590
Cormac McCarthy
Frank Herbert
J. G. Ballard
Leo Tolstoy
Jack Kerouac
Ian McEwan
24522063
J. K. Rowling
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Harry Potter and the Goblet of Fire" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Shirley Henderson" . ?e_2 <pred:name> "Harry Potter and the Goblet of Fire" . ?e_2 <ISBN-13> ?pv . ?pv <pred:value> "978-0-7475-4624-5" . ?e_1 <based_on> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <based_on> ; <pred:fact_t> ?e_2 ] <author> ?qpv .  }
Program:
function: Find
inputs: Shirley Henderson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Harry Potter and the Goblet of Fire
function: And
dependencies: 1
2
function: Find
inputs: Harry Potter and the Goblet of Fire
function: FilterStr
dependencies: 4
inputs: ISBN-13
978-0-7475-4624-5
function: QueryRelationQualifier
dependencies: 3
5
inputs: based on
author
Answer: J. K. Rowling