• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ruby-rdf / rdf-trig / 14785116514

01 May 2025 11:04PM UTC coverage: 92.887% (+0.03%) from 92.857%
14785116514

push

github

gkellogg
Updates for TriG grammar and 1.2 semantics.

1 of 1 new or added line in 1 file covered. (100.0%)

222 of 239 relevant lines covered (92.89%)

187.64 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/lib/rdf/trig.rb
1
require 'rdf'
2✔
2
require 'rdf/turtle'
2✔
3

4
module RDF
2✔
5
  ##
6
  # **`RDF::TriG`** is an TriG extension for RDF.rb.
7
  #
8
  # @example Requiring the `RDF::TriG` module
9
  #   require 'rdf/trig'
10
  #
11
  # @example Parsing RDF statements from an TriG file
12
  #   RDF::TriG::Reader.open("etc/foaf.trig") do |reader|
13
  #     reader.each_statement do |statement|
14
  #       puts statement.inspect
15
  #     end
16
  #   end
17
  #
18
  # @see https://ruby-rdf.github.io/rdf-turtle/
19
  # @see https://ruby-rdf.github.io/rdf/master/
20
  # @see https://www.w3.org/TR/trig/
21
  #
22
  # @author [Gregg Kellogg](https://greggkellogg.net/)
23
  module TriG
2✔
24
    require  'rdf/trig/format'
2✔
25
    autoload :Reader,     'rdf/trig/reader'
2✔
26
    autoload :VERSION,    'rdf/trig/version'
2✔
27
    autoload :Writer,     'rdf/trig/writer'
2✔
28
  end
29
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc