Question: What is the connection between The Adventures of Tintin (the one whose director is Steven Spielberg) to Steven Moffat?
Choices:
next higher rank
performer
director/manager
shares border with
copyright representative
official color
seed team
mascot
owned by
screenwriter
Program:
function: Find
inputs: Steven Spielberg
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: The Adventures of Tintin
function: And
dependencies: 1
2
function: Find
inputs: Steven Moffat
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Adventures of Tintin" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Steven Spielberg" . ?e_2 <pred:name> "Steven Moffat" . ?e_1 ?p ?e_2 .  }
Answer: screenwriter