Question: What is the relation between the silent film Waterloo and the Napoleonic Wars?
Choices:
relative
original language of film or TV show
place of publication
significant person
parent organization
main subject
child astronomical body
located on terrain feature
production company
work location
Program:
function: Find
inputs: silent film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Waterloo
function: And
dependencies: 1
2
function: Find
inputs: Napoleonic Wars
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Waterloo" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "silent film" . ?e_2 <pred:name> "Napoleonic Wars" . ?e_1 ?p ?e_2 .  }
Answer: main subject