Class | Redland::Parser |
In: |
lib/rdf/redland/parser.rb
|
Parent: | Object |
The Parser class for rdf. There are currently three types of parsers *’rdfxml’- a rdf parser *’ntriples’ a An triples parser *’turtle’ - a parser for the turtle syntax as defined in
http://www.dajobe.org/2004/01/turtle/
*’rss-tag-soup’ - a parser for all RSS flavours and some atom *’grddl’ - GRDDL
The last two may or may not be available depending on systems.
model = Model.new() parser = Parser.ntriples() parser.parse_into_model(model,'file:./ical.rdf')