Question: How is the James Bond that inspired Quantum of Solace related to Sean Connery?
Choices:
writing system
performer
does not have part
has immediate cause
partially contains
home port
has dialect (DEPRECATED)
source of material
appointed by
country
Answer: performer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Bond" . ?e_1 <derivative_work> ?e_3 . ?e_3 <pred:name> "Quantum of Solace" . ?e_2 <pred:name> "Sean Connery" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Quantum of Solace
function: Relate
dependencies: 0
inputs: derivative work
backward
function: Find
inputs: James Bond
function: And
dependencies: 1
2
function: Find
inputs: Sean Connery
function: QueryRelation
dependencies: 3
4