From this example I see:
# The SPARQL UUID a STRUUID functions can be used to generate unique IRIs and Strings, respectively. BIND(BNODE(CONCAT("price-", STRUUID())) AS ?price_bnode)
Thanks, Radu
There's not really a correlation between SMS (the example you linked) and Python, however I did find a Python library to generate UUIDs: uuid — UUID objects according to RFC 4122 — Python 3.11.1 documentation
thought so too - thanks