summaryrefslogtreecommitdiff
path: root/docs/graphs_bnodes.rst
diff options
context:
space:
mode:
authorgjhiggins <devnull@localhost>2010-08-05 12:30:19 +0000
committergjhiggins <devnull@localhost>2010-08-05 12:30:19 +0000
commit6cd47fbddd63ab19ed120cd602f05e082162edc0 (patch)
tree12c015669c5f6d21769dc050526d2777afa34172 /docs/graphs_bnodes.rst
parent07a84a25aabee8572093078fc1cd5e7462b52e19 (diff)
downloadrdflib-6cd47fbddd63ab19ed120cd602f05e082162edc0.tar.gz
Begin to bring documentation up to date w.r.t. 3.0.0
Diffstat (limited to 'docs/graphs_bnodes.rst')
-rw-r--r--docs/graphs_bnodes.rst16
1 files changed, 9 insertions, 7 deletions
diff --git a/docs/graphs_bnodes.rst b/docs/graphs_bnodes.rst
index aa057336..916cb00b 100644
--- a/docs/graphs_bnodes.rst
+++ b/docs/graphs_bnodes.rst
@@ -11,7 +11,7 @@ Clarifying the query more precisely:
.. code-block:: pycon
- >>> from rdflib.Graph import Graph, ConjunctiveGraph
+ >>> from rdflib.graph import Graph, ConjunctiveGraph
>>> from rdflib import URIRef
[1]
@@ -38,14 +38,16 @@ Clarifying the query more precisely:
>>> graph1.identifier
rdflib.BNode('VLjQILCh4')
-In [1] when I mention the Graph identifier the return is a persistent
+In [1] when I mention the Graph identifier, the return is a persistent
URIRef (i.e. it can be used out of the current model as well) which
gives me a unique name for the graph and now I am free to use it in
-other model as well - may be it can be used for merging graphs. Where
-as in [2] and [3] when I mention Graph identifier the return is a
-BNode which changes values every time we invoke it (and hence BNodes
-have local scope and are not good for using outside the model). My
-query was simply to know why the Model "identifier" is giving BNode in
+other model as well - maybe it can be used for merging graphs.
+
+Whereas in [2] and [3], when I mention Graph identifier the return is a
+BNode which changes value every time we invoke it (and hence BNodes
+have local scope and are not good for using outside the model).
+
+My query was simply to know why the Model "identifier" is giving BNode in
[2] comparing to a persistent URI in case [1]? In ConjunctiveGraph,
identifier is inherited from the Graph class.