Question: For Anna Karenina (the one whose publication date is 2012-09-07), who is the author of the Anna Karenina (the one whose OCLC control number is 220005468) on which it is based?
Choices: Jack Kerouac
J. K. Rowling
Culture Club
J. G. Ballard
Ian McEwan
Frank Herbert
Leo Tolstoy
Cormac McCarthy
1753-01-01
Department of Statistics Singapore
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Anna Karenina" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2012-09-07"^^xsd:date . ?e_2 <pred:name> "Anna Karenina" . ?e_2 <OCLC_control_number> ?pv_1 . ?pv_1 <pred:value> "220005468" . ?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: Anna Karenina
function: FilterDate
dependencies: 0
inputs: publication date
2012-09-07
=
function: Find
inputs: Anna Karenina
function: FilterStr
dependencies: 2
inputs: OCLC control number
220005468
function: QueryRelationQualifier
dependencies: 1
3
inputs: based on
author
Answer: Leo Tolstoy