diff options
author | Nicholas Car <nicholas.car@surroundaustralia.com> | 2020-03-24 20:54:36 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 20:54:36 +1000 |
commit | a86eaa845857e00af5f393204a9546d3c76b08f7 (patch) | |
tree | f2467be5c4f31a8e4bd2ff10cd6d103b3ae12e0c | |
parent | 31fb70710bcfe87a9c3284b24c9633b54c839148 (diff) | |
parent | abd4572256220d010d03dea42cfca3ec3d8d0298 (diff) | |
download | rdflib-a86eaa845857e00af5f393204a9546d3c76b08f7.tar.gz |
Merge pull request #970 from Tpt/patch-1
Allows RDF terms introduced by JSON-LD 1.1
-rw-r--r-- | rdflib/namespace.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rdflib/namespace.py b/rdflib/namespace.py index bea99905..78f71c22 100644 --- a/rdflib/namespace.py +++ b/rdflib/namespace.py @@ -220,7 +220,10 @@ class _RDFNamespace(ClosedNamespace): "nil", # Added in RDF 1.1 - "XMLLiteral", "HTML", "langString"] + "XMLLiteral", "HTML", "langString", + + # Added in JSON-LD 1.1 + "JSON", "CompoundLiteral", "language", "direction"] ) def term(self, name): |