Question: What are the number of public companies that own Sun Microsystems or has EU VAT number as FI01120389 ?
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_1 <owned_by> ?e . ?e_1 <pred:name> "Sun Microsystems" .  } UNION { ?e <EU_VAT_number> ?pv . ?pv <pred:value> "FI01120389" .  } }
Program:
function: Find
inputs: Sun Microsystems
function: Relate
dependencies: 0
inputs: owned by
forward
function: FilterConcept
dependencies: 1
inputs: public company
function: FindAll
function: FilterStr
dependencies: 3
inputs: EU VAT number
FI01120389
function: FilterConcept
dependencies: 4
inputs: public company
function: Or
dependencies: 2
5
function: Count
dependencies: 6