Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 921995ccedb20780e804fda190ca0f7e843d0b1b 1 parent 5820023
Gregg Kellogg gkellogg authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 README.rdoc
4 README.rdoc
Source Rendered
@@ -40,13 +40,13 @@ Write a graph to a file:
40 40 end
41 41
42 42 == Formulae
43   -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:
  43 +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:
44 44
45 45 { [ x:firstname "Ora" ] dc:wrote [ dc:title "Moby Dick" ] } a n3:falsehood .
46 46
47 47 results in
48 48
49   - f = RDF::Node.new
  49 + f = RDF::Graph.new
50 50 s = RDF::Node.new
51 51 o = RDF::Node.new
52 52 RDF::Statement(f, rdf:type n3:falsehood)

0 comments on commit 921995c

Please sign in to comment.
Something went wrong with that request. Please try again.