Question: Who was nominated for Primetime Emmy Award for Outstanding Writing for NYPD Blue drama series and working as a journalist?
Choices:
David Milch
Simon Cowell
Rahul Dev Burman
William Henry Harrison
James E. Reilly
Sylvester Stallone
David Mills
David Byrne
Richard Gere
Paul Simon
Answer: David Mills
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Writing for a Drama Series" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "NYPD Blue" . ?e <occupation> ?e_2 . ?e_2 <pred:name> "journalist" .  }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Writing for a Drama Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: QFilterStr
dependencies: 1
inputs: for work
NYPD Blue
function: FilterConcept
dependencies: 2
inputs: human
function: Find
inputs: journalist
function: Relate
dependencies: 4
inputs: occupation
backward
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 3
6
function: What
dependencies: 7