-
Notifications
You must be signed in to change notification settings - Fork 19
Fix #67 - Stan ContentTypes and R #508
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| { | ||
| "@context": { | ||
| "@vocab": "https://openminds.om-i.org/props/" | ||
| }, | ||
| "@id": "https://openminds.om-i.org/instances/contentTypes/text_x-r", | ||
| "@type": "https://openminds.om-i.org/types/ContentType", | ||
| "dataType": null, | ||
| "definingSource": null, | ||
| "description": "An R script is a text file that stores the R commands you would normally type at the R command prompt.", | ||
| "displayLabel": "R script", | ||
| "fileExtension": [ | ||
| ".R", | ||
| ".r" | ||
| ], | ||
| "isBasedOn": null, | ||
| "name": "text/x-r", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. According to RFC 6838 Section 3.2, the Vendor Tree is intended for media types associated with a commercially or legally recognized entity. The R language is owned, copyright-held, and officially governed by The R Foundation for Statistical Computing. The standard domain and naming authority for this group is r-project.org. Therefore, namespacing the content type under their official entity designation yields: Furthermore R has two versions that are not compatible with each other:
so we may want to include the version information here as well. |
||
| "specification": "https://cran.r-project.org/doc/contrib/Lemon-kickstart/kr_scrpt.html", | ||
| "synonym": null | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "@context": { | ||
| "@vocab": "https://openminds.om-i.org/props/" | ||
| }, | ||
| "@id": "https://openminds.om-i.org/instances/contentTypes/text_x-stan", | ||
| "@type": "https://openminds.om-i.org/types/ContentType", | ||
| "dataType": null, | ||
| "definingSource": null, | ||
| "description": "A text file containing a program written in the Stan modeling language.", | ||
| "displayLabel": "Stan model file", | ||
| "fileExtension": [ | ||
| ".stan" | ||
| ], | ||
| "isBasedOn": [ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. don't understand this relation. I don't think this is correct. should be text/plain |
||
| { | ||
| "@id": "https://openminds.om-i.org/instances/contentTypes/text_x-r" | ||
| } | ||
| ], | ||
| "name": "text/x-stan", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. According to RFC 6838 Section 3.3, the Personal/Vanity Tree is explicitly reserved for non-commercial, community-driven, experimental, or open-source software spaces that do not belong to a single centralized corporate entity but are publicly developed. Stan is an open-source probabilistic programming language managed collectively by its community and developer committees without a singular commercial parent company. Therefore, utilizing the personal/vanity tree to denote its public, community-standard status yields: Furthermore stan has two versions that are not compatible with each other:
So we may want to include the version information here as well. |
||
| "specification": "https://mc-stan.org/docs/stan-users-guide/style-guide.html#file-extensions", | ||
| "synonym": null | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "@context": { | ||
| "@vocab": "https://openminds.om-i.org/props/" | ||
| }, | ||
| "@id": "https://openminds.om-i.org/instances/contentTypes/text_x-stanfunctions", | ||
| "@type": "https://openminds.om-i.org/types/ContentType", | ||
| "dataType": null, | ||
| "definingSource": null, | ||
| "description": "A text file containing function definitions written in the Stan modeling language.", | ||
| "displayLabel": "Stan function definitions", | ||
| "fileExtension": [ | ||
| ".stanfunctions" | ||
| ], | ||
| "isBasedOn": [ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this is correct. This should be text/plain |
||
| { | ||
| "@id": "https://openminds.om-i.org/instances/contentTypes/text_x-r" | ||
| } | ||
| ], | ||
| "name": "text/x-stanfunctions", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. According to RFC 6838 Section 3.3, the Personal/Vanity Tree is explicitly reserved for non-commercial, community-driven, experimental, or open-source software spaces that do not belong to a single centralized corporate entity but are publicly developed. Stan is an open-source probabilistic programming language managed collectively by its community and developer committees without a singular commercial parent company. Therefore, utilizing the personal/vanity tree to denote its public, community-standard status yields: Furthermore stan has two versions that are not compatible with each other:
stanfunctions seem to only exist for Stan 3.x (for now); so we may want to include the version information here to be specific. |
||
| "specification": "https://mc-stan.org/docs/stan-users-guide/style-guide.html#file-extensions", | ||
| "synonym": null | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
text/plain (if we don't have it we should register it)