Question: How is the silent film Vanity Fair related to the silent film genre?
Choices:
narrative role
occupation
native language
make-up artist
languages spoken, written or signed
interested in
military branch
genre
studied by
commissioned by
Program:
function: Find
inputs: silent film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Vanity Fair
function: And
dependencies: 1
2
function: Find
inputs: silent film
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Vanity Fair" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "silent film" . ?e_2 <pred:name> "silent film" . ?e_1 ?p ?e_2 .  }
Answer: genre