which us presidential campaigns were affiliated with the 2004 presidential election?
Value
2
class entity
government.us_presidential_campaign m.04qwhs
government.us_presidential_campaign government.election
US Presidential campaign 2004 presidential election
count none
government.election_campaign.election
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 (COUNT(?x0) AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :government.us_presidential_campaign . 
VALUES ?x1 { :m.04qwhs } 
?x0 :government.election_campaign.election ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND government.us_presidential_campaign (JOIN government.election_campaign.election m.04qwhs)))