Question: Who was nominated for Academy Award for Best Actor for Philadelphia (the one that mainly depicts law) ?
Choices: Mexico–Turkey relations
Indonesia–Papua New Guinea border
Costa Rica–Denmark relations
Madagascar–North Korea relations
Austria–Yugoslavia relations
Bolivia–Chile border
Russia–Thailand relations
China–Pakistan border
North Korea–Sweden relations
66th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Philadelphia" . ?e_1 <main_subject> ?e_3 . ?e_3 <pred:name> "law" . ?e_2 <pred:name> "Academy Award for Best Actor" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: law
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Philadelphia
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of
Answer: 66th Academy Awards