Question: How many agent were replaced by Comcast or received Peabody Award?
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> "agent" .  { ?e <replaced_by> ?e_1 . ?e_1 <pred:name> "Comcast" .  } UNION { ?e <award_received> ?e_1 . ?e_1 <pred:name> "Peabody Award" .  } }
Program:
function: Find
inputs: Comcast
function: Relate
dependencies: 0
inputs: replaced by
backward
function: FilterConcept
dependencies: 1
inputs: agent
function: Find
inputs: Peabody Award
function: Relate
dependencies: 3
inputs: award received
backward
function: FilterConcept
dependencies: 4
inputs: agent
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 6