Question: What is the topic of the statement that Ed Wood (that has Johnny Depp as a cast member) received an Academy Award for Best Supporting Actor?
Choices:
67th Academy Awards
Costa Rica–United States relations
France–Papua New Guinea relations
Philippines–Ukraine relations
Iran–Iraq border
Idaho–Wyoming border
New Yorker
Germany-Mali relations
Cyprus–Kuwait relations
Belgium–Germany border
Answer: 67th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ed Wood" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Johnny Depp" . ?e_2 <pred:name> "Academy Award for Best Supporting Actor" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Johnny Depp
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Ed Wood
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Supporting Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
statement is subject of