Class: RDF::Normalize::Base
- Inherits:
-
Object
- Object
- RDF::Normalize::Base
- Defined in:
- lib/rdf/normalize/base.rb
Overview
Abstract class for pluggable normalization algorithms. Delegates to a default or selected algorithm if instantiated
Direct Known Subclasses
Instance Attribute Summary collapse
-
#dataset ⇒ Object
readonly
Returns the value of attribute dataset.
Instance Method Summary collapse
-
#each {|statement| ... } ⇒ Object
Enumerates normalized statements.
-
#to_hash ⇒ Hash{String => String}
Returns a map from input blank node identifiers to canonical blank node identifiers.
Instance Attribute Details
#dataset ⇒ Object (readonly)
Returns the value of attribute dataset.
5 6 7 |
# File 'lib/rdf/normalize/base.rb', line 5 def dataset @dataset end |
Instance Method Details
#each {|statement| ... } ⇒ Object
Enumerates normalized statements
11 12 13 |
# File 'lib/rdf/normalize/base.rb', line 11 def each(&block) raise "Not Implemented" end |
#to_hash ⇒ Hash{String => String}
Returns a map from input blank node identifiers to canonical blank node identifiers.
18 19 20 |
# File 'lib/rdf/normalize/base.rb', line 18 def to_hash raise "Not Implemented" end |