Question: What is the relationship between Randy Newman and David Newman (the one that is the composer of Scooby-Doo)?
Choices: honorific prefix
mother
contains administrative territorial entity
license
chief executive officer
vehicle normally used
significant person
chairperson
relative
mascot
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Randy Newman" . ?e_2 <pred:name> "David Newman" . ?e_3 <composer> ?e_2 . ?e_3 <pred:name> "Scooby-Doo" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Randy Newman
function: Find
inputs: Scooby-Doo
function: Relate
dependencies: 1
inputs: composer
forward
function: Find
inputs: David Newman
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: relative