Question: How many plays received a Pulitzer Prize for Drama or contain Jesus Christ?
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> "play" .  { ?e <award_received> ?e_1 . ?e_1 <pred:name> "Pulitzer Prize for Drama" .  } UNION { ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "Jesus Christ" .  } }
Program:
function: Find
inputs: Pulitzer Prize for Drama
function: Relate
dependencies: 0
inputs: award received
backward
function: FilterConcept
dependencies: 1
inputs: play
function: Find
inputs: Jesus Christ
function: Relate
dependencies: 3
inputs: present in work
forward
function: FilterConcept
dependencies: 4
inputs: play
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3