summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Car <nicholas.car@surroundaustralia.com>2020-03-24 20:54:36 +1000
committerGitHub <noreply@github.com>2020-03-24 20:54:36 +1000
commita86eaa845857e00af5f393204a9546d3c76b08f7 (patch)
treef2467be5c4f31a8e4bd2ff10cd6d103b3ae12e0c
parent31fb70710bcfe87a9c3284b24c9633b54c839148 (diff)
parentabd4572256220d010d03dea42cfca3ec3d8d0298 (diff)
downloadrdflib-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.py5
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):