Skip to content

Commit

Permalink
Merge f56373b into d02bed3
Browse files Browse the repository at this point in the history
  • Loading branch information
PuckCh committed Oct 15, 2013
2 parents d02bed3 + f56373b commit 0eedc0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/gettingstarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ A more extensive example:

.. code-block:: python
from rdflib import Graph, Literal, BNode, Namespace, RDF
from rdflib import Graph, Literal, BNode, Namespace, RDF, URIRef
from rdflib.namespace import DC, FOAF
g = Graph()
Expand All @@ -78,7 +78,7 @@ A more extensive example:
donna = BNode()
# Add triples using store's add method.
g.add( (donna, RDF.type, FOAF.Person]) )
g.add( (donna, RDF.type, FOAF.Person) )
g.add( (donna, FOAF.nick, Literal("donna", lang="foo")) )
g.add( (donna, FOAF.name, Literal("Donna Fales")) )
g.add( (donna, FOAF.mbox, URIRef("mailto:donna@example.org")) )
Expand Down

0 comments on commit 0eedc0e

Please sign in to comment.