Question: How many public companies have the PermID 4295877413 or are the owner of Bandai Co., Ltd.?
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> "public company" .  { ?e <PermID> ?pv . ?pv <pred:value> "4295877413" .  } UNION { ?e <owner_of> ?e_1 . ?e_1 <pred:name> "Bandai Co., Ltd." .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: PermID
4295877413
function: FilterConcept
dependencies: 1
inputs: public company
function: Find
inputs: Bandai Co., Ltd.
function: Relate
dependencies: 3
inputs: owner of
backward
function: FilterConcept
dependencies: 4
inputs: public company
function: Or
dependencies: 2
5
function: Count
dependencies: 6