MarkLogic 9 Product Documentation
sem:uuid

sem:uuid() as sem:iri

Summary

Return a UUID URN (RFC4122) as a sem:iri value. This XQuery function backs up the SPARQL UUID() function.

This function is a built-in.

Example

sem:uuid()
=>
urn:uuid:3e25ff09-c6a8-4176-bb83-b771a9eb0e4c
Powered by MarkLogic Server | Terms of Use | Privacy Policy