From SPARQL Working Group
Jump to: navigation, search



Thank you for the comment.

The working group agrees that there are use case where such a function would be useful. The functions UUID(), which generates a URN UUID IRI, and StrUUID(), which generates the string format for a UUID, have been added to the SPARQL function library.

On behalf of SPARQL-WG

> One useful feature I would like to see in SPARQL is a string function
> that returns a 128 bit UUID (as defined by [3]).  This could be used
> to construct IRIs [4] or string literals.  In particular, this would
> assist greatly in minting new resources in a query for entities that
> may not otherwise lend themselves to a good naming scheme.