Question: How is Water starring Waheeda Rehman related to A. R. Rahman?
Choices:
symptom of
programming language
subject has role
owner of
office held by head of state
statistical leader
author
has quality
composer
currency
Answer: composer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Water" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Waheeda Rehman" . ?e_2 <pred:name> "A. R. Rahman" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Waheeda Rehman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Water
function: And
dependencies: 1
2
function: Find
inputs: A. R. Rahman
function: QueryRelation
dependencies: 3
4