User:HotMess

From Wikidata
Jump to navigation Jump to search
Unified login: HotMess is the unique login of this user for all public Wikimedia projects.


about me

I'll fill this in when I think of something to put here.

i contribute sometimes i guess

this is here in case I get a case of the 'i forgor': User:HotMess/common.js


some queries for future reference:

---

  1. Rollercoasters with height and length
SELECT ?coaster ?coasterLabel ?height ?heightUnitLabel ?length ?lengthUnitLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?coaster (wdt:P31/(wdt:P279*)) wd:Q1640829.
  # rollercoaster: wd:Q204832
  # hypercoaster: wd:Q1640829
  # gigacoaster: wd:Q42178109
  # stratacoaster: wd:Q112769012
  
  # TODO: get heights on same scale as each other
  OPTIONAL {
    ?coaster p:P2048 [
      a wikibase:BestRank ; 
      psv:P2048 [
        wikibase:quantityAmount ?height ; wikibase:quantityUnit ?heightUnit ]
      ] .
  }
  # TODO: get lengths on same scale as each other
  OPTIONAL {
    ?coaster p:P2043 [
      a wikibase:BestRank ; 
      psv:P2043 [
        wikibase:quantityAmount ?length ; wikibase:quantityUnit ?lengthUnit ]
      ] .
  }
}
Try it!

--