Question: How many writers received Pulitzer Price for History and their occupation match the occupation of Michael O'Neill, poet ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "writer" . ?e_1 <winner> ?e . ?e_1 <pred:name> "Pulitzer Prize for History" .  ?e_2 <occupation> ?e . ?e_2 <pred:name> "Michael O'Neill" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "poet" .  }
Program:
function: Find
inputs: Pulitzer Prize for History
function: Relate
dependencies: 0
inputs: winner
forward
function: FilterConcept
dependencies: 1
inputs: writer
function: Find
inputs: poet
function: Relate
dependencies: 3
inputs: occupation
backward
function: Find
inputs: Michael O'Neill
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: occupation
forward
function: FilterConcept
dependencies: 7
inputs: writer
function: And
dependencies: 2
8
function: Count
dependencies: 9
Answer: 0