sem:uuid() as sem:iri
Return a UUID URN (RFC4122) as a sem:iri value. This XQuery function backs up the SPARQL UUID() function.
sem:iri
This function is a built-in.
sem:uuid() => urn:uuid:3e25ff09-c6a8-4176-bb83-b771a9eb0e4c
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.