Merge pull request #1141 from balhoff/anyuri-types

Output literal datatypes for anyURI types in RDF examples
This commit is contained in:
Grahame Grieve 2023-02-28 16:29:27 +11:00 committed by GitHub
commit 64cea66959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -505,6 +505,8 @@ public class TurtleParser extends ParserBase {
xst = "^^xsd:decimal";
else if (type.equals("base64Binary"))
xst = "^^xsd:base64Binary";
else if (type.equals("canonical") || type.equals("oid") || type.equals("uri") || type.equals("url") || type.equals("uuid"))
xst = "^^xsd:anyURI";
else if (type.equals("instant"))
xst = "^^xsd:dateTime";
else if (type.equals("time"))