Question: How many organizations own Capitol Records or are located in the continent of Europe?
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> "organization" .  { ?e_1 <owned_by> ?e . ?e_1 <pred:name> "Capitol Records" .  } UNION { ?e <continent> ?e_1 . ?e_1 <pred:name> "Europe" .  } }
Program:
function: Find
inputs: Capitol Records
function: Relate
dependencies: 0
inputs: owned by
forward
function: FilterConcept
dependencies: 1
inputs: organization
function: Find
inputs: Europe
function: Relate
dependencies: 3
inputs: continent
backward
function: FilterConcept
dependencies: 4
inputs: organization
function: Or
dependencies: 2
5
function: Count
dependencies: 6