Question: How many organizations have the official name Nintendo Co., Ltd. or are owned by Sony?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "organization" .  { ?e <official_name> ?pv . ?pv <pred:value> "Nintendo Co., Ltd." .  } UNION { ?e <owned_by> ?e_1 . ?e_1 <pred:name> "Sony" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Nintendo Co., Ltd.
function: FilterConcept
dependencies: 1
inputs: organization
function: Find
inputs: Sony
function: Relate
dependencies: 3
inputs: owned by
backward
function: FilterConcept
dependencies: 4
inputs: organization
function: Or
dependencies: 2
5
function: Count
dependencies: 6