1. rdf-ntriples
    1. Examples
      1. Reading RDF/N-Triples data
      2. Writing RDF/N-Triples data
    2. Author
    3. Requires
    4. Input and output
      1. read-rdf-ntriple
      2. read-rdf-ntriples
      3. write-rdf-ntriple
      4. write-rdf-ntriples
    5. License
    6. Version history

rdf-ntriples

This egg provides reading and writing functionality for the RDF/N-Triples serialization format.

(More documentation coming soon.)

Examples

Reading RDF/N-Triples data

TODO

#;1> (use rdf-ntriples uri-literals)

(call-with-input-file "input.nt" read-rdf-ntriples)

Writing RDF/N-Triples data

TODO

#;1> (use rdf-ntriples uri-literals)

(define *triples* '())

(with-output-to-file "output.nt" (lambda () (write-rdf-ntriples *triples*)))

Author

Arto Bendiken

Requires

Input and output

read-rdf-ntriple

[procedure] (read-rdf-ntriple [PORT])

read-rdf-ntriples

[procedure] (read-rdf-ntriples [PORT])

write-rdf-ntriple

[procedure] (write-rdf-ntriple TRIPLE [PORT])

write-rdf-ntriples

[procedure] (write-rdf-ntriples TRIPLES [PORT])

License

 Copyright (c) 2006-2007 Arto Bendiken.
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
 deal in the Software without restriction, including without limitation the
 rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 sell copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 
 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 IN THE SOFTWARE.

Version history

Not released yed, but available from SVN.