Question: How many companies have PermID 4295903091, or are Tombstone's distributor?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" .  { ?e <PermID> ?pv . ?pv <pred:value> "4295903091" .  } UNION { ?e_1 <distributor> ?e . ?e_1 <pred:name> "Tombstone" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: PermID
4295903091
function: FilterConcept
dependencies: 1
inputs: agent
function: Find
inputs: Tombstone
function: Relate
dependencies: 3
inputs: distributor
forward
function: FilterConcept
dependencies: 4
inputs: agent
function: Or
dependencies: 2
5
function: Count
dependencies: 6