Question: How is Harry Potter and Chamber of Secrets (the one that is authored by J. K. Rowling) related to adventure novel?
Choices:
found
genre
used by
winner
followed by
appears in the form of
Wikidata property
said to be the same as
ancestral home
exported to
Program:
function: Find
inputs: J. K. Rowling
function: Relate
dependencies: 0
inputs: author
backward
function: Find
inputs: Harry Potter and the Chamber of Secrets
function: And
dependencies: 1
2
function: Find
inputs: adventure novel
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Potter and the Chamber of Secrets" . ?e_1 <author> ?e_3 . ?e_3 <pred:name> "J. K. Rowling" . ?e_2 <pred:name> "adventure novel" . ?e_1 ?p ?e_2 .  }
Answer: genre