Question: What is the relationship between Law & Order (the one that has Law & Order: Special Victims Unit as a part) to Law & Order (the one that has Sean Astin as a cast member)?
Choices: derivative work
military casualty classification
inspired by
has part
item operated
twinned administrative body
student
office held by head of the organisation
mouth of the watercourse
organizer
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" . ?e_2 <cast_member> ?e_4 . ?e_4 <pred:name> "Sean Astin" . ?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: Sean Astin
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Law & Order
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: has part