what is a nebula with an apparent magnitude of at most 8.0?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.032qry m.0180sq m.0cqsrx m.03tfyz m.0blrm1 m.03rv_9 m.01tbtm m.01db0x m.05br1d m.03s0r1 m.01jn15 m.01v8lq m.01xj2c m.01yr9f
Horsehead Nebula Orion Nebula Flame Nebula Omega Nebula Veil Nebula Carina Nebula Tarantula Nebula Helix Nebula California Nebula Lagoon Nebula Trifid Nebula Eagle Nebula Dumbbell Nebula North America Nebula
class literal
astronomy.nebula 8.0^^http://www.w3.org/2001/XMLSchema#float
astronomy.nebula type.float
Nebula 8.0
none <=
astronomy.celestial_object.magnitude
Apparent Magnitude
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 :astronomy.nebula . 
FILTER (?x1 <= "8.0"^^<http://www.w3.org/2001/XMLSchema#float>)
?x0 :astronomy.celestial_object.magnitude ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.nebula (le astronomy.celestial_object.magnitude 8.0^^http://www.w3.org/2001/XMLSchema#float))