alben barkley is the vice president of which us president?
Entity
m.09bg4l
Harry S. Truman
class entity
government.us_president m.0myyb
government.us_president government.us_vice_president
US President alben barkley
none none
government.us_president.vice_president
Vice president
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.us_president . 
VALUES ?x1 { :m.0myyb } 
?x0 :government.us_president.vice_president ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND government.us_president (JOIN government.us_president.vice_president m.0myyb))