From e778f4c4d5eae091d74c5b7d23db134a37393981 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Tue, 25 Jun 2024 23:50:19 +0200 Subject: [PATCH 1/2] feat (modl): Add purl.org/dc Dublin Core --- models/purl.org/dublin_core_elements.ttl | 145 +++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 models/purl.org/dublin_core_elements.ttl diff --git a/models/purl.org/dublin_core_elements.ttl b/models/purl.org/dublin_core_elements.ttl new file mode 100644 index 00000000..cbf52f5d --- /dev/null +++ b/models/purl.org/dublin_core_elements.ttl @@ -0,0 +1,145 @@ +@prefix rdf: . +@prefix owl: . +@prefix skos: . +@prefix dcam: . +@prefix dcterms: . +@prefix rdfs: . + + + dcterms:modified "2012-06-14"^^ ; + dcterms:publisher ; + dcterms:title "Dublin Core Metadata Element Set, Version 1.1"@en . + + + dcterms:description "The guidelines for using names of persons or organizations as creators also apply to contributors. Typically, the name of a Contributor should be used to indicate the entity."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "An entity responsible for making contributions to the resource."@en ; + rdfs:isDefinedBy ; + rdfs:label "Contributor"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/contributor) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:description "Spatial topic and spatial applicability may be a named place or a location specified by its geographic coordinates. Temporal topic may be a named period, date, or date range. A jurisdiction may be a named administrative entity or a geographic place to which the resource applies. Recommended practice is to use a controlled vocabulary such as the Getty Thesaurus of Geographic Names [[TGN](https://www.getty.edu/research/tools/vocabulary/tgn/index.html)]. Where appropriate, named places or time periods may be used in preference to numeric identifiers such as sets of coordinates or date ranges."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "The spatial or temporal topic of the resource, spatial applicability of the resource, or jurisdiction under which the resource is relevant."@en ; + rdfs:isDefinedBy ; + rdfs:label "Coverage"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/coverage) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:description "Examples of a Creator include a person, an organization, or a service. Typically, the name of a Creator should be used to indicate the entity."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "An entity primarily responsible for making the resource."@en ; + rdfs:isDefinedBy ; + rdfs:label "Creator"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/creator) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:description "Date may be used to express temporal information at any level of granularity. Recommended practice is to express the date, date/time, or period of time according to ISO 8601-1 [[ISO 8601-1](https://www.iso.org/iso-8601-date-and-time-format.html)] or a published profile of the ISO standard, such as the W3C Note on Date and Time Formats [[W3CDTF](https://www.w3.org/TR/NOTE-datetime)] or the Extended Date/Time Format Specification [[EDTF](http://www.loc.gov/standards/datetime/)]. If the full date is unknown, month and year (YYYY-MM) or just year (YYYY) may be used. Date ranges may be specified using ISO 8601 period of time specification in which start and end dates are separated by a '/' (slash) character. Either the start or end date may be missing."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "A point or period of time associated with an event in the lifecycle of the resource."@en ; + rdfs:isDefinedBy ; + rdfs:label "Date"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/date) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:description "Description may include but is not limited to: an abstract, a table of contents, a graphical representation, or a free-text account of the resource."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "An account of the resource."@en ; + rdfs:isDefinedBy ; + rdfs:label "Description"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/description) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:description "Recommended practice is to use a controlled vocabulary where available. For example, for file formats one could use the list of Internet Media Types [[MIME](https://www.iana.org/assignments/media-types/media-types.xhtml)]."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "The file format, physical medium, or dimensions of the resource."@en ; + rdfs:isDefinedBy ; + rdfs:label "Format"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/format) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:description "Recommended practice is to identify the resource by means of a string conforming to an identification system."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "An unambiguous reference to the resource within a given context."@en ; + rdfs:isDefinedBy ; + rdfs:label "Identifier"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/identifier) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:description "Recommended practice is to use either a non-literal value representing a language from a controlled vocabulary such as ISO 639-2 or ISO 639-3, or a literal value consisting of an IETF Best Current Practice 47 [[IETF-BCP47](https://tools.ietf.org/html/bcp47)] language tag."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "A language of the resource."@en ; + rdfs:isDefinedBy ; + rdfs:label "Language"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/language) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:description "Examples of a Publisher include a person, an organization, or a service. Typically, the name of a Publisher should be used to indicate the entity."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "An entity responsible for making the resource available."@en ; + rdfs:isDefinedBy ; + rdfs:label "Publisher"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/publisher) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:description "Recommended practice is to identify the related resource by means of a URI. If this is not possible or feasible, a string conforming to a formal identification system may be provided."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "A related resource."@en ; + rdfs:isDefinedBy ; + rdfs:label "Relation"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/relation) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:description "Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "Information about rights held in and over the resource."@en ; + rdfs:isDefinedBy ; + rdfs:label "Rights"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/rights) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:description "The described resource may be derived from the related resource in whole or in part. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "A related resource from which the described resource is derived."@en ; + rdfs:isDefinedBy ; + rdfs:label "Source"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/source) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:description "Typically, the subject will be represented using keywords, key phrases, or classification codes. Recommended best practice is to use a controlled vocabulary."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "The topic of the resource."@en ; + rdfs:isDefinedBy ; + rdfs:label "Subject"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/subject) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "A name given to the resource."@en ; + rdfs:isDefinedBy ; + rdfs:label "Title"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/title) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . + + + dcterms:description "Recommended practice is to use a controlled vocabulary such as the DCMI Type Vocabulary [[DCMI-TYPE](http://dublincore.org/documents/dcmi-type-vocabulary/)]. To describe the file format, physical medium, or dimensions of the resource, use the Format element."@en ; + dcterms:issued "1999-07-02"^^ ; + a rdf:Property ; + rdfs:comment "The nature or genre of the resource."@en ; + rdfs:isDefinedBy ; + rdfs:label "Type"@en ; + skos:note "A [second property](/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/type) with the same name as this property has been declared in the [dcterms: namespace](http://purl.org/dc/terms/). See the Introduction to the document [DCMI Metadata Terms](/specifications/dublin-core/dcmi-terms/) for an explanation."@en . From ecf0ec0f6519ba830ce8b58a72f16bc8a116c3d6 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Tue, 25 Jun 2024 23:51:06 +0200 Subject: [PATCH 2/2] fix (modl): Add a few (hand-picked) missing Schema.org base DataTypes --- models/schema.org/properties.ttl | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/models/schema.org/properties.ttl b/models/schema.org/properties.ttl index 758a4f66..81f9be83 100644 --- a/models/schema.org/properties.ttl +++ b/models/schema.org/properties.ttl @@ -35,6 +35,14 @@ rdfs:comment "A description of the item." ; owl:equivalentProperty dc:description . +:email a rdf:Property ; + rdfs:label "email" ; + rdfs:comment "Email address." ; + :domainIncludes :ContactPoint, + :Organization, + :Person ; + :rangeIncludes :Text . + :image a rdf:Property ; rdfs:label "image" ; :domainIncludes :Thing ; @@ -42,6 +50,36 @@ :URL ; rdfs:comment "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]]." . +:Boolean a rdfs:Class, :DataType ; + rdfs:label "Boolean" ; + rdfs:comment "Boolean: True or False." . + + +:DataType a rdfs:Class ; + rdfs:label "DataType" ; + rdfs:comment "The basic data types such as Integers, Strings, etc." ; + rdfs:subClassOf rdfs:Class . + +:Date a rdfs:Class, :DataType ; + rdfs:label "Date" ; + rdfs:comment "A date value in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)." . + +:DateTime a rdfs:Class, :DataType ; + rdfs:label "DateTime" ; + rdfs:comment "A combination of date and time of day in the form [-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm] (see Chapter 5.4 of ISO 8601)." . + +:Number a rdfs:Class, :DataType ; + rdfs:label "Number" ; + rdfs:comment "Data type: Number.\\n\\nUsage guidelines:\\n\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator." . + +:Text a rdfs:Class, :DataType ; + rdfs:label "Text" ; + rdfs:comment "Data type: Text." . + +:Time a rdfs:Class, :DataType ; + rdfs:label "Time" ; + rdfs:comment "A point in time recurring on multiple days in the form hh:mm:ss[Z|(+|-)hh:mm] (see [XML schema for details](http://www.w3.org/TR/xmlschema-2/#time))." . + :URL a rdfs:Class ; rdfs:label "URL" ; rdfs:comment "Data type: URL." ;