Skip to content

Issue/633 media type #1095

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/release_notes/Issue-633-MediaType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
### Major Updates

- `gist:MediaType` & `gist:uniqueText`
- Added `gist:uniqueText` restriction to `gist:MediaType`. Issue [633](https://github.com/semanticarts/gist/issues/633).
- Added example and scope note annotations to `gist:MediaType`.
- Added `gist:MediaType` to `gist:domainIncludes` for `gist:uniqueText`.
12 changes: 11 additions & 1 deletion ontologies/gistCore.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -1478,10 +1478,19 @@ gist:MassUnit

gist:MediaType
a owl:Class ;
rdfs:subClassOf gist:Category ;
rdfs:subClassOf
gist:Category ,
[
a owl:Restriction ;
owl:onProperty gist:uniqueText ;
owl:someValuesFrom xsd:string ;
]
;
rdfs:seeAlso <https://www.iana.org/assignments/media-types/media-types.xhtml> ;
skos:definition "A digitized type that computer applications can recognize."^^xsd:string ;
skos:example "application/sparql-results+xml"^^xsd:string ;
skos:prefLabel "Media Type"^^xsd:string ;
skos:scopeNote "The unique text for an IANA media type is the concatenation of the 'Type name', a slash '/', and the 'Subtype name' as provided on the page displayed when you resolve the URI of the media type."^^xsd:string ;
.

gist:Medium
Expand Down Expand Up @@ -3941,6 +3950,7 @@ gist:uniqueText
skos:scopeNote "The uniqueness only goes in one direction. A product catalog number might also be an employee identifier."^^xsd:string ;
gist:domainIncludes
gist:ID ,
gist:MediaType ,
gist:Text
;
.
Expand Down
Loading