Question: What is the relation of The Three Musketeers (shot in the Czech Republic) to Russian?
Choices:
dialect of
director
owner of
member of sports team
kit supplier
use
based on
original language of film or TV show
connects with
has quality
Answer: original language of film or TV show
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Three Musketeers" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Czech Republic" . ?e_2 <pred:name> "Russian" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Czech Republic
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: Find
inputs: Russian
function: QueryRelation
dependencies: 3
4