Question: How does Law & Order (the one that has Law & Order: Special Victims Unit as a part) relate to Law & Order: Criminal Intent (the one whose genre is police procedural)   ?
Choices:
start point
conflict
professorship
allegiance
lyrics by
captain
set in period
characters
rector
has part
Answer: has part
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Law & Order" . ?e_3 <part_of> ?e_1 . ?e_3 <pred:name> "Law & Order: Special Victims Unit" . ?e_2 <pred:name> "Law & Order: Criminal Intent" . ?e_2 <genre> ?e_4 . ?e_4 <pred:name> "police procedural" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Law & Order: Special Victims Unit
function: Relate
dependencies: 0
inputs: part of
forward
function: Find
inputs: Law & Order
function: And
dependencies: 1
2
function: Find
inputs: police procedural
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Law & Order: Criminal Intent
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7