Skip to content

Conversation

@syphax-bouazzouni
Copy link
Contributor

@syphax-bouazzouni syphax-bouazzouni commented Feb 12, 2025

Changes

  • Add ontology submission metadata scheme file (4703544)
  • Add all MOD metadata to the submission model (0e56795)
Property Name Label Type Namespace Required Help Text
submissionId Submission ID integer - Yes Unique identifier for the ontology submission.
prefLabelProperty Object preferred label property uri skos No Property used to specify objects preferred label.
definitionProperty Object definition property uri skos No Property used to specify objects definition.
synonymProperty Object synonym property uri skos No Property used to specify objects synonyms.
authorProperty Object author property uri dc No Property used to specify object author.
classType Class Type uri - No The type of the class in the ontology.
hierarchyProperty Hierarchy property uri - No A property that is used to specify the hierarchy.
obsoleteProperty Object obsolete property uri owl No Property used to specify obsolete objects.
obsoleteParent Obsolete Parent uri - No The parent class for obsolete terms.
createdProperty Object creation date property uri dc No Property used to specify the date of creation of a class or another object.
modifiedProperty Object modification date property uri dc No Property used to specify the date of modification of a class or another object.
uri URI uri omv No The URI of the ontology which is described by these metadata.
versionIRI Version IRI uri owl No The property that identifies the version IRI of an ontology.
version Version information string omv No The version information of the ontology.
status Status string omv No The status of the current version of the ontology (alpha, beta, production, retired).
deprecated Deprecated boolean owl No Indicates if a given entity has been deprecated.
hasOntologyLanguage Representation language ontology_format omv Yes The ontology language.
hasFormalityLevel Formality level uri omv No Level of formality of the ontology.
hasOntologySyntax Syntax uri omv No The presentation syntax for the ontology language.
naturalLanguage Natural language list omv No The language of the content of the ontology.
isOfType Generic type uri omv No The nature of the content of the ontology.
identifier Other identifier list, uri dct No An unambiguous reference to the resource within a given context.
description Description string omv No Free text description of an ontology.
homepage Homepage uri foaf No Ontology homepage.
documentation Documentation uri omv No URL for further documentation.
notes Notes list omv No Additional information about the ontology.
keywords Keywords list omv No List of keywords related to an ontology.
hiddenLabel Hidden label list skos No A lexical label for a resource that should be hidden.
alternative Alternative name list dct No An alternative name for the resource.
abstract Abstract string dct No A summary or abstract of the ontology.
publication Bibliographic reference list, uri - No List of bibliographic references describing the ontology.
accrualMethod Accrual method list dct No Method by which items are added to the ontology.
accrualPeriodicity Accrual periodicity string dct No Frequency with which items are added.
accrualPolicy Accrual policy string dct No Policy governing the addition of items.
competencyQuestion Competency question list mod No Questions used to build the ontology at design time.
wasGeneratedBy Was generated by list prov No The process that generated this ontology.
wasInvalidatedBy Was invalidated by list prov No The process that invalidated this ontology.
includedInDataCatalog Indexed in catalog list, uri schema No Catalogs where this ontology is included.
hasPriorVersion Prior version uri omv No Reference to an earlier version.
hasPart Has part list, uri dct No Related resources included in this ontology.
ontologyRelatedTo Generally related to list, uri door No Ontology that is related to another.
similarTo Similar to list, uri door No Ontology that is similar to another.
comesFromTheSameDomain Comes from the same domain list, uri door No Ontology from the same domain.
isAlignedTo Has equivalences with list, uri door No Indicates alignment with another ontology.
isBackwardCompatibleWith Backward compatible list, uri omv No Indicates compatibility with a previous version.
isIncompatibleWith Incompatible list, uri omv No Indicates incompatibility with a previous version.
hasDisparateModelling Has disparate modelling list, uri door No Indicates ontologies with different modelling approaches.
hasDisjunctionsWith Has disjunctions with list, uri voaf No Indicates ontologies with logical disjunctions.
generalizes Generalizes list, uri voaf No Indicates that the ontology generalizes another ontology.
explanationEvolution Specializes list, uri door No Indicates a specialization of another ontology.
useImports Imports list, uri omv No Ontologies that this ontology imports.
usedBy Used by list, uri voaf No Ontologies that use this ontology.
workTranslation Work translation list, uri schema No Translations of the ontology.
translationOfWork Translation of work list, uri schema No The original work from which this is a translation.

@syphax-bouazzouni syphax-bouazzouni force-pushed the feature/extract-agroportal-model-to-ontoportal branch 2 times, most recently from 18e41c5 to a84ed2d Compare February 12, 2025 17:04
@syphax-bouazzouni syphax-bouazzouni force-pushed the feature/extract-agroportal-model-to-ontoportal branch from a84ed2d to 0e56795 Compare February 12, 2025 17:08
@syphax-bouazzouni syphax-bouazzouni changed the title Feature:e Add all MOD metadata feilds to the submission object Feature: Add all MOD metadata feilds to the submission object Feb 12, 2025
#Name => Ontology object (omv:name)

#URI
URI:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be downcase

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed in ncbo@fe9c6f4

"DOAP: ISO language code a project has been translated into.",
"SCHEMA: The language of the content or performance or used in an action. Please use one of the language codes from the IETF BCP 47 standard." ]
extractedMetadata: true
enforcedValues: {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to be updated to not use "http://lexvo.org/id/iso639-1/'

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed in ncbo@fe9c6f4

@alexskr alexskr merged commit d46c7fb into ontoportal:master Feb 22, 2025
2 checks passed
alexskr added a commit to ncbo/ontologies_linked_data that referenced this pull request Feb 22, 2025
conflicts

Feature: Add all MOD metadata fields to the submission object
ontoportal#18
attribute :hiddenLabel, namespace: :skos, type: :list
attribute :alternative, namespace: :dct, type: :list
attribute :abstract, namespace: :dct
attribute :publication, type: %i[uri list]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the data type of publication attribute is changed to a list. This requires updating the UI to accommodate this change

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexskr
Copy link
Contributor

alexskr commented Mar 6, 2025

submission_validators lacks unit test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants