Question: How many metropolitan boroughs are different from the city that is unlike Nokia (whose net profit is 2468000000 euros)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e <different_from> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_2 <different_from> ?e_1 . ?e_2 <pred:name> "Nokia" . ?e_2 <net_profit> ?pv_1 . ?pv_1 <pred:unit> "euro" . ?pv_1 <pred:value> "2468000000"^^xsd:double .   }
Program:
function: Find
inputs: Nokia
function: FilterNum
dependencies: 0
inputs: net profit
2468000000 euro
=
function: Relate
dependencies: 1
inputs: different from
forward
function: FilterConcept
dependencies: 2
inputs: city
function: Relate
dependencies: 3
inputs: different from
backward
function: FilterConcept
dependencies: 4
inputs: metropolitan borough
function: Count
dependencies: 5