Question: How is Frankenstein, introduced in 1815, related to playwright Mary Shelley ?
Choices: edition or translation of
donated by
subject has role
home world
author
season starts
relative
official color
has immediate cause
located in time zone
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Frankenstein" . ?e_1 <inception> ?pv . ?pv <pred:year> 1815 . ?e_2 <pred:name> "Mary Shelley" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "playwright" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Frankenstein
function: FilterYear
dependencies: 0
inputs: inception
1815
=
function: Find
inputs: playwright
function: Relate
dependencies: 2
inputs: occupation
backward
function: Find
inputs: Mary Shelley
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
Answer: author