Question: What is the connection between The Pianist (the one that origins from Warsaw) to novel?
Choices:
genre
derivative work
industry
signatory
doctoral student
follows
studies
occupant
instrument
programming paradigm
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Pianist" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Warsaw" . ?e_2 <pred:name> "novel" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Warsaw
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Pianist
function: And
dependencies: 1
2
function: Find
inputs: novel
function: QueryRelation
dependencies: 3
4