query-4fd25aea7e8a7c0c9c35b326135db69a

rq turtle/ttl

Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Ljusaste stjärnorna, med bild Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image Brightest stars, with image

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:ImageGrid
# <span lang="en" dir="ltr" class="mw-content-ltr">Brightest celestial bodies</span>
SELECT ?star ?starLabel ?images ?apparent_magnitude
WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en". }
  { SELECT  ?star ?apparent_magnitude ?images
    WHERE {   
      ?star wdt:P31 wd:Q523;
            wdt:P1215 ?apparent_magnitude;
            wdt:P18 ?images .
      FILTER(?apparent_magnitude < 1)
    } LIMIT 10 
  }
} ORDER BY (?apparent_magnitude)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?apparent_magnitude"):::projected v3("?images"):::projected v2("?star"):::projected c7(["wd:Q523"]):::iri c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;,mul,en"]):::literal subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end f0[["?apparent_magnitude < '1^^xsd:integer'"]] f0 --> v1 v2 --"wdt:P31"--> c7 v2 --"wdt:P1215"--> v1 v2 --"wdt:P18"--> v3