Sha256: df8f83248b5dc9d5ef82b1f6a3261bd22d674ff9dcd0e90c3b9cca0c364cb130

Contents?: true

Size: 1.15 KB

Versions: 16

Compression:

Stored size: 1.15 KB

Contents

module Hydra::Works::Characterization
  class DocumentSchema < ActiveTriples::Schema
    property :file_title, predicate: RDF::Vocab::DC11.title
    property :creator, predicate: RDF::Vocab::DC11.creator
    property :page_count, predicate: RDF::Vocab::NFO.pageCount
    property :language, predicate: RDF::Vocab::DC11.language
    property :word_count, predicate: RDF::Vocab::NFO.wordCount
    property :character_count, predicate: RDF::Vocab::NFO.characterCount
    property :line_count, predicate: RDF::Vocab::NFO.lineCount
    property :character_set, predicate: RDF::URI.new("http://www.w3.org/2011/content#characterEncoding")
    property :markup_basis, predicate: RDF::URI.new("http://www.w3.org/2011/content#doctypeName")
    property :markup_language, predicate: RDF::URI.new("http://www.w3.org/2011/content#systemId")
    # properties without canonical URIs
    property :paragraph_count, predicate: RDF::URI.new("http://projecthydra.org/ns/odf/paragraphCount")
    property :table_count, predicate: RDF::URI.new("http://projecthydra.org/ns/odf/tableCount")
    property :graphics_count, predicate: RDF::URI.new("http://projecthydra.org/ns/odf/graphicsCount")
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
hydra-works-2.2.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-2.1.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-2.0.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-1.2.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-1.1.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-1.0.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-0.17.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-0.16.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-0.15.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-0.12.1 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-0.14.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-0.13.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-0.12.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-0.11.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-0.10.0 lib/hydra/works/characterization/schema/document_schema.rb
hydra-works-0.9.0 lib/hydra/works/characterization/schema/document_schema.rb