更新时间:2023-01-10 08:20:46
由于 SPARQL 1.1 UUID 生成现已成为标准的一部分,并且在 Jena ARQ 中得到支持已有一段时间了.
Since SPARQL 1.1 UUID generation is now part of the standard and has been supported in Jena ARQ for some time now.
UUID() 函数将返回一个 UUID 作为URI
The UUID() function will return a UUID as a URI
StrUUID() 函数将返回一个 UUID 作为字符串
The StrUUID() function will return a UUID as a String
例如
SELECT (UUID() AS ?uuid) (StrUUID() AS ?strUuid) WHERE { }