Question: John Osborne whose ISNI is 0000 0001 1031 8424 received an Academy Award for Best Writing, Adapted Screenplay for which work?
Choices:
Ship of Fools
Movie 43
Lion
The Last Tycoon
Roman Israel, Esq.
Munich
Tom Jones
Desperately Seeking Susan
Spirited Away
Captain Phillips
Answer: Tom Jones
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Osborne" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0001 1031 8424" . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: John Osborne
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 1031 8424
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 1
2
inputs: award received
for work