Sha256: 13c3ab48ab4adc2961c26b2eb6c45a4951f4d76e6c04e4566c6f57caa1d380f9

Contents?: true

Size: 558 Bytes

Versions: 2

Compression:

Stored size: 558 Bytes

Contents

module RDF::Normalize
  ##
  # Abstract class for pluggable normalization algorithms. Delegates to a default or selected algorithm if instantiated
  class Base
    attr_reader :dataset

    # Enumerates normalized statements
    #
    # @yield statement
    # @yieldparam [RDF::Statement] statement
    def each(&block)
      raise "Not Implemented"
    end

    # Returns a map from input blank node identifiers to canonical blank node identifiers.
    #
    # @return [Hash{String => String}]
    def to_hash
      raise "Not Implemented"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rdf-normalize-0.7.0 lib/rdf/normalize/base.rb
rdf-normalize-0.6.1 lib/rdf/normalize/base.rb