lib/rdf/vocab/mods.rb in rdf-vocab-2.2.9 vs lib/rdf/vocab/mods.rb in rdf-vocab-3.0.0
- old
+ new
@@ -8,12 +8,12 @@
# class MODS < RDF::StrictVocabulary
# end
class MODS < RDF::StrictVocabulary("http://www.loc.gov/mods/rdf/v1#")
# Ontology definition
- ontology :"http://www.loc.gov/mods/rdf/v1",
- :"owl:imports" => [%(dc11:).freeze, %(dcmitype:).freeze, %(foaf:).freeze, %(http://id.loc.gov/ontologies/ClassificationSchemes).freeze, %(http://id.loc.gov/ontologies/Identifiers).freeze, %(http://id.loc.gov/ontologies/ResourceTypes).freeze, %(http://id.loc.gov/ontologies/Roles).freeze, %(http://id.loc.gov/ontologies/TargetAudiences).freeze, %(http://purl.org/vocab/changeset/schema).freeze, %(http://purl.org/vocab/vann/).freeze, %(http://vocab.org/changeset/).freeze, %(http://www.loc.gov/mads/rdf/v1).freeze, %(http://www.loc.gov/standards/mads/rdf/v1.rdf).freeze, %(http://www.w3.org/2004/02/skos/core).freeze, %(http://www.w3.org/2008/05/skos-xl).freeze],
+ ontology :"http://www.loc.gov/mods/rdf/v1#",
+ "owl:imports": ["dc11:".freeze, "dcmitype:".freeze, "foaf:".freeze, "http://id.loc.gov/ontologies/ClassificationSchemes".freeze, "http://id.loc.gov/ontologies/Identifiers".freeze, "http://id.loc.gov/ontologies/ResourceTypes".freeze, "http://id.loc.gov/ontologies/Roles".freeze, "http://id.loc.gov/ontologies/TargetAudiences".freeze, "http://purl.org/vocab/changeset/schema".freeze, "http://purl.org/vocab/vann/".freeze, "http://vocab.org/changeset/".freeze, "http://www.loc.gov/mads/rdf/v1".freeze, "http://www.loc.gov/standards/mads/rdf/v1.rdf".freeze, "http://www.w3.org/2004/02/skos/core".freeze, "http://www.w3.org/2008/05/skos-xl".freeze],
type: "owl:Ontology".freeze
# Class definitions
term :Cartographics,
comment: %(Aggregates cartographic properties.).freeze,
@@ -40,12 +40,12 @@
type: "owl:Class".freeze
term :ModsResource,
comment: %(
The resource which is the subject of this description.
).freeze,
+ equivalentClass: "http://id.loc.gov/vocabulary/resourceTypes/Res".freeze,
label: "MODS - A MODS Resource".freeze,
- :"owl:equivalentClass" => %(http://id.loc.gov/vocabulary/resourceTypes/Res).freeze,
type: "owl:Class".freeze
term :NoteGroup,
comment: %(Aggregates a note with its type. ).freeze,
label: "MODS - Note Typed".freeze,
type: "owl:Class".freeze
@@ -99,12 +99,12 @@
range: "xsd:string".freeze,
type: "owl:DatatypeProperty".freeze
property :classification,
comment: %(A designation applied to the resource that indicates the subject by applying a formal system of coding and organizing resources according to subject areas.).freeze,
domain: "mods:ModsResource".freeze,
+ equivalentProperty: "http://id.loc.gov/vocabulary/classSchemes/classification".freeze,
label: "Classification".freeze,
- :"owl:equivalentProperty" => %(http://id.loc.gov/vocabulary/classSchemes/classification).freeze,
type: "owl:AnnotationProperty".freeze
property :classificationGroup,
comment: %(Used when classification scheme is not in controlled vocabulary. Bundles together the classification number with its scheme.).freeze,
domain: "mods:ModsResource".freeze,
label: "Classification Group".freeze,
@@ -235,12 +235,12 @@
range: "mads:GenreForm".freeze,
type: "owl:ObjectProperty".freeze
property :identifier,
comment: %(identifier is a property for which all terms in the "identifier" vocabulary become subproperties. Thus for example 'identifer:isbn' is a subproperty saying in effect "has this ISBN" where 'isbn' is a term within that vocabulary. \(The prefix 'identifier:' is used to denote the namespace for the "identifier" vocabulary.).freeze,
domain: "mods:ModsResource".freeze,
+ equivalentProperty: "identifiers:id".freeze,
label: "Identifier".freeze,
- :"owl:equivalentProperty" => %(identifiers:id).freeze,
range: "xsd:string".freeze,
type: "owl:DatatypeProperty".freeze
property :identifierGroup,
comment: %(Used when identifier type is not in controlled vocabulary. Bundles together the identifier with its type.).freeze,
domain: "mods:ModsResource".freeze,
@@ -630,12 +630,12 @@
property :role,
comment: %(role is an abstract property, for which all terms in the relator vocabulary of roles become subproperties. Thus for example 'relator:artist' refers to the role 'artist' within that vocabulary. \(The prefix 'relator:' is used to denote the namespace for the "relator" vocabulary.
The property 'relator:artist' relates the resource to an artist associated with the resource, represented as a mads name.).freeze,
domain: "mods:ModsResource".freeze,
+ equivalentProperty: "marcrelators:role".freeze,
label: "Role (unbound)".freeze,
- :"owl:equivalentProperty" => %(marcrelators:role).freeze,
type: "owl:ObjectProperty".freeze
property :roleRelationship,
comment: %(Binds a name to the role that the named entity played for the resource. ).freeze,
domain: "mods:ModsResource".freeze,
label: "Role Relationship".freeze,
@@ -767,31 +767,24 @@
subPropertyOf: "mods:title".freeze,
type: "owl:ObjectProperty".freeze
# Extra definitions
term :access,
- label: "access".freeze,
type: ["http://www.loc.gov/mods/rdf/ReformattingQuality".freeze, "owl:NamedIndividual".freeze]
term :date,
comment: %(An abstract property for which date properties in general are subproperties.).freeze,
domain: "mods:ModsResource".freeze,
label: "Date".freeze
term :digitizedAnalog,
- label: "digitizedAnalog".freeze,
type: ["http://www.loc.gov/mods/rdf/DigitalOrigin".freeze, "owl:NamedIndividual".freeze]
term :digitizedMicrofilm,
- label: "digitizedMicrofilm".freeze,
type: ["http://www.loc.gov/mods/rdf/DigitalOrigin".freeze, "owl:NamedIndividual".freeze]
term :integratingResource,
- label: "integratingResource".freeze,
type: ["http://www.loc.gov/mods/rdf/Issuance".freeze, "owl:NamedIndividual".freeze]
term :monographic,
- label: "monographic".freeze,
type: ["http://www.loc.gov/mods/rdf/Issuance".freeze, "owl:NamedIndividual".freeze]
term :reformattedDigital,
- label: "reformattedDigital".freeze,
type: ["http://www.loc.gov/mods/rdf/DigitalOrigin".freeze, "owl:NamedIndividual".freeze]
term :serial,
- label: "serial".freeze,
type: ["http://www.loc.gov/mods/rdf/Issuance".freeze, "owl:NamedIndividual".freeze]
end
end