Question: What is the connection between The X-Files (the one whose script is wrote by Frank Spotnitz) to drama film?
Choices:
afflicts
characters
cast member
discoverer or inventor
located on astronomical location
genre
feast day
military casualty classification
editor
educated at
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The X-Files" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Frank Spotnitz" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Frank Spotnitz
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: The X-Files
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4