User:HotMess
Jump to navigation
Jump to search
This is a Wikidata user page. If you find this page on any site other than Wikidata (www.wikidata.org), you are viewing a mirror site. Be aware that the page may be outdated, and that the user this page belongs to may have no personal affiliation with any site other than Wikidata itself. The original page is located at https://www.wikidata.org/wiki/User:HotMess. |
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:
---
- 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 ]
] .
}
}
--