Question: How many public companies own JavaScript or whose market capitalization is less than 25000000000 euro?
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_1 <owned_by> ?e . ?e_1 <pred:name> "JavaScript" .  } UNION { ?e <market_capitalization> ?pv . ?pv <pred:unit> "euro" . ?pv <pred:value> ?v . FILTER ( ?v < "25000000000"^^xsd:double ) .  } }
Program:
function: Find
inputs: JavaScript
function: Relate
dependencies: 0
inputs: owned by
forward
function: FilterConcept
dependencies: 1
inputs: public company
function: FindAll
function: FilterNum
dependencies: 3
inputs: market capitalization
25000000000 euro
<
function: FilterConcept
dependencies: 4
inputs: public company
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2