which subatomic particle in the family of leptons has smallest mass?
Entity
m.02l7x
Electron
class class entity literal
physics.particle physics.subatomic_mass m.0gj2r 0^^http://www.w3.org/2001/XMLSchema#int
physics.particle physics.subatomic_mass physics.particle_family type.float
Subatomic particle Subatomic mass leptons 0
none none none argmin
physics.particle.mass physics.particle.family physics.subatomic_mass.mass
Mass Family Mass
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 :physics.particle . 
?x1 :type.object.type :physics.subatomic_mass . 
VALUES ?x2 { :m.0gj2r } 
{
SELECT (MIN(?y3) AS ?x3)  WHERE { 
?y0 :type.object.type :physics.particle . 
?y1 :type.object.type :physics.subatomic_mass . 
VALUES ?y2 { :m.0gj2r } 
?y0 :physics.particle.mass ?y1 . 
?y0 :physics.particle.family ?y2 . 
?y1 :physics.subatomic_mass.mass ?y3 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y0 != ?y3 && ?y1 != ?y2 && ?y1 != ?y3 && ?y2 != ?y3  )
}
}
?x0 :physics.particle.mass ?x1 . 
?x0 :physics.particle.family ?x2 . 
?x1 :physics.subatomic_mass.mass ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(ARGMIN (AND physics.particle (JOIN physics.particle.family m.0gj2r)) (JOIN physics.particle.mass physics.subatomic_mass.mass))