Sha256: 2d58236c3f78bda43ada5e378f635462e5a4f9cca20a6768047bf9ec43d851d6
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
Contents
module Hydra::Works::Characterization class DocumentSchema < ActiveTriples::Schema property :file_title, predicate: RDF::DC11.title property :file_author, predicate: RDF::DC11.creator property :page_count, predicate: RDF::Vocab::NFO.pageCount property :file_language, predicate: RDF::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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hydra-works-0.3.0 | lib/hydra/works/characterization/schema/document_schema.rb |