was the fattest character created by ken akamatsu male or female?
Entity Entity
m.02zsn m.05zppz
Female Male
class class entity literal
fictional_universe.character_gender tv.tv_character m.01cqvl 0^^http://www.w3.org/2001/XMLSchema#int
fictional_universe.character_gender tv.tv_character fictional_universe.fictional_character_creator type.float
Character Gender TV Character Ken Akamatsu 0
none none none argmax
fictional_universe.fictional_character.gender fictional_universe.fictional_character.character_created_by people.person.weight_kg
Gender Character Created By Weight
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 :fictional_universe.character_gender . 
?x1 :type.object.type :tv.tv_character . 
VALUES ?x2 { :m.01cqvl } 
{
SELECT (MAX(?y3) AS ?x3)  WHERE { 
?y0 :type.object.type :fictional_universe.character_gender . 
?y1 :type.object.type :tv.tv_character . 
VALUES ?y2 { :m.01cqvl } 
?y1 :fictional_universe.fictional_character.gender ?y0 . 
?y1 :fictional_universe.fictional_character.character_created_by ?y2 . 
?y2 :people.person.weight_kg ?y3 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y0 != ?y3 && ?y1 != ?y2 && ?y1 != ?y3 && ?y2 != ?y3  )
}
}
?x1 :fictional_universe.fictional_character.gender ?x0 . 
?x1 :fictional_universe.fictional_character.character_created_by ?x2 . 
?x2 :people.person.weight_kg ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(ARGMAX fictional_universe.character_gender (JOIN (R fictional_universe.fictional_character.gender) (JOIN fictional_universe.fictional_character.character_created_by people.person.weight_kg)))