Question: What is the connection between Taken (the one that has Michael Moriarty as a cast member) to Desmond Harrington?
Choices:
has part
partially contains
located on astronomical location
business division
territory claimed by
opposite of
military conflicts
permanent resident of
main food source
cast member
Program:
function: Find
inputs: Michael Moriarty
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Taken
function: And
dependencies: 1
2
function: Find
inputs: Desmond Harrington
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Taken" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Michael Moriarty" . ?e_2 <pred:name> "Desmond Harrington" . ?e_1 ?p ?e_2 .  }
Answer: cast member