Question: How is Seven starring R. Lee Ermey related to drama film?
Choices:
occupant
affiliation
language of work or name
location
film editor
office held by head of state
notable people with this condition
follows
genre
after a work by
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Seven" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "R. Lee Ermey" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: R. Lee Ermey
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Seven
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4