Question: What is the connection between Driving Miss Daisy (the one that has Dan Aykroyd as a cast member) to racism?
Choices:
costume designer
official language
father
partially contains
main subject
doctoral student
lyrics by
academic degree
newspaper format
professorship
Answer: main subject
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Driving Miss Daisy" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Dan Aykroyd" . ?e_2 <pred:name> "racism" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dan Aykroyd
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Driving Miss Daisy
function: And
dependencies: 1
2
function: Find
inputs: racism
function: QueryRelation
dependencies: 3
4