query-0f74bd7e506215d2b5cd0c2d0187334f

rq turtle/ttl

ConstellationsCan find the constellations without hitting a time limit. https://www.iau.org/public/themes/constellations/ http://pbarbier.com/constellations/boundaries.html#:~:text=Original%20boundary%20data%20The%20original%20constellation%20boundary%20data,a%20sequence%20of%20vertices%2C%20one%20vertex%20per%20lineBoundaries of the constellations (B1875):

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#>
SELECT ?constellation ?constellationLabel WHERE {
  # there are 88 constellations
  # this returns 462 results
  # there are Chinese constellations
  # Pisces instance of constellation and zodiacal constellation
  # ?constellation wdt:P31/wdt:P279* wd:Q8928 .

  # try simpler
  # this has 89 results
  #   there are two Musca constellations: wd:Q10435 wd:Q6940204
  # soms has part...
  #   for Orion, a part is the asterism Orion's belt, which has parts
  ?constellation wdt:P31 wd:Q8928 .

  SERVICE wikibase:label {
     bd:serviceParam wikibase:language "en" .
  }
} ORDER BY ?constellationLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?constellation"):::projected v1("?constellationLabel"):::projected c4(["bd:serviceParam"]):::iri c2(["wd:Q8928"]):::iri c6(["en"]):::literal v2 --"wdt:P31"--> c2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end