Question: What has All Quiet on the Western Front (the one that has Ian Holm as a cast member) to do with warm films?
Choices:
present in work
found
part of the series
publisher
source of income
geography of topic
designated as terrorist by
use
basin country
genre
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "All Quiet on the Western Front" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ian Holm" . ?e_2 <pred:name> "war film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ian Holm
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: All Quiet on the Western Front
function: And
dependencies: 1
2
function: Find
inputs: war film
function: QueryRelation
dependencies: 3
4