Question: What is the relationship between The Portrait of a Lady (the one whose publication date is 1881) to novel?
Choices:
lyrics by
copyright representative
genre
location of formation
organizer
substitute/deputy/replacement of office/officeholder
family
hair color
political ideology
used by
Program:
function: Find
inputs: The Portrait of a Lady
function: FilterYear
dependencies: 0
inputs: publication date
1881
=
function: Find
inputs: novel
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Portrait of a Lady" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1881 . ?e_2 <pred:name> "novel" . ?e_1 ?p ?e_2 .  }
Answer: genre