Merge pull request #1141 from balhoff/anyuri-types
Output literal datatypes for anyURI types in RDF examples
This commit is contained in:
commit
64cea66959
|
@ -505,6 +505,8 @@ public class TurtleParser extends ParserBase {
|
||||||
xst = "^^xsd:decimal";
|
xst = "^^xsd:decimal";
|
||||||
else if (type.equals("base64Binary"))
|
else if (type.equals("base64Binary"))
|
||||||
xst = "^^xsd: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"))
|
else if (type.equals("instant"))
|
||||||
xst = "^^xsd:dateTime";
|
xst = "^^xsd:dateTime";
|
||||||
else if (type.equals("time"))
|
else if (type.equals("time"))
|
||||||
|
|
Loading…
Reference in New Issue