Question: How many businesses have a member of the New York Giants, or net profit is not -130000000 pound sterling?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "business" .  { ?e_1 <member_of> ?e . ?e_1 <pred:name> "New York Giants" .  } UNION { ?e <net_profit> ?pv . ?pv <pred:unit> "pound sterling" . ?pv <pred:value> ?v . FILTER ( ?v != "-130000000"^^xsd:double ) .  } }
Program:
function: Find
inputs: New York Giants
function: Relate
dependencies: 0
inputs: member of
forward
function: FilterConcept
dependencies: 1
inputs: business
function: FindAll
function: FilterNum
dependencies: 3
inputs: net profit
-130000000 pound sterling
!=
function: FilterConcept
dependencies: 4
inputs: business
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2