Structured data by Ciro Santilli 34 Updated +Created
Getting a list of all currencies from Wikidata with SPARQL by Ciro Santilli 34 Updated +Created
I've had a bit more fun with SPARQL and Wikidata.
This one was way harder than my previous fun with "find the oldest people who won a given prize" (Nobel Prize/Oscar) mastodon.social/@cirosantilli/112689376315990248 because unlike those prizes where all the decisions are centralized, countries are much more complicated beasts, with changing currencies and international recognition.
This was a good experience to see a few ways in which Wikidata is inconsistent, with the same concept being expressed in multiple different ways, e.g. "end time" property of the current vs the superior "end time" qualifier.
Particularly bad is the notion of a "deprecated rank", that should really not exist.
This is exactly the type of semi interactive data munching that I like to do, a bit in the same vein as CIA 2010 covert communication websites and Cool data embedded in the Bitcoin blockchain.
As you might imagine, the secret services use exactly this type of knowledge modelling to do their dirty business, e.g. Gaffer by the GCHQ.
If only I weren't such a rebel, I'd be a perfect fit for the intelligence agencies.
This is the best monstrosity I had the patience to come up with:
SELECT
  ?currency
  (GROUP_CONCAT(DISTINCT ?currencyIsoCode; SEPARATOR=", ") AS ?currencyIsoCodes)
  ?currencyLabel
  (GROUP_CONCAT(DISTINCT ?countryLabel; SEPARATOR=", ") AS ?countries)
WHERE {
  ?country wdt:P31/wdt:P279* wd:Q6256. # is country
  ?country p:P38 ?countryHasCurrency.
  ?countryHasCurrency ps:P38 ?currency.
  ?countryHasCurrency wikibase:rank ?countryHasCurrencyRank.
  OPTIONAL {
    ?currency p:P498 ?currencyHasIsoCode.
    ?currencyHasIsoCode ps:P498 ?currencyIsoCode.
  }
  FILTER NOT EXISTS {?country wdt:P576 ?countryAbolished}
  FILTER NOT EXISTS {?currency wdt:P576 ?currencyAbolished}
  FILTER NOT EXISTS {?currency wdt:P582 ?currencyEndTime}
  FILTER NOT EXISTS {?countryHasCurrency pq:P582 ?countryHasCurrencyEndtime}
  FILTER (?countryHasCurrencyRank != wikibase:DeprecatedRank)
  FILTER (!bound(?currencyHasIsoCode) || ?currencyHasIsoCode != wikibase:DeprecatedRank)
  # TODO makes query take timeout? Why? Needed to exclude PLZ.
  FILTER NOT EXISTS {?currencyHasIsoCode pq:P582 ?currencyHasIsoCodeEndtime}
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en".
    ?currency rdfs:label ?currencyLabel .
    ?country rdfs:label ?countryLabel .
  }
}
GROUP BY ?currency ?currencyLabel
ORDER BY ?currencyIsoCodes ?currencyLabel
It got quite close to the ISO 4217 list.
I was drawn into this waste of time after I noticed that someone had managed to create the Wikipedia of PsiQuantum which I had tried earlier but got deleted: mastodon.social/@cirosantilli/113488891292906243, and then I made the mistake of having a look at the Wikidata page of PsiQuantum.
Figure 1.
500,000 Transnistrian ruble banknote 1997 series
. This is one of the most widely used currencies which does not have an ISO 4217 code.
Another highlight was 1913 Nobel Prize in Chemistry laureate Alfred Werner who born either in Mulhouse in Alsace, France, or in "Yo no sé qué me pasó" ("I don't know what happened to me" in Spanish), a 1986 song by Mexican singer Juan Gabriel.
Chinese music by Ciro Santilli 34 Updated +Created
Video 1.
Who said I forgot my hometown?
Source. TODO singer, composer. Starts with: 谁说我把故乡遗忘, 梦中我又回到故乡 (Who said I forgot my hometown? I go back to my hometown in my dreams.)
There is a method to my madness by Ciro Santilli 34 Updated +Created
Wikibase by Ciro Santilli 34 Updated +Created
The software that powers Wikidata. Wikidata is an instance of Wikibase.
Serai DEX clearcoin traceability by Ciro Santilli 34 Updated +Created
Can anyone know that clearcoins came from Serai DEX? Because if they can, exchanges could just blacklist anything coming from Serai DEX.
Ciro Santilli asked at: x.com/cirosantilli/status/1855332323405009047. They replied, and the answer is yes, it is possible to know that clearcois came from Serai: x.com/SeraiDEX/status/1855337686208516523:
Serai is fully auditable. With that is full transparency into all outputs received, and all outputs sent
Removing auditability would massively incrase complexity and force users into needing to make fraud proofs if they didn't receive coins expected, or require extreme ZK proofs
Rabi resonance method by Ciro Santilli 34 Updated +Created
Chuck Easttom by Ciro Santilli 34 Updated +Created
ISBN: 3031664760.
Certainly he looks after his image very strictly, endlessly saying how good he is. And he is definitely a high flying bird. Perhaps it is hard to differentiate genius from mad applies.
Video 1.
EC-Council Certified Encryption Specialist (ECES) with Chuck Easttom
. Source. Check saying how amazing he is.
Denny Vrandečić by Ciro Santilli 34 Updated +Created
PennyLane by Ciro Santilli 34 Updated +Created
By Xanadu.
Apparently meant to be higher level.
Homepage: pennylane.ai/
Hardware for Quantum Computing by Chuck Easttom by Ciro Santilli 34 Updated +Created
This book is mostly a failure unfortunately, as it glosses far too quickly over the physical implementations.
THORSwap by Ciro Santilli 34 Updated +Created
This was the big one as of 2024. The one big thing it was missing was Monero support. Serai DEX was the most likely project to achieve Monero support at that point in time.
Serai DEX by Ciro Santilli 34 Updated +Created
As of 2024 this was the one making the most likely promises of being the first decentralized exchange to support Monero.
Wikimedia Foundation employee by Ciro Santilli 34 Updated +Created
Paper published on Physical Review by Ciro Santilli 34 Updated +Created
History of NMR by Ciro Santilli 34 Updated +Created

There are unlisted articles, also show them or only show them.