Question: What is the relation between The Girl with the Dragon Tattoo (the one produced by Sony Pictures) and Joely Richardson?
Choices:
continent
next lower rank
shares border with
narrator
office contested
takes place in fictional universe
instrumentation
cast member
position held
professional or sports partner
Program:
function: Find
inputs: Sony Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Girl with the Dragon Tattoo
function: And
dependencies: 1
2
function: Find
inputs: Joely Richardson
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Girl with the Dragon Tattoo" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Sony Pictures" . ?e_2 <pred:name> "Joely Richardson" . ?e_1 ?p ?e_2 .  }
Answer: cast member