Question: How many public companies are the owner of KLM or a subsidiary delicatessen?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public company" .  { ?e <owner_of> ?e_1 . ?e_1 <pred:name> "KLM" .  } UNION { ?e <subsidiary> ?e_1 . ?e_1 <pred:name> "delicatessen" .  } }
Program:
function: Find
inputs: KLM
function: Relate
dependencies: 0
inputs: owner of
backward
function: FilterConcept
dependencies: 1
inputs: public company
function: Find
inputs: delicatessen
function: Relate
dependencies: 3
inputs: subsidiary
backward
function: FilterConcept
dependencies: 4
inputs: public company
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0