Question: How many agents influenced Justin Bieber or whose Japan Corporate Number is 6010001034809?
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_1 <influenced_by> ?e . ?e_1 <pred:name> "Justin Bieber" .  } UNION { ?e <Corporate_Number_(Japan)> ?pv . ?pv <pred:value> "6010001034809" .  } }
Program:
function: Find
inputs: Justin Bieber
function: Relate
dependencies: 0
inputs: influenced by
forward
function: FilterConcept
dependencies: 1
inputs: agent
function: FindAll
function: FilterStr
dependencies: 3
inputs: Corporate Number (Japan)
6010001034809
function: FilterConcept
dependencies: 4
inputs: agent
function: Or
dependencies: 2
5
function: Count
dependencies: 6