who appointed members to senate?
Entity
m.021l9k
Kevin Rudd
class class entity
government.political_appointer government.government_position_held m.0162kb
government.political_appointer government.government_position_held government.governmental_body
Political Appointer Government Position Held senate
none none none
government.government_position_held.appointed_by government.governmental_body.members
Appointed By (if Position is Appointed) Members
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.political_appointer . 
?x1 :type.object.type :government.government_position_held . 
VALUES ?x2 { :m.0162kb } 
?x1 :government.government_position_held.appointed_by ?x0 . 
?x2 :government.governmental_body.members ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND government.political_appointer (JOIN (R government.government_position_held.appointed_by) (JOIN (R government.governmental_body.members) m.0162kb)))