Found that pesky missing Namespace bug. · RDFLib/rdflib@7a41f34 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Commit 7a41f34

Found that pesky missing Namespace bug.

Thanks @tbugs !

File tree

3 files changed

lines changed

3 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -65,6 +65,7 @@
65 65 "URIRef",
66 66 "BNode",
67 67 "Literal",
68 +"Namespace",
68 69 "Variable",
69 70 "Dataset",
70 71 "Graph",
Original file line number Diff line number Diff line change
@@ -29,7 +29,6 @@
29 29 Start by importing things we need and define some namespaces::
30 30
31 31 >>> from rdflib import *
32 - >>> from rdflib import Namespace
33 32 >>> FOAF = Namespace("http://xmlns.com/foaf/0.1/")
34 33 >>> CV = Namespace("http://purl.org/captsolo/resume-rdf/0.2/cv#")
35 34
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
1 1 from __future__ import print_function
2 2
3 3 from rdflib import *
4 -# TODO: Figure out why this has to be explicit
5 -from rdflib import Namespace
6 4 from rdflib.collection import Collection
7 5
8 6