Permalink
Browse files

Use Node for context and graph reference. This means that a reference…

… to an empty graph will look like just a node, not a graph.
  • Loading branch information...
1 parent 921995c commit 8227cd660e1a13f234d3d524249f37a3e80b70c6 @gkellogg gkellogg committed Dec 14, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.rdoc
View
@@ -40,13 +40,13 @@ Write a graph to a file:
end
== Formulae
-N3 Formulae are introduced with the { statmenent-list } syntax. A given formula is assigned an RDF::Graph instance, which is also used as the context for RDF::Statement instances provided to RDF::N3::Reader#each_statement. For example, the following N3 generates the associated statements:
+N3 Formulae are introduced with the { statmenent-list } syntax. A given formula is assigned an RDF::Node instance, which is also used as the context for RDF::Statement instances provided to RDF::N3::Reader#each_statement. For example, the following N3 generates the associated statements:
{ [ x:firstname "Ora" ] dc:wrote [ dc:title "Moby Dick" ] } a n3:falsehood .
results in
- f = RDF::Graph.new
+ f = RDF::Node.new
s = RDF::Node.new
o = RDF::Node.new
RDF::Statement(f, rdf:type n3:falsehood)

0 comments on commit 8227cd6

Please sign in to comment.