what election campaign is for the election of california’s 35th state senate district election, 2008 and is of the party democrats?
Entity
m.03yx789
Mayer for State Senate 2008
class entity entity
government.election_campaign m.0d075m m.03yxf3t
government.election_campaign government.political_party government.election
Election campaign democrats California’s 35th State Senate district election, 2008
none none none
government.election_campaign.party government.election_campaign.election
Party (if partisan) Election
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 :government.election_campaign . 
VALUES ?x1 { :m.0d075m } 
VALUES ?x2 { :m.03yxf3t } 
?x0 :government.election_campaign.party ?x1 . 
?x0 :government.election_campaign.election ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND government.election_campaign (AND (JOIN government.election_campaign.party m.0d075m) (JOIN government.election_campaign.election m.03yxf3t)))