find many olympic disciplines are there in barcelona summer olympics sports.
Value
2
class entity
olympics.olympic_sport m.0l6m5
olympics.olympic_sport olympics.olympic_games
Olympic discipline barcelona summer olympics
count none
olympics.olympic_games.demonstration_sports
Demonstration sports
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (COUNT(?x0) AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :olympics.olympic_sport . 
VALUES ?x1 { :m.0l6m5 } 
?x1 :olympics.olympic_games.demonstration_sports ?x0 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND olympics.olympic_sport (JOIN (R olympics.olympic_games.demonstration_sports) m.0l6m5)))