Question: What is the relationship between Ned Kelly (the one that origins from United Kingdom) and Mick Jagger?
Choices:
follows
sport
student
cast member
dialect of
language used
this taxon is source of
military casualty classification
head of state
item operated
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ned Kelly" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "Mick Jagger" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Ned Kelly
function: And
dependencies: 1
2
function: Find
inputs: Mick Jagger
function: QueryRelation
dependencies: 3
4