which olympic demonstration competition was held at 1912 summer olympics?
Entity
m.061f7p
Baseball at the 1912 Summer Olympics
class entity
olympics.olympic_demonstration_competition m.018ljb
olympics.olympic_demonstration_competition olympics.olympic_games
Olympic demonstration competition 1912 Summer Olympics
none none
olympics.olympic_demonstration_competition.olympics_contested_as_demonstration
Olympics contested as demonstration
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 (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :olympics.olympic_demonstration_competition . 
VALUES ?x1 { :m.018ljb } 
?x0 :olympics.olympic_demonstration_competition.olympics_contested_as_demonstration ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND olympics.olympic_demonstration_competition (JOIN olympics.olympic_demonstration_competition.olympics_contested_as_demonstration m.018ljb))