Question: What film is the genre of Hannibal (that is originally aired on NBC) and the genre of Law & Order: Criminal Intent (that has Vincent D'Onofrio as a cast member)/
Choices: Rope
Talk to Her
police procedural
Curse of the Golden Flower
Rebecca
Training Day
A Prairie Home Companion
Pleasantville
The Towering Inferno
The Fifth Element
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <genre> ?e . ?e_1 <pred:name> "Hannibal" . ?e_1 <original_network> ?e_2 . ?e_2 <pred:name> "NBC" .  ?e_3 <genre> ?e . ?e_3 <pred:name> "Law & Order: Criminal Intent" . ?e_3 <cast_member> ?e_4 . ?e_4 <pred:name> "Vincent D'Onofrio" .  }
Program:
function: Find
inputs: NBC
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Hannibal
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: film
function: Find
inputs: Vincent D'Onofrio
function: Relate
dependencies: 6
inputs: cast member
backward
function: Find
inputs: Law & Order: Criminal Intent
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: genre
forward
function: FilterConcept
dependencies: 10
inputs: film
function: And
dependencies: 5
11
function: What
dependencies: 12
Answer: police procedural