Question: How is David Copperfield (the one that has Hugh Dancy as a cast member) related to Charles Dickens ?
Choices:
commander of
use
newspaper format
affiliation
partner
after a work by
exclave of
nutrient
instrumentation
mascot
Answer: after a work by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Copperfield" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Hugh Dancy" . ?e_2 <pred:name> "Charles Dickens" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hugh Dancy
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: David Copperfield
function: And
dependencies: 1
2
function: Find
inputs: Charles Dickens
function: QueryRelation
dependencies: 3
4