query-1f7c0eb8b68b28182c9d535636d4fa4c

rq turtle/ttl

الأجسام الأكثر كتلة Objects with most mass Objects with most mass Objekty s největší hmotností Objects with most mass Objects with most mass Objects with most mass Objects with most mass Objects with most mass Objects with most mass Objects with most mass Objets les plus massifs Objects with most mass Objects with most mass Objects with most mass Oggetti con più massa Objects with most mass Objects with most mass Objects with most mass Objects with most mass Objects with most mass Objecten met de meeste massa Objects with most mass Objects with most mass Objects with most mass Objects with most mass Objects with most mass Objekt med mest massa Objects with most mass Objects with most mass Objects with most mass Objects with most mass 质量最大的物体

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psn: <http://www.wikidata.org/prop/statement/value-normalized/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?object ?objectLabel ?mass WHERE {
  {
    SELECT ?object (MAX(?mass) AS ?mass) WHERE {
      ?object p:P2067/psn:P2067/wikibase:quantityAmount ?mass.
      MINUS { ?object wdt:P31 wd:Q3647172. }
    }
    GROUP BY ?object
    ORDER BY DESC(?mass)
    LIMIT 100
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY DESC(?mass)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?mass"):::projected v2("?object"):::projected a1((" ")) a2((" ")) c7(["bd:serviceParam"]):::iri c5(["wd:Q3647172"]):::iri c9(["en"]):::literal v2 --"p:P2067"--> a1 a1 --"p:statement/value-normalized/P2067"--> a2 a2 --"wikibase:quantityAmount"--> v3 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v2 --"p:direct/P31"--> c5 end bind2[/"max(?mass)"/] v3 --o bind2 bind2 --as--o v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end