Question: How is the World War II-themed Titanic related to drama film?
Choices: soundtrack album
heritage designation
occupation
hair color
family
commander of
composer
territory overlaps
position played on team / speciality
genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Titanic" . ?e_1 <main_subject> ?e_3 . ?e_3 <pred:name> "World War II" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: World War II
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Titanic
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4
Answer: genre