From 5973e843b42503107ac85d5f642a72ae20bbafed Mon Sep 17 00:00:00 2001 From: Syphax bouazzouni Date: Wed, 11 Oct 2023 01:01:45 +0200 Subject: [PATCH 1/3] disable complex attriubtes validators and callbacks --- lib/ontologies_linked_data/models/ontology.rb | 2 +- .../models/ontology_submission.rb | 43 +++++++++---------- 2 files changed, 21 insertions(+), 24 deletions(-) diff --git a/lib/ontologies_linked_data/models/ontology.rb b/lib/ontologies_linked_data/models/ontology.rb index 17275a26..13f372d6 100644 --- a/lib/ontologies_linked_data/models/ontology.rb +++ b/lib/ontologies_linked_data/models/ontology.rb @@ -50,7 +50,7 @@ class OntologyAnalyticsError < StandardError; end attribute :acl, enforce: [:list, :user] - attribute :viewOf, enforce: [:ontology], onUpdate: :update_submissions_has_part + attribute :viewOf, enforce: [:ontology] attribute :views, :inverse => { on: :ontology, attribute: :viewOf } attribute :ontologyType, enforce: [:ontology_type], default: lambda { |record| LinkedData::Models::OntologyType.find("ONTOLOGY").include(:code).first } diff --git a/lib/ontologies_linked_data/models/ontology_submission.rb b/lib/ontologies_linked_data/models/ontology_submission.rb index 410689ae..26f40407 100644 --- a/lib/ontologies_linked_data/models/ontology_submission.rb +++ b/lib/ontologies_linked_data/models/ontology_submission.rb @@ -48,10 +48,8 @@ class OntologySubmission < LinkedData::Models::Base attribute :URI, namespace: :omv, enforce: %i[existence distinct_of_identifier] attribute :versionIRI, namespace: :owl, type: :uri, enforce: [:distinct_of_URI] attribute :version, namespace: :omv - attribute :status, namespace: :omv, enforce: %i[existence], default: ->(x) { 'production' }, - onUpdate: :retired_previous_align - attribute :deprecated, namespace: :owl, type: :boolean, enforce: [:deprecated_retired_align], - onUpdate: :deprecate_previous_submissions, default: ->(x) { false } + attribute :status, namespace: :omv, enforce: %i[existence], default: ->(x) { 'production' } + attribute :deprecated, namespace: :owl, type: :boolean, default: ->(x) { false } attribute :hasOntologyLanguage, namespace: :omv, type: :ontology_format, enforce: [:existence] attribute :hasFormalityLevel, namespace: :omv, type: :uri attribute :hasOntologySyntax, namespace: :omv, type: :uri, default: ->(s) {ontology_syntax_default(s)} @@ -78,11 +76,10 @@ class OntologySubmission < LinkedData::Models::Base # Date metadata attribute :released, type: :date_time, enforce: [:existence] - attribute :valid, namespace: :dct, type: :date_time, enforce: [:validity_date_retired_align] - attribute :curatedOn, namespace: :pav, type: %i[date_time list], enforce: [:superior_equal_to_creationDate] + attribute :valid, namespace: :dct, type: :date_time + attribute :curatedOn, namespace: :pav, type: %i[date_time list] attribute :creationDate, namespace: :omv, type: :date_time, default: ->(x) { Date.today.to_datetime } - attribute :modificationDate, namespace: :omv, type: :date_time, - enforce: %i[superior_equal_to_creationDate modification_date_previous_align] + attribute :modificationDate, namespace: :omv, type: :date_time # Person and organizations metadata attribute :contact, type: %i[contact list], enforce: [:existence] @@ -98,7 +95,7 @@ class OntologySubmission < LinkedData::Models::Base attribute :audience, namespace: :dct attribute :repository, namespace: :doap, type: :uri attribute :bugDatabase, namespace: :doap, type: :uri - attribute :mailingList, namespace: :doap, enforce: [:email] + attribute :mailingList, namespace: :doap attribute :toDoList, namespace: :voaf, type: :list attribute :award, namespace: :schema, type: :list @@ -134,28 +131,28 @@ class OntologySubmission < LinkedData::Models::Base attribute :includedInDataCatalog, namespace: :schema, type: %i[list uri] # Relations - attribute :hasPriorVersion, namespace: :omv, type: :uri, onUpdate: [:include_previous_submission] - attribute :hasPart, namespace: :dct, type: %i[uri list], enforce: %i[include_ontology_views] - attribute :ontologyRelatedTo, namespace: :door, type: %i[list uri], onUpdate: :enforce_symmetric_ontologies - attribute :similarTo, namespace: :door, type: %i[list uri], onUpdate: :enforce_symmetric_ontologies - attribute :comesFromTheSameDomain, namespace: :door, type: %i[list uri], onUpdate: :enforce_symmetric_ontologies - attribute :isAlignedTo, namespace: :door, type: %i[list uri], onUpdate: :enforce_symmetric_ontologies + attribute :hasPriorVersion, namespace: :omv, type: :uri + attribute :hasPart, namespace: :dct, type: %i[uri list] + attribute :ontologyRelatedTo, namespace: :door, type: %i[list uri] + attribute :similarTo, namespace: :door, type: %i[list uri] + attribute :comesFromTheSameDomain, namespace: :door, type: %i[list uri] + attribute :isAlignedTo, namespace: :door, type: %i[list uri] attribute :isBackwardCompatibleWith, namespace: :omv, type: %i[list uri] attribute :isIncompatibleWith, namespace: :omv, type: %i[list uri] - attribute :hasDisparateModelling, namespace: :door, type: %i[list uri], onUpdate: :enforce_symmetric_ontologies + attribute :hasDisparateModelling, namespace: :door, type: %i[list uri] attribute :hasDisjunctionsWith, namespace: :voaf, type: %i[uri list] - attribute :generalizes, namespace: :voaf, type: %i[list uri], onUpdate: :ontology_inverse_of_callback - attribute :explanationEvolution, namespace: :door, type: %i[list uri], onUpdate: :ontology_inverse_of_callback - attribute :useImports, namespace: :omv, type: %i[list uri], onUpdate: :ontology_inverse_of_callback - attribute :usedBy, namespace: :voaf, type: %i[uri list], onUpdate: :ontology_inverse_of_callback - attribute :workTranslation, namespace: :schema, type: %i[uri list], onUpdate: :ontology_inverse_of_callback - attribute :translationOfWork, namespace: :schema, type: %i[uri list], onUpdate: :ontology_inverse_of_callback + attribute :generalizes, namespace: :voaf, type: %i[list uri] + attribute :explanationEvolution, namespace: :door, type: %i[list uri] + attribute :useImports, namespace: :omv, type: %i[list uri] + attribute :usedBy, namespace: :voaf, type: %i[uri list] + attribute :workTranslation, namespace: :schema, type: %i[uri list] + attribute :translationOfWork, namespace: :schema, type: %i[uri list] # Content metadata attribute :uriRegexPattern, namespace: :void, type: :uri attribute :preferredNamespaceUri, namespace: :vann, type: :uri attribute :preferredNamespacePrefix, namespace: :vann - attribute :exampleIdentifier, namespace: :idot, default: ->(s) { LinkedData::Models::Class.in(s).first&.to_s } + attribute :exampleIdentifier, namespace: :idot attribute :keyClasses, namespace: :omv, type: %i[list] attribute :metadataVoc, namespace: :voaf, type: %i[uri list] attribute :uploadFilePath From a60b483e45b2ac401314b0fc26deb8fb4e312777 Mon Sep 17 00:00:00 2001 From: Syphax bouazzouni Date: Thu, 12 Oct 2023 02:58:27 +0200 Subject: [PATCH 2/3] fix ontology submission attributes categories --- config/schemes/ontology_submission.yml | 1499 ++++++++++++------------ 1 file changed, 741 insertions(+), 758 deletions(-) diff --git a/config/schemes/ontology_submission.yml b/config/schemes/ontology_submission.yml index 473e2873..cc5b4afe 100644 --- a/config/schemes/ontology_submission.yml +++ b/config/schemes/ontology_submission.yml @@ -1,50 +1,13 @@ +# general + URI: extractedMetadata: true label: "URI identifier" helpText: "The URI of the ontology which is described by this metadata." description: [ "OMV: The URI of the ontology which is described by these metadata." ] - display: "general" example: 'https://w3id.org/myontto' + display: "general" -homepage: - extractedMetadata: true - metadataMappings: [ "cc:attributionURL", "mod:homepage", "doap:blog", "schema:mainEntityOfPage" ] - helpText: "The URL of the homepage for the ontology." - label: "Homepage" - -hasOntologyLanguage: - extractedMetadata: false - display: 'general' - description: [ "SCHEMA: Media type, typically MIME format (see IANA site) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry.", "MOD: A language that is used to create an ontology." ] - label: "Language" - -publication: - extractedMetadata: true - description: [ "SCHEMA: A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.","DCTERMS: A bibliographic reference for the resource.","OMV: List of bibliographic references describing the ontology and its applications.","FOAF: A document that this thing is the primary topic of" ] - helpText: "The URL of bibliographic reference for the ontology." - metadataMappings: [ "omv:reference", "dct:bibliographicCitation", "foaf:isPrimaryTopicOf", "schema:citation", "cito:citesAsAuthority", "schema:citation" ] - label: "Publication" - -naturalLanguage: - extractedMetadata: true - description: [ "DUBLIN CORE: A language of the resource.","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. See also availableLanguage.","DOAP: ISO language code a project has been translated into." ] - metadataMappings: [ "dc:language", "dct:language", "doap:language", "schema:inLanguage" ] - helpText: "The language of the content of the ontology.<br>Consider using a <a target="_blank" href="http://www.lexvo.org/">Lexvo URI</a> with ISO639-3 code.<br>e.g.: http://lexvo.org/id/iso639-3/eng" - enforcedValues: { - "http://lexvo.org/id/iso639-3/eng": "English", - "http://lexvo.org/id/iso639-3/fra": "French", - "http://lexvo.org/id/iso639-3/spa": "Spanish", - "http://lexvo.org/id/iso639-3/por": "Portuguese", - "http://lexvo.org/id/iso639-3/ita": "Italian", - "http://lexvo.org/id/iso639-3/deu": "German" } - label: "Natural language" - -documentation: - extractedMetadata: true - description: [ "DCTERMS: A link to the documentation page on a thing","DCAT: A Web page that can be navigated to in a Web browser to gain access to the dataset, its distributions and/or additional information.", "OMV: URL for further documentation.","RDFS: Further information about the subject resource.", "DOAP: URL of Wiki for collaborative discussion of project. ","VANN: A reference to a resource that provides information on how this resource is to be used","MOD: A link to the documentation page on a thing." ] - metadataMappings: [ "rdfs:seeAlso", "foaf:page", "vann:usageNote", "mod:document", "dcat:landingPage", "doap:wiki" ] - helpText: "URL for further documentation." - label: "Documentation" version: extractedMetadata: true helpText: "The version of the released ontology" @@ -58,12 +21,7 @@ version: "ADMS : A link to the current or latest version of the Asset" ] example: "v.3.2.0" label: "Version" -description: - label: "Description" - extractedMetadata: true - description: [ "DCTERMS: An account of the resource","SCHEMA: A description of the item.","OMV: Free text description of an ontology.","DOAP: Plain text description of a project, of 2-4 sentences in length.","RDFS: A human-readable description of a resource." ] - helpText: "Free text description of the ontology." - metadataMappings: [ "dc:description", "dct:description", "doap:description", "schema:description", "oboInOwl:remark" ] + display: 'general' status: extractedMetadata: true @@ -71,97 +29,165 @@ status: metadataMappings: [ "adms:status", "idot:state" ] helpText: "Information about the ontology status (alpha, beta, production, retired)." enforcedValues: [ "alpha", "beta", "production", "retired" ] - display: "general" description: [ "OMV: It specifies the tracking information for the contents of the ontology. Pre-defined values.", "IDOT: State of a resource (physical location providing access to data or information about the identified entity). This should be based on a recent manual or automatic check of the resource. Possible values are: 'up', 'down', 'probably up', 'obsolete resource', 'restricted access' and 'unknown'.", "ADMS : Links to the status of the Asset or Asset Distribution in the context of a particular workflow process. Since Status is defined using a skos:Concept, that is the defined range for this property" ] + display: "general" -contact: - helpText: "The people to contact when questions about the ontology. Composed of the contacts name and email." - label: "Contact" - description: "DCAT: Relevant contact information for the cataloged resource. Use of vCard is recommended" +deprecated: + extractedMetadata: true + label: "Deprecated" + metadataMappings: [ "idot:obsolete" ] + helpText: "To specify if the ontology IRI is deprecated" + description: [ "DCAT: An annotation with the owl:deprecated annotation property and the value equal to \"true\"^^xsd:boolean can be used to specify that an IRI is deprecated", + "OWL: The annotation property that indicates that a given entity has been deprecated.", + "IDOT: Indicates if the current dataset is obsolete (not provided any more to the public community). Value can either be 'true' or 'false' (xsd:boolean). The statement is usually omitted if 'false'." + ] + display: 'general' -creationDate: +isOfType: extractedMetadata: true - description: [ "DCTERMS: Date of submission of the resource.", "SCHEMA: Date of first broadcast/publication." ] - metadataMappings: [ "dct:dateSubmitted", "schema:datePublished" ] - label: "Creation date" + description: [ "OMV: The nature of the content of the ontology ", + "DCTERMS: The nature or genre of the resource." ] + metadataMappings: [ "dc:type", "dct:type" ] + label: "Generic Type" + helpText: "The nature of the content of the ontology.<br>Properties taken from <a target="_blank" href="http://wiki.dublincore.org/index.php/NKOS_Vocabularies#KOS_Types_Vocabulary">DCMI KOS type vocabularies</a>" + enforcedValues: { + "http://omv.ontoware.org/2005/05/ontology#ApplicationOntology": "Application Ontology", + "http://omv.ontoware.org/2005/05/ontology#CoreOntology": "Core Ontology", + "http://omv.ontoware.org/2005/05/ontology#DomainOntology": "Domain Ontology", + "http://omv.ontoware.org/2005/05/ontology#TaskOntology": "Task Ontology", + "http://omv.ontoware.org/2005/05/ontology#UpperLevelOntology": "Upper Level Ontology", + "http://omv.ontoware.org/2005/05/ontology#Vocabulary": "Vocabulary" + } + display: 'general' -released: +naturalLanguage: extractedMetadata: true - description: [ "DCTERMS: Date of submission of the resource.", - "SCHEMA: Date of first broadcast/publication." ] - label: "Release date" - helpText: "Date of the ontology release." - metadataMappings: [ "omv:creationDate", "dc:date", "dct:date", "dct:issued", "mod:creationDate", "doap:created", "schema:dateCreated","prov:generatedAtTime", "pav:createdOn", "pav:authoredOn", "pav:contributedOn", "oboInOwl:date", "oboInOwl:hasDate" ] + description: [ "DUBLIN CORE: A language of the resource.","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. See also availableLanguage.","DOAP: ISO language code a project has been translated into." ] + metadataMappings: [ "dc:language", "dct:language", "doap:language", "schema:inLanguage" ] + helpText: "The language of the content of the ontology.<br>Consider using a <a target="_blank" href="http://www.lexvo.org/">Lexvo URI</a> with ISO639-3 code.<br>e.g.: http://lexvo.org/id/iso639-3/eng" + enforcedValues: { + "http://lexvo.org/id/iso639-3/eng": "English", + "http://lexvo.org/id/iso639-3/fra": "French", + "http://lexvo.org/id/iso639-3/spa": "Spanish", + "http://lexvo.org/id/iso639-3/por": "Portuguese", + "http://lexvo.org/id/iso639-3/ita": "Italian", + "http://lexvo.org/id/iso639-3/deu": "German" } + label: "Natural language" + display: 'general' +identifier: + extractedMetadata: true + label: "Other identifier" + description: [ "DCTERMS: An unambiguous reference to the resource within a given context. Recommended practice is to identify the resource by means of a string conforming to an identification system. Examples include International Standard Book Number (ISBN), Digital Object Identifier (DOI), and Uniform Resource Name (URN). Persistent identifiers should be provided as HTTP URIs.", + "SKOS: A notation is a string of characters such as\"T58.5\"or\"303.4833\"used to uniquely identify a concept within the scope of a given concept scheme.", + "ADMS: adms:identifier is used to link any resource to an instance of adms:Identifier which is its range. N.B. it is not appropriate to use dcterms:identifer to link to the Identifier class as its range is rdfs:Literal. ADMS uses this to provide any identifier for the Asset.", + "SCHEMA: The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. " ] + metadataMappings: [ "dc:identifier", "skos:notation", "adms:identifier" ] + helpText: "An unambiguous reference to the ontology. Use the ontology URI if not provided in the ontology metadata." + example: 'https://doi.org/10.15454/1.4690062322351956E12' + display: 'general' -numberOfClasses: - metadataMappings: [ "void:classes", "voaf:classNumber", "mod:noOfClasses" ] - description: [ "MOD: The total number of classes in an ontology.", - "OMV: Number of classes in ontology.", - "VOAF: The number of classes defined in the vocabulary namespace. Classes imported from other namespaces are not taken into account.", - "VOID: The total number of distinct classes in a void:Dataset. In other words, the number of distinct resources occurring as objects of rdf:type." ] - display: "metrics" - helpText: "Number of classes in this ontology. Automatically computed by OWLAPI." - label: "Number of classes" - -numberOfIndividuals: - metadataMappings: [ "mod:noOfIndividuals" ] - description: [ "MOD: The total number of individuals in an ontology.", - "OMV: Number of individuals in the ontology.", - "VOID: The total number of entities that are described in a void:Dataset." ] - display: "metrics" - helpText: "Number of individuals in this ontology. Automatically computed by OWLAPI." - label: "Number of individuals" - -numberOfProperties: - metadataMappings: [ "void:properties", "voaf:propertyNumber", "mod:noOfProperties" ] - description: [ "MOD: The total number of properties in an ontology.", - "OMV: Number of properties in the ontology.", - "VOAF: The number of properties defined in the vocabulary namespace. Properties imported from other namespaces are not taken into account.", - "VOID: The total number of distinct properties in a void:Dataset. In other words, the number of distinct resources that occur in the predicate position of triples in the dataset." ] - display: "metrics" - helpText: "Number of properties in this ontology. Automatically computed by OWLAPI." - label: "Number of properties" +hasOntologyLanguage: + extractedMetadata: false + description: [ "SCHEMA: Media type, typically MIME format (see IANA site) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry.", "MOD: A language that is used to create an ontology." ] + label: "Language" + display: 'general' -modificationDate: +hasFormalityLevel: extractedMetadata: true - description: [ "DCTERMS: Date on which the resource was changed", - "SCHEMA: The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "OMV: Date of the last modification made to the ontology", - "PAV: The date of the last update of the resource" ] - metadataMappings: [ "dct:modified", "schema:dateModified", "pav:lastUpdateOn", "mod:updated" ] - helpText: "Date of the last modification made to the ontology" - label: "Modification date" + label: "Formality level" + metadataMappings: [ "mod:ontologyFormalityLevel" ] + helpText: "Level of formality of the ontology." + enforcedValues: { + "http://w3id.org/nkos/nkostype#classification_schema": "Classification scheme", + "http://w3id.org/nkos/nkostype#dictionary": "Dictionary", + "http://w3id.org/nkos/nkostype#gazetteer": "Gazetteer", + "http://w3id.org/nkos/nkostype#glossary": "Glossary", + "http://w3id.org/nkos/nkostype#list": "List", + "http://w3id.org/nkos/nkostype#name_authority_list": "Name authority list", + "http://w3id.org/nkos/nkostype#ontology": "Ontology", + "http://w3id.org/nkos/nkostype#semantic_network": "Semantic network", + "http://w3id.org/nkos/nkostype#subject_heading_scheme": "Subject heading scheme", + "http://w3id.org/nkos/nkostype#synonym_ring": "Synonym ring", + "http://w3id.org/nkos/nkostype#taxonomy": "Taxonomy", + "http://w3id.org/nkos/nkostype#terminology": "Terminology", + "http://w3id.org/nkos/nkostype#thesaurus": "Thesaurus" + } + description: "OMV: The level of formality of an ontology." + display: "general" -entities: +hasOntologySyntax: extractedMetadata: true - description: [ "VOID: The total number of entities that are described in a void:Dataset." ] - label: "Number of entities" - display: "metrics" - helpText: "Number of entities in this ontology." + metadataMappings: [ "mod:syntax", "dc:format", "dct:format" ] + label: "Ontology Syntax" + helpText: "The presentation syntax for the ontology langage.<br>Properties taken from <a target="_blank" href="https://www.w3.org/ns/formats/">W3C URIs for file format</a>" + enforcedValues: { + "http://www.w3.org/ns/formats/JSON-LD": "JSON-LD", + "http://www.w3.org/ns/formats/N3": "N3", + "http://www.w3.org/ns/formats/N-Quads": "N-Quads", + "http://www.w3.org/ns/formats/LD_Patch": "LD Patch", + "http://www.w3.org/ns/formats/microdata": "Microdata", + "http://www.w3.org/ns/formats/OWL_XML": "OWL XML Serialization", + "http://www.w3.org/ns/formats/OWL_Functional": "OWL Functional Syntax", + "http://www.w3.org/ns/formats/OWL_Manchester": "OWL Manchester Syntax", + "http://www.w3.org/ns/formats/POWDER": "POWDER", + "http://www.w3.org/ns/formats/POWDER-S": "POWDER-S", + "http://www.w3.org/ns/formats/PROV-N": "PROV-N", + "http://www.w3.org/ns/formats/PROV-XML": "PROV-XML", + "http://www.w3.org/ns/formats/RDFa": "RDFa", + "http://www.w3.org/ns/formats/RDF_JSON": "RDF/JSON", + "http://www.w3.org/ns/formats/RDF_XML": "RDF/XML", + "http://www.w3.org/ns/formats/RIF_XML": "RIF XML Syntax", + "http://www.w3.org/ns/formats/Turtle": "Turtle", + "http://www.w3.org/ns/formats/TriG": "TriG", + "http://purl.obolibrary.org/obo/oboformat/spec.html": "OBO" + } + description: [ "DUBLIN CORE: The file format, physical medium, or dimensions of the resource.", "MOD: The syntax followed in the creation of an ontology." ] + display: "general" -numberOfAxioms: +versionIRI: extractedMetadata: true - description: [ "MOD: The total number of axioms in an ontology.", - "OMV: Number of axioms in ontology." ] - metadataMappings: [ "mod:noOfAxioms", "void:triples" ] - display: "metrics" - helpText: "Number of axioms in this ontology." - label: "Number of axioms or triples" + label: "Version IRI" + helpText: "Identifies the version IRI of an ontology." + description: [ "OWL: The property that identifies the version IRI of an ontology" ] + display: "general" -keyClasses: - extractedMetadata: false - description: [ "OMV: Representative classes in the ontology.", - "FOAF: The primary topic of some page or document.", - "SCHEMA: Indicates the primary entity described in some page or other CreativeWork." ] - display: "content" - metadataMappings: [ "foaf:primaryTopic", "void:exampleResource", "schema:mainEntity" ] - helpText: "Representative classes in the ontology." - label: "Key classes" + +# description + +description: + label: "Description" + extractedMetadata: true + description: [ "DCTERMS: An account of the resource","SCHEMA: A description of the item.","OMV: Free text description of an ontology.","DOAP: Plain text description of a project, of 2-4 sentences in length.","RDFS: A human-readable description of a resource." ] + helpText: "Free text description of the ontology." + metadataMappings: [ "dc:description", "dct:description", "doap:description", "schema:description", "oboInOwl:remark" ] + display: "description" + +abstract: + extractedMetadata: true + label: "Abstract" + description: "DCTERMS: A summary of the resource" + helpText: "A summary of the ontology" + display: "description" + +homepage: + extractedMetadata: true + metadataMappings: [ "cc:attributionURL", "mod:homepage", "doap:blog", "schema:mainEntityOfPage" ] + helpText: "The URL of the homepage for the ontology." + label: "Homepage" + display: "description" + +documentation: + extractedMetadata: true + description: [ "DCTERMS: A link to the documentation page on a thing","DCAT: A Web page that can be navigated to in a Web browser to gain access to the dataset, its distributions and/or additional information.", "OMV: URL for further documentation.","RDFS: Further information about the subject resource.", "DOAP: URL of Wiki for collaborative discussion of project. ","VANN: A reference to a resource that provides information on how this resource is to be used","MOD: A link to the documentation page on a thing." ] + metadataMappings: [ "rdfs:seeAlso", "foaf:page", "vann:usageNote", "mod:document", "dcat:landingPage", "doap:wiki" ] + helpText: "URL for further documentation." + label: "Documentation" + display: "description" keywords: extractedMetadata: true @@ -173,45 +199,146 @@ keywords: helpText: "List of keywords related to the ontology." metadataMappings: [ "mod:keyword", "dcat:keyword", "schema:keywords" ] label: "Keywords" - -knownUsage: - extractedMetadata: true - description: [ "OMV: The applications where the ontology is being used." ] - display: "usage" - helpText: "The applications where the ontology is being used." - example: "Used to annotate phenotypes and patterns of gene expression" - label: "Known usage" + display: "description" notes: extractedMetadata: true description: [ "RDFS: A description of the subject resource.", - "OMV: Additional information about the ontology that is not included somewhere else (e.g. information that you do not want to include in the documentation)." ] + "OMV: Additional information about the ontology that is not included somewhere else (e.g. information that you do not want to include in the documentation)." ] metadataMappings: [ "rdfs:comment", "adms:versionNotes" ] helpText: "Additional information about the ontology that is not included somewhere else (e.g. information that you do not want to include in the documentation)." label: "Notes" + display: "description" -conformsToKnowledgeRepresentationParadigm: +hiddenLabel: extractedMetadata: true - description: [ "MOD: A representation formalism that is followed to describe knowledge in an ontology. Example includes description logics, first order logic, etc.", - "OMV: Information about the paradigm model used to create the ontology.", - "DCTERMS: An established standard to which the described resource conforms." ] - metadataMappings: [ "mod:KnowledgeRepresentationFormalism", "dct:conformsTo" ] - display: "methodology" - helpText: "A representation formalism that is followed to describe knowledge in an ontology. Example includes description logics, first order logic, etc." - label: "Knowledge representation paradigm" + label: "Hidden or past name" + description: [ "MOD: Hidden or past name", + "SKOS: A lexical label for a resource that should be hidden when generating visual displays of the resource, but should still be accessible to free text search operations." ] + helpText: "The hidden labels are useful when a user is interacting with a knowledge organization system via a text-based search function. The user may, for example, enter mis-spelled words when trying to find a relevant concept. If the mis-spelled query can be matched against a hidden label, the user will be able to find the relevant concept, but the hidden label won't otherwise be visible to the user" + display: "description" -hasContributor: +alternative: + extractedMetadata: true + description: [ "DCTERMS: An alternative name for the resource. The distinction between titles and alternative titles is application-specific.", + "SKOS: The preferred and alternative labels are useful when generating or creating human-readable representations of a knowledge organization system.", + "SCHEMA: An alias for the item. A short label that is used by some communities to refer to a dataset", + "IDOT: A short label that is used by some communities to refer to a dataset (see 'preferredPrefix')." ] + label: "Alternative name" + metadataMappings: [ "skos:altLabel", "idot:alternatePrefix", "schema:alternativeHeadline", "schema:alternateName" ] + helpText: "An alternative title for the ontology" + display: "description" + +publication: + extractedMetadata: true + description: [ "SCHEMA: A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.","DCTERMS: A bibliographic reference for the resource.","OMV: List of bibliographic references describing the ontology and its applications.","FOAF: A document that this thing is the primary topic of" ] + helpText: "The URL of bibliographic reference for the ontology." + metadataMappings: [ "omv:reference", "dct:bibliographicCitation", "foaf:isPrimaryTopicOf", "schema:citation", "cito:citesAsAuthority", "schema:citation" ] + label: "Publication" + display: "description" + +# license + +hasLicense: + extractedMetadata: true + label: "License" + description: [ "CC: A Work has a License.", + "DC: Information about rights held in and over the resource.", + "SCHEMA: A license document that applies to this content, typically indicated by URL.", + "DCTERMS: A legal document giving official permission to do something with the resource. Recommended practice is to identify the license document with a URI. If this is not possible or feasible, a literal value that identifies the license may be provided.", + "OMV: Underlying license model." ] + metadataMappings: [ "dc:rights", "dct:rights", "dct:license", "cc:license", "schema:license" ] + helpText: "Underlying license model.<br>Consider using a <a target="_blank" href="http://rdflicense.appspot.com/">URI to describe your License</a><br>Consider using a <a target="_blank" href="http://licentia.inria.fr/">INRIA licentia</a> to choose your license" + enforcedValues: { + "https://creativecommons.org/licenses/by/4.0/": "CC Attribution 4.0 International", + "https://creativecommons.org/licenses/by/3.0/": "CC Attribution 3.0", + "https://creativecommons.org/publicdomain/zero/1.0/": "CC Public Domain Dedication", + "http://www.gnu.org/licenses/gpl-3.0": "GNU General Public License 3.0", + "http://www.gnu.org/licenses/gpl-2.0": "GNU General Public License 2.0", + "https://opensource.org/licenses/Artistic-2.0": "Open Source Artistic license 2.0", + "https://opensource.org/licenses/MIT": "MIT License", + "https://opensource.org/licenses/BSD-3-Clause": "BSD 3-Clause License", + "http://www.apache.org/licenses/LICENSE-2.0": "Apache License 2.0" + } + display: "license" + +useGuidelines: + extractedMetadata: true + label: "Use guidelines" + description: "CC: A related resource which defines non-binding use guidelines for the work" + helpText: "A related resource which defines how the ontology should be used." + display: "license" + +morePermissions: + description: "CC: A related resource which describes additional permissions or alternative licenses for a Work which may be available" + extractedMetadata: true + label: "More permissions" + helpText: "A related resource which describes additional permissions or alternative licenses." + display: "license" + +copyrightHolder: extractedMetadata: false - description: [ "DCTERMS: An entity responsible for making contributions to the resource", - "SCHEMA: A secondary contributor to the CreativeWork or Event.", - "OMV: Contributors to the creation of the ontology.", - "PAV: The resource was contributed to by the given agent.", - "SCHEMA: A secondary contributor to the CreativeWork or Event.", - "DOAP: Project contributor", - "OMV: Contributors to the creation of the ontology" ] - label: "Contributors" - metadataMappings: [ "dc:contributor", "dct:contributor", "doap:helper", "schema:contributor", "pav:contributedBy" ] - helpText: "Contributors to the creation of the ontology." + label: "Rights holder" + description: [ "SCHEMA: The party holding the legal copyright to the CreativeWork.", + "DCTERMS: A person or organization owning or managing rights over the resource." ] + helpText: "The party holding the legal copyright to the CreativeWork." + example: 'INRAE (003vg9w96)' + display: "license" + + +# dates +creationDate: + extractedMetadata: true + description: [ "DCTERMS: Date of submission of the resource.", "SCHEMA: Date of first broadcast/publication." ] + metadataMappings: [ "dct:dateSubmitted", "schema:datePublished" ] + label: "Creation date" + display: "dates" + +modificationDate: + extractedMetadata: true + description: [ "DCTERMS: Date on which the resource was changed", + "SCHEMA: The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", + "OMV: Date of the last modification made to the ontology", + "PAV: The date of the last update of the resource" ] + metadataMappings: [ "dct:modified", "schema:dateModified", "pav:lastUpdateOn", "mod:updated" ] + helpText: "Date of the last modification made to the ontology" + label: "Modification date" + display: "dates" + +released: + extractedMetadata: true + description: [ "DCTERMS: Date of submission of the resource.", + "SCHEMA: Date of first broadcast/publication." ] + label: "Release date" + helpText: "Date of the ontology release." + metadataMappings: [ "omv:creationDate", "dc:date", "dct:date", "dct:issued", "mod:creationDate", "doap:created", "schema:dateCreated","prov:generatedAtTime", "pav:createdOn", "pav:authoredOn", "pav:contributedOn", "oboInOwl:date", "oboInOwl:hasDate" ] + display: "dates" + +valid: + extractedMetadata: true + description: [ "DCTERMS: Date (often a range) of validity of a resource.", + "SCHEMA: The end date and time of the item.", + "PROV: Invalidation is the start of the destruction, cessation, or expiry of an existing entity by an activity. The entity is no longer available for use (or further invalidation) after invalidation. Any generation or usage of an entity precedes its invalidation." ] + label: "Valid until" + metadataMappings: [ "prov:invaliatedAtTime", "schema:endDate" ] + helpText: "Date (often a range) of validity of the ontology." + display: "dates" + +curatedOn: + extractedMetadata: true + label: "Curation date" + description: "PAV: Specifies the date this resource was curated. pav:curatedBy gives the agents that performed the curation." + helpText: "The date the ontology was curated." + example: '2022-09-06' + display: "dates" + +# people + +contact: + helpText: "The people to contact when questions about the ontology. Composed of the contacts name and email." + label: "Contact" + description: "DCAT: Relevant contact information for the cataloged resource. Use of vCard is recommended" + display: 'people' hasCreator: extractedMetadata: false @@ -226,183 +353,153 @@ hasCreator: label: "Creators" metadataMappings: [ "dc:creator", "dct:creator", "foaf:maker", "prov:wasAttributedTo", "doap:maintainer", "pav:authoredBy", "pav:createdBy", "schema:author", "schema:creator" ] helpText: "Main responsible for the creation of the ontology." + display: 'people' -designedForOntologyTask: - extractedMetadata: true - description: [ "DCTERMS: The purpose for which the ontology was originally designed", - "OMV: The purpose for which the ontology was originally designed." ] - display: "usage" - label: "Designed for task" - helpText: "The purpose for which the ontology was originally designed." - enforcedValues: { - "http://omv.ontoware.org/2005/05/ontology#AnnotationTask": "Annotation Task", - "http://omv.ontoware.org/2005/05/ontology#ConfigurationTask": "Configuration Task", - "http://omv.ontoware.org/2005/05/ontology#FilteringTask": "Filtering Task", - "http://omv.ontoware.org/2005/05/ontology#IndexingTask": "Indexing Task", - "http://omv.ontoware.org/2005/05/ontology#IntegrationTask": "Integration Task", - "http://omv.ontoware.org/2005/05/ontology#MatchingTask": "Matching Task", - "http://omv.ontoware.org/2005/05/ontology#MediationTask": "Mediation Task", - "http://omv.ontoware.org/2005/05/ontology#PersonalizationTask": "Personalization Task", - "http://omv.ontoware.org/2005/05/ontology#QueryFormulationTask": "Query Formulation Task", - "http://omv.ontoware.org/2005/05/ontology#QueryRewritingTask": "Query Rewriting Task", - "http://omv.ontoware.org/2005/05/ontology#SearchTask": "Search Task" - } - -wasGeneratedBy: - extractedMetadata: true - description: [ "PROV: Generation is the completion of production of a new entity by an activity. This entity did not exist before generation and becomes available for usage after this generation" ] - display: "people" - label: "Was generated by" - helpText: "People who generated the ontology." +hasContributor: + extractedMetadata: false + description: [ "DCTERMS: An entity responsible for making contributions to the resource", + "SCHEMA: A secondary contributor to the CreativeWork or Event.", + "OMV: Contributors to the creation of the ontology.", + "PAV: The resource was contributed to by the given agent.", + "SCHEMA: A secondary contributor to the CreativeWork or Event.", + "DOAP: Project contributor", + "OMV: Contributors to the creation of the ontology" ] + label: "Contributors" + metadataMappings: [ "dc:contributor", "dct:contributor", "doap:helper", "schema:contributor", "pav:contributedBy" ] + helpText: "Contributors to the creation of the ontology." + display: 'people' -wasInvalidatedBy: - extractedMetadata: true - label: "Was invalidated by" - description: [ "PROV: Invalidation is the start of the destruction, cessation, or expiry of an existing entity by an activity" ] - display: "people" - helpText: "People who invalidated the ontology." +publisher: + extractedMetadata: false + label: "Publisher" + description: [ "DCTERMS: An entity responsible for making the resource available.", + "SCHEMA: The publisher of creative work.", + "ADMS: The name of the agency that issued the identifier." ] + metadataMappings: [ "dc:publisher", "schema:publisher" ] + helpText: "An entity responsible for making the ontology available." + display: 'people' curatedBy: extractedMetadata: false description: [ "PAV: Specifies an agent specialist responsible for shaping the expression in an appropriate format. Often the primary agent responsible for ensuring the quality of the representation.", - "MOD: A curator who restructure the previously authored content and shape it to be appropriate for the intended representation (e.g. by normalizing the fields for being represented in a spreadsheet)." ] - display: "people" + "MOD: A curator who restructure the previously authored content and shape it to be appropriate for the intended representation (e.g. by normalizing the fields for being represented in a spreadsheet)." ] label: "Curator" metadataMappings: [ "mod:evaluatedBy" ] helpText: "People who curated the ontology." example: 'Yvonne M. Bradford (0000-0002-9900-7880)' + display: "people" endorsedBy: extractedMetadata: false label: "Endorsed by" description: [ "MOD: An ontology endorsed by an agent.", - "OMV: The parties that have expressed support or approval to this ontology." ] + "OMV: The parties that have expressed support or approval to this ontology." ] metadataMappings: [ "mod:endorsedBy" ] helpText: "The parties that have expressed support or approval to this ontology" - display: "people" example: 'INRAE (003vg9w96)' + display: "people" fundedBy: extractedMetadata: false label: "Funded or sponsored by" description: [ "MOD: An ontology that is sponsored by and developed under a project.", - "FOAF: An organization funding a project or person.", - "SCHEMA: The Organization on whose behalf the creator was working." ] + "FOAF: An organization funding a project or person.", + "SCHEMA: The Organization on whose behalf the creator was working." ] metadataMappings: [ "mod:sponsoredBy", "schema:sourceOrganization" ] - display: "people" helpText: "The organization funding the ontology development." example: [ 'Yvonne M. Bradford (0000-0002-9900-7880','INRAE (003vg9w96)' ] + display: "people" translator: extractedMetadata: false label: "Translator" description: "SCHEMA: Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event." metadataMappings: [ "doap:translator" ] - display: "people" helpText: "Organization or person who adapted the ontology to different languages, regional differences and technical requirements" + display: "people" -hasDomain: + +# community +audience: extractedMetadata: true - label: "Subject" - description: [ "DCTERMS: The topic of the resource.", - "SCHEMA: The subject matter of the content.", - "FOAF: A topic of some page or document.", - "OMV: Typically, the domain can refer to established topic hierarchies such as the general purpose topic hierarchy DMOZ or the domain specific topic hierarchy ACM for the computer science domain", - "DCAT: A main category of the resource." ] - helpText: "Typically, the domain can refer to established topic hierarchies such as the general purpose topic hierarchy DMOZ or the domain specific topic hierarchy ACM for the computer science domain" - metadataMappings: [ "dc:subject", "dct:subject", "foaf:topic", "dcat:theme", "schema:about" ] - display: "usage" + label: "Audience" + description: [ "DCTERMS: a class of entity for whom the resource is intended or useful (public visé ou recommandé pour la ressource).", + "DOAP: Description of target user base.", + "SCHEMA: An intended audience, i.e. a group for whom something was created" ] + metadataMappings: [ "doap:audience", "schema:audience" ] + helpText: "Description of the target user base of the ontology." + display: "community" -hasFormalityLevel: +toDoList: extractedMetadata: true - label: "Formality level" - metadataMappings: [ "mod:ontologyFormalityLevel" ] - helpText: "Level of formality of the ontology." - enforcedValues: { - "http://w3id.org/nkos/nkostype#classification_schema": "Classification scheme", - "http://w3id.org/nkos/nkostype#dictionary": "Dictionary", - "http://w3id.org/nkos/nkostype#gazetteer": "Gazetteer", - "http://w3id.org/nkos/nkostype#glossary": "Glossary", - "http://w3id.org/nkos/nkostype#list": "List", - "http://w3id.org/nkos/nkostype#name_authority_list": "Name authority list", - "http://w3id.org/nkos/nkostype#ontology": "Ontology", - "http://w3id.org/nkos/nkostype#semantic_network": "Semantic network", - "http://w3id.org/nkos/nkostype#subject_heading_scheme": "Subject heading scheme", - "http://w3id.org/nkos/nkostype#synonym_ring": "Synonym ring", - "http://w3id.org/nkos/nkostype#taxonomy": "Taxonomy", - "http://w3id.org/nkos/nkostype#terminology": "Terminology", - "http://w3id.org/nkos/nkostype#thesaurus": "Thesaurus" - } - display: "general" - description: "OMV: The level of formality of an ontology." + label: "To do list" + description: "VOID: Describes future tasks planned by a resource curator. This property is primarily intended to be used for vocabularies or datasets, but the domain is left open, it can be used for any resource. Use iCalendar Vtodo class and its properties to further describe the task calendar, priorities etc" + helpText: "Describes future tasks planned by a resource curator." + display: "community" + +repository: + extractedMetadata: true + label: "Repository" + description: "DOAP: Source code repository" + helpText: "Link to the source code repository." + example: 'https://github.com/Planteome/plant-trait-ontology' + display: "community" + +bugDatabase: + extractedMetadata: true + label: "Bug database" + description: "DOAP: Bug tracker for a project" + helpText: "Link to the bug tracker of the ontology (i.e.: GitHub issues)." + display: "community" + +mailingList: + extractedMetadata: true + label: "Mailing list" + description: "DOAP: Mailing list home page or email address " + helpText: "Mailing list home page or email address." + display: "community" + +award: + extractedMetadata: true + label: "Award" + description: "SCHEMA: An award won by or for this item" + helpText: "An award won by this ontology." + display: "community" -hasLicense: +# methodology +wasGeneratedBy: extractedMetadata: true - label: "License" - description: [ "CC: A Work has a License.", - "DC: Information about rights held in and over the resource.", - "SCHEMA: A license document that applies to this content, typically indicated by URL.", - "DCTERMS: A legal document giving official permission to do something with the resource. Recommended practice is to identify the license document with a URI. If this is not possible or feasible, a literal value that identifies the license may be provided.", - "OMV: Underlying license model." ] - metadataMappings: [ "dc:rights", "dct:rights", "dct:license", "cc:license", "schema:license" ] - helpText: "Underlying license model.<br>Consider using a <a target="_blank" href="http://rdflicense.appspot.com/">URI to describe your License</a><br>Consider using a <a target="_blank" href="http://licentia.inria.fr/">INRIA licentia</a> to choose your license" - enforcedValues: { - "https://creativecommons.org/licenses/by/4.0/": "CC Attribution 4.0 International", - "https://creativecommons.org/licenses/by/3.0/": "CC Attribution 3.0", - "https://creativecommons.org/publicdomain/zero/1.0/": "CC Public Domain Dedication", - "http://www.gnu.org/licenses/gpl-3.0": "GNU General Public License 3.0", - "http://www.gnu.org/licenses/gpl-2.0": "GNU General Public License 2.0", - "https://opensource.org/licenses/Artistic-2.0": "Open Source Artistic license 2.0", - "https://opensource.org/licenses/MIT": "MIT License", - "https://opensource.org/licenses/BSD-3-Clause": "BSD 3-Clause License", - "http://www.apache.org/licenses/LICENSE-2.0": "Apache License 2.0" - } + description: [ "PROV: Generation is the completion of production of a new entity by an activity. This entity did not exist before generation and becomes available for usage after this generation" ] + label: "Was generated by" + helpText: "People who generated the ontology." + display: "methodology" +wasInvalidatedBy: + extractedMetadata: true + label: "Was invalidated by" + description: [ "PROV: Invalidation is the start of the destruction, cessation, or expiry of an existing entity by an activity" ] + helpText: "People who invalidated the ontology." + display: "methodology" -hasOntologySyntax: +conformsToKnowledgeRepresentationParadigm: extractedMetadata: true - metadataMappings: [ "mod:syntax", "dc:format", "dct:format" ] - label: "Ontology Syntax" - helpText: "The presentation syntax for the ontology langage.<br>Properties taken from <a target="_blank" href="https://www.w3.org/ns/formats/">W3C URIs for file format</a>" - enforcedValues: { - "http://www.w3.org/ns/formats/JSON-LD": "JSON-LD", - "http://www.w3.org/ns/formats/N3": "N3", - "http://www.w3.org/ns/formats/N-Quads": "N-Quads", - "http://www.w3.org/ns/formats/LD_Patch": "LD Patch", - "http://www.w3.org/ns/formats/microdata": "Microdata", - "http://www.w3.org/ns/formats/OWL_XML": "OWL XML Serialization", - "http://www.w3.org/ns/formats/OWL_Functional": "OWL Functional Syntax", - "http://www.w3.org/ns/formats/OWL_Manchester": "OWL Manchester Syntax", - "http://www.w3.org/ns/formats/POWDER": "POWDER", - "http://www.w3.org/ns/formats/POWDER-S": "POWDER-S", - "http://www.w3.org/ns/formats/PROV-N": "PROV-N", - "http://www.w3.org/ns/formats/PROV-XML": "PROV-XML", - "http://www.w3.org/ns/formats/RDFa": "RDFa", - "http://www.w3.org/ns/formats/RDF_JSON": "RDF/JSON", - "http://www.w3.org/ns/formats/RDF_XML": "RDF/XML", - "http://www.w3.org/ns/formats/RIF_XML": "RIF XML Syntax", - "http://www.w3.org/ns/formats/Turtle": "Turtle", - "http://www.w3.org/ns/formats/TriG": "TriG", - "http://purl.obolibrary.org/obo/oboformat/spec.html": "OBO" - } - description: [ "DUBLIN CORE: The file format, physical medium, or dimensions of the resource.", "MOD: The syntax followed in the creation of an ontology." ] + description: [ "MOD: A representation formalism that is followed to describe knowledge in an ontology. Example includes description logics, first order logic, etc.", + "OMV: Information about the paradigm model used to create the ontology.", + "DCTERMS: An established standard to which the described resource conforms." ] + metadataMappings: [ "mod:KnowledgeRepresentationFormalism", "dct:conformsTo" ] + helpText: "A representation formalism that is followed to describe knowledge in an ontology. Example includes description logics, first order logic, etc." + label: "Knowledge representation paradigm" + display: "methodology" -isOfType: + +competencyQuestion: extractedMetadata: true - description: [ "OMV: The nature of the content of the ontology ", - "DCTERMS: The nature or genre of the resource." ] - metadataMappings: [ "dc:type", "dct:type" ] - label: "Generic Type" - helpText: "The nature of the content of the ontology.<br>Properties taken from <a target="_blank" href="http://wiki.dublincore.org/index.php/NKOS_Vocabularies#KOS_Types_Vocabulary">DCMI KOS type vocabularies</a>" - enforcedValues: { - "http://omv.ontoware.org/2005/05/ontology#ApplicationOntology": "Application Ontology", - "http://omv.ontoware.org/2005/05/ontology#CoreOntology": "Core Ontology", - "http://omv.ontoware.org/2005/05/ontology#DomainOntology": "Domain Ontology", - "http://omv.ontoware.org/2005/05/ontology#TaskOntology": "Task Ontology", - "http://omv.ontoware.org/2005/05/ontology#UpperLevelOntology": "Upper Level Ontology", - "http://omv.ontoware.org/2005/05/ontology#Vocabulary": "Vocabulary" - } + label: "Competency question" + description: [ "FOAF: A logo representing something.", + "SCHEMA: An associated logo." ] + helpText: "A set of questions made to build an ontology at the design time." + display: "methodology" usedOntologyEngineeringMethodology: extractedMetadata: true @@ -411,15 +508,57 @@ usedOntologyEngineeringMethodology: "SCHEMA: The publishingPrinciples property indicates (typically via URL) a document describing the editorial principles of an Organization (or individual, e.g. a Person writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies.", "ADMS: More information about the format in which an Asset Distribution is released. This is different from the file format as, for example, a ZIP file (file format) could contain an XML schema (representation technique)." ] metadataMappings: [ "mod:methodologyUsed", "adms:representationTechnique", "schema:publishingPrinciples" ] - display: "methodology" helpText: "Information about the method model used to create the ontology" + display: "methodology" + +accrualMethod: + extractedMetadata: true + label: "Accrual method" + description: "DCTERMS: The method by which items are added to a collection. May use a value from the Collection Description Accrual Method Vocabulary" + helpText: "The method by which items are added to the ontology." + display: "methodology" + + +accrualPeriodicity: + extractedMetadata: true + label: "Accrual periodicity" + description: "DCTERMS: The frequency with which items are added to a collection" + metadataMappings: [ "nkos:updateFrequency" ] + helpText: "The frequency with which items are added to the ontology." + enforcedValues: { + "http://purl.org/cld/freq/triennial": "Triennial", + "http://purl.org/cld/freq/biennial": "Biennial", + "http://purl.org/cld/freq/annual": "Annual", + "http://purl.org/cld/freq/semiannual": "Semiannual", + "http://purl.org/cld/freq/threeTimesAYear": "Three times a year", + "http://purl.org/cld/freq/quarterly": "Quarterly", + "http://purl.org/cld/freq/bimonthly": "Bimonthly", + "http://purl.org/cld/freq/monthly": "Monthly", + "http://purl.org/cld/freq/semimonthly": "Semimonthly", + "http://purl.org/cld/freq/threeTimesAMonth": "Three times a month", + "http://purl.org/cld/freq/weekly": "Weekly", + "http://purl.org/cld/freq/semiweekly": "Semiweekly", + "http://purl.org/cld/freq/threeTimesAWeek": "Three times a week", + "http://purl.org/cld/freq/daily": "Daily", + "http://purl.org/cld/freq/continuous": "Continuous", + "http://purl.org/cld/freq/irregular": "Irregular", + } + display: "methodology" + + +accrualPolicy: + extractedMetadata: true + label: "Accrual policy" + description: "DCTERMS: The policy governing the addition of items to a collection" + helpText: "The policy governing the addition of items to the ontology." + display: "methodology" usedOntologyEngineeringTool: extractedMetadata: true label: "Created With" description: [ "PAV: The software/tool used by the creator (pav:createdBy) when making the digital resource, for instance a word processor or an annotation tool.", - "MOD: The tool used for the creation of an ontology.", - "OMV: Information about the tool used to create the ontology." ] + "MOD: The tool used for the creation of an ontology.", + "OMV: Information about the tool used to create the ontology." ] metadataMappings: [ "mod:toolUsed", "pav:createdWith", "oboInOwl:auto-generated-by" ] helpText: "Information about the tool used to create the ontology" enforcedValues: { @@ -439,483 +578,450 @@ usedOntologyEngineeringTool: "TopBraid": "TopBraid", "NeOn-Toolkit": "NeOn-Toolkit" } + display: "methodology" + +# links + +pullLocation: + extractedMetadata: true + description: [ "DCAT: A URL of a resource that gives access to a distribution of the dataset. E.g. landing page, feed, SPARQL endpoint.", + "OMV: The location where the ontology can be found.", + "DOAP: Web page from which the project software can be downloaded" ] + metadataMappings: [ "doap:download-page" , "dcat:accessURL" , "omv:resourceLocator" ] + label: "Access URL" + enforcedValues: { + "https://www.w3.org/TR/rdf-schema/#ch_subclassof": "rdfs:subClassOf", + "http://www.sparna.fr/skos/SKOS-traduction-francais.html#broader": "skos:broader" + } + display: "links" + +uriLookupEndpoint: + extractedMetadata: true + description: "VOID: A protocol endpoint for simple URI lookups for a void:Dataset." + label: "URI Lookup Endpoint" + helpText: "A protocol endpoint for simple URI lookups for the ontology." + display: "links" + +openSearchDescription: + extractedMetadata: true + label: "Free-text search endpoint" + description: "VOID: An OpenSearch description document for a free-text search service over a void:Dataset. " + metadataMappings: [ "doap:service-endpoint" ] + display: "links" + +endpoint: + extractedMetadata: true + label: "SPARQL endpoint" + description: [ "SD: Relates an instance of sd:Service to a SPARQL endpoint that implements the SPARQL Protocol service for the service. The object of the sd:endpoint property is an IRI.", + "VOID: A SPARQL protocol endpoint that allows SPARQL query access to a void:Dataset." ] + metadataMappings: [ "void:sparqlEndpoint" ] + display: "links" + +csvDump: + label: "CSV dump" + display: "links" + + +dataDump: + extractedMetadata: true + label: "Download URL" + description: [ "DCAT: The URL of the downloadable file in a given format. E.g. CSV file or RDF file. The format is indicated by the distribution's dcterms:format and/or dcat:mediaType.", + "VOID: An RDF dump, partial or complete, of a void:Dataset.", + "DOAP: Mirror of software download web page.", + "SCHEMA: A downloadable form of this dataset, at a specific location, in a specific format." ] + metadataMappings: [ "schema:distribution", "doap:download-mirror" ] + display: "links" + +source: + extractedMetadata: true + description: [ "CTERMS: A related resource from which the described resource is derived", + "SCHEMA: A resource from which this work is derived or from which it is a modification or adaptation.", + "PROV: A derivation is a transformation of an entity into another, an update of an entity resulting in a new one, or the construction of a new entity based on a pre-existing entity.", + "PROV: Influence is the capacity of an entity, activity, or agent to have an effect on the character, development, or behavior of another by means of usage, start, end, generation, invalidation, communication, derivation, attribution, association, or delegation.", + "PAV: Derived from a different resource.", + "NKOS: A resource used as the source for a derivative resource." ] + label: "Source" + metadataMappings: [ "dc:source", "prov:wasInfluencedBy", "prov:wasDerivedFrom", "pav:derivedFrom", "schema:isBasedOn", "nkos:basedOn", "mod:sourceOntology" ] + helpText: "A related resource from which the described resource is derived." + display: "links" + + +isFormatOf: + extractedMetadata: true + label: "Is format of" + description: "DCTERMS: A related resource that is substantially the same as the described resource, but in another format" + helpText: "URL to the original document that describe this ontology in a not ontological format (i.e.: the OBO original file)" + display: "links" + + +hasFormat: + extractedMetadata: true + label: "Has format" + description: "DCTERMS: A related resource that is substantially the same as the described resource, but in another format" + helpText: "URL to a document that describe this ontology in a not ontological format (i.e.: the OBO original file) generated from this ontology." + display: "links" + + +includedInDataCatalog: + extractedMetadata: true + label: "Indexed or Included in catalog or repository" + description: "SCHEMA: A data catalog which contains this dataset." + helpText: "A data catalog which contains this ontology (i.e.: OBOfoundry, aber-owl, EBI, VEST registry...)." + enforcedValues: { + "bioportal.bioontology.org": "NCBO BioPortal", + "agroportal.lirmm.fr": "AgroPortal", + "bioportal.lirmm.fr": "SIFR BioPortal", + "ebi.ac.uk/ols": "EBI OLS", + "ontobee.org": "Ontobee", + "ontohub.org": "OntoHub", + "aber-owl.net": "AberOWL", + "lov.linkeddata.es/dataset/lov": "LOV", + "onki.fi": "ONKI Ontology Library Service", + "mmisw.org": "MMI ORR", + "cor.esipfed.org": "ESIP COR", + "ecoportal.lifewatchitaly.eu": "LifeWatch EcoPortal", + "matportal.org": "MatPortal", + "medportal.bmicc.cn": "MedPortal", + "hetop.eu": "CISMeF HeTOP", + "finto.fi": "FINTO", + "vocabs.ardc.edu.au": "ANDC RVA" , + "vocab.nerc.ac.uk": "NVS" , + "terminologies.gfbio.org": "GFBIO TS", + "loterre.fr": "Loterre", + "datalab.review.fao.org/datalab/caliper": "Caliper", + "cropontology.org": "Crop Ontology Curation Tool", + "planteome.org": "Planteome", + "obofoundry.org": "OBO Foundry", + "vest.agrisemantics.org": "Agrisemantics", + "fairsharing.org": "FAIRsharing", + "thezfiles.co.za/ROMULUS": "ROMULUS", + "daml.org/ontologies": "DAML Ontology Library", + "stl.mie.utoronto.ca/colore": "Colore", + "bartoc.org": "BARTOC", + "taxobank.org": "TaxoBank", + "linkeddata.ge.imati.cnr.it": "LusTRE", + "lov4iot.appspot.com": "LOV4IoT", + "vocab.linkeddata.es": "VOCAB OEG", + "liveschema.eu": "LiveSchema", + "protegewiki.stanford.edu/wiki/Protege_Ontology_Library": "Protege Ontology Library" + } + display: "links" + + +# relations useImports: extractedMetadata: true label: "Imports" description: [ "OWL: References another OWL ontology containing definitions, whose meaning is considered to be part of the meaning of the importing ontology.", - "OMV: References another ontology metadata instance that describes an ontology containing definitions, whose meaning is considered to be part of the meaning of the ontology described by this ontology metadata instance.", - "DCTERMS: A related resource that is required by the described resource to support its function, delivery, or coherence.", - "VOAF: Indicates that the subject vocabulary extends the expressivity of the object vocabulary by declaring subsumption relationships, using object vocabulary class as domain or range of a subject vocabulary property, defining local restrictions etc ...." ] + "OMV: References another ontology metadata instance that describes an ontology containing definitions, whose meaning is considered to be part of the meaning of the ontology described by this ontology metadata instance.", + "DCTERMS: A related resource that is required by the described resource to support its function, delivery, or coherence.", + "VOAF: Indicates that the subject vocabulary extends the expressivity of the object vocabulary by declaring subsumption relationships, using object vocabulary class as domain or range of a subject vocabulary property, defining local restrictions etc ...." ] metadataMappings: [ "owl:imports", "door:imports", "void:vocabulary", "voaf:extends", "dct:requires", "oboInOwl:import" ] helpText: "References another ontology metadata instance that describes an ontology containing definitions, whose meaning is considered to be part of the meaning of the ontology described by this ontology metadata instance" + display: "relations" hasPriorVersion: extractedMetadata: true label: "Prior version" description: [ "OWL: This identifies the specified ontology as a prior version of the containing ontology.", - "OMV: Contains a reference to another ontology metadata instance.", - "DCTERMS: A related resource of which the described resource is a version, edition, or adaptation.", - "PROV: A revision is a derivation for which the resulting entity is a revised version of some original. The implication here is that the resulting entity contains substantial content from the original.", - "DOOR: Prior version relation from OWL.", - "ADMS: A link to the previous version of the Asset" ] + "OMV: Contains a reference to another ontology metadata instance.", + "DCTERMS: A related resource of which the described resource is a version, edition, or adaptation.", + "PROV: A revision is a derivation for which the resulting entity is a revised version of some original. The implication here is that the resulting entity contains substantial content from the original.", + "DOOR: Prior version relation from OWL.", + "ADMS: A link to the previous version of the Asset" ] metadataMappings: [ "owl:priorVersion", "dct:isVersionOf", "door:priorVersion", "prov:wasRevisionOf", "adms:prev", "pav:previousVersion", "pav:hasEarlierVersion" ] helpText: "An URI to the prior version of the ontology" example: 'http://data.agroportal.lirmm.fr/ontologies/GO/submissions/208' + display: "relations" isBackwardCompatibleWith: extractedMetadata: true label: "Backward compatible" description: [ "OWL: This identifies the specified ontology as a prior version of the containing ontology, and further indicates that it is backward compatible with it.", - "OMV: The ontology metadata instance which describes an ontology that is a compatible prior version of the ontology described by this ontology metadata Instance.", - "DOOR: The relation of being a compatible new version from owl" ] + "OMV: The ontology metadata instance which describes an ontology that is a compatible prior version of the ontology described by this ontology metadata Instance.", + "DOOR: The relation of being a compatible new version from owl" ] metadataMappings: [ "owl:backwardCompatibleWith", "door:backwardCompatibleWith" ] - display: "relations" helpText: "URI of an ontology that has its prior version compatible with the described ontology" + display: "relations" isIncompatibleWith: extractedMetadata: true label: "Incompatible" description: [ "OWL: This indicates that the containing ontology is a later version of the referenced ontology, but is not backward compatible with it.", - "OMV: The described ontology is a later version of the ontology described by the metadata specified, but is not backward compatible with it. It can be used to explicitly state that ontology cannot upgrade to use the new version without checking whether changes are required." ] + "OMV: The described ontology is a later version of the ontology described by the metadata specified, but is not backward compatible with it. It can be used to explicitly state that ontology cannot upgrade to use the new version without checking whether changes are required." ] metadataMappings: [ "owl:incompatibleWith", "door:owlIncompatibleWith" ] + helpText: "URI of an ontology that is a prior version of this ontology, but not compatible" + display: "relations" + +workTranslation: + extractedMetadata: true + description: [ "MOD: A pointer to the translated ontology(ies) for an existing ontology. ", + "SCHEMA: A work that is a translation of the content of this work.", + "ADMS: Links Assets that are translations of each other." ] + helpText: "A ontology that is a translation of the content of this ontology." + metadataMappings: [ "mod:translation " ] + label: "Translated from" display: "relations" - helpText: "URI of an ontology that is a prior version of this ontology, but not compatible" -deprecated: - extractedMetadata: true - label: "Deprecated" - metadataMappings: [ "idot:obsolete" ] - helpText: "To specify if the ontology IRI is deprecated" - description: [ "DCAT: An annotation with the owl:deprecated annotation property and the value equal to \"true\"^^xsd:boolean can be used to specify that an IRI is deprecated", - "OWL: The annotation property that indicates that a given entity has been deprecated.", - "IDOT: Indicates if the current dataset is obsolete (not provided any more to the public community). Value can either be 'true' or 'false' (xsd:boolean). The statement is usually omitted if 'false'." - ] -versionIRI: +translationOfWork: extractedMetadata: true - display: "general" - label: "Version IRI" - helpText: "Identifies the version IRI of an ontology." - description: [ "OWL: The property that identifies the version IRI of an ontology" ] + description: [ "SCHEMA: The work that this work has been translated from.", + "ADMS: Links Assets that are translations of each other." ] + metadataMappings: [ "adms:translation" ] + helpText: "The ontology that this ontology has been translated from." + label: "Translation of" + display: "relations" + ontologyRelatedTo: extractedMetadata: true label: "Generally related to" description: [ "DCTERMS: A related resource", - "VOAF: Indicates that the subject vocabulary uses or extends some class or property of the object vocabulary" ] + "VOAF: Indicates that the subject vocabulary uses or extends some class or property of the object vocabulary" ] metadataMappings: [ "dc:relation", "dct:relation", "voaf:reliesOn" ] helpText: "An ontology that uses or extends some class or property of the described ontology" + display: "relations" + comesFromTheSameDomain: extractedMetadata: true description: "DOOR: If the two ontologies come from the same domain (without any other details)." - display: "relations" helpText: "Ontologies that come from the same domain" label: "From the same domain than" + display: "relations" similarTo: extractedMetadata: true label: "Similar to" description: [ "VOAF: Used to assert that two vocabularies are similar in scope and objectives, independently of the fact that they otherwise refer to each other.", - "DOOR: Represents the meaning of 'how an ontology overlap/cover parts of the same area of interest of another ontology." ] + "DOOR: Represents the meaning of 'how an ontology overlap/cover parts of the same area of interest of another ontology." ] metadataMappings: [ "voaf:similar" ] - display: "relations" helpText: "Vocabularies that are similar in scope and objectives, independently of the fact that they otherwise refer to each other." + display: "relations" isAlignedTo: extractedMetadata: true label: "Has equivalences with" description: [ "VOAF: Indicates that the subject vocabulary declares some equivalent classes or properties with the object vocabulary.", - "DOOR: Links two ontologies if there exists an alignment which covers a substantial part of the vocabulary (i.e., a proportion greater than a threshold).", - "NKOS: A related resource with which the described resource is aligned." ] + "DOOR: Links two ontologies if there exists an alignment which covers a substantial part of the vocabulary (i.e., a proportion greater than a threshold).", + "NKOS: A related resource with which the described resource is aligned." ] metadataMappings: [ "voaf:hasEquivalencesWith", "nkos:alignedWith" ] helpText: "Ontologies that have an alignment which covers a substantial part of the described ontology" + display: "relations" explanationEvolution: extractedMetadata: true description: [ "DOOR: Evolution which involves only at the syntactic level.", - "PROV: An entity that is a specialization of another shares all aspects of the latter, and additionally presents more specific aspects of the same thing as the latter.", - "VOAF:Indicates that the subject vocabulary defines some subclasses or subproperties of the object vocabulary, or local restrictions on those" ] + "PROV: An entity that is a specialization of another shares all aspects of the latter, and additionally presents more specific aspects of the same thing as the latter.", + "VOAF:Indicates that the subject vocabulary defines some subclasses or subproperties of the object vocabulary, or local restrictions on those" ] metadataMappings: [ "voaf:specializes", "prov:specializationOf" ] - display: "relations" label: "Specialization of" helpText: "If the ontology is a latter version that is semantically equivalent to another ontology." + display: "relations" generalizes: extractedMetadata: true description: [ "VOAF: Indicates that the subject vocabulary generalizes by some superclasses or super properties the object vocabulary.", - "PROV: Inverse property of specializationOf." ] - display: "relations" + "PROV: Inverse property of specializationOf." ] label: "Generalization of" helpText: "Vocabulary that is generalized by some superclasses or superproperties by the described ontology" + display: "relations" hasDisparateModelling: extractedMetadata: true description: "DOOR: Disagreements related to the conceptualization of the ontologies. Two ontologies are considered to have disparate modeling if they represent corresponding entities in different ways, e.g. as an instance in one case and a class in the other.." - display: "relations" label: "Disparate modelling with" helpText: "URI of an ontology that is considered to have a different model, because they represent corresponding entities in different ways.<br>e.g. an instance in one case and a class in the other for the same concept" - -hiddenLabel: - extractedMetadata: true - label: "Hidden or past name" - description: [ "MOD: Hidden or past name", - "SKOS: A lexical label for a resource that should be hidden when generating visual displays of the resource, but should still be accessible to free text search operations." ] - helpText: "The hidden labels are useful when a user is interacting with a knowledge organization system via a text-based search function. The user may, for example, enter mis-spelled words when trying to find a relevant concept. If the mis-spelled query can be matched against a hidden label, the user will be able to find the relevant concept, but the hidden label won't otherwise be visible to the user" - -coverage: - extractedMetadata: true - label: "Coverage" - description: [ "DCTERMS: The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant. 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.", - "SCHEMA: The 'spatial' property can be used in cases when more specific properties (e.g. locationCreated, spatialCoverage, contentLocation) are not known to be appropriate." ] - metadataMappings: [ "dc:coverage", "schema:spatial" ] - display: "usage" - helpText: "The spatial or temporal topic of the ontology, the spatial applicability of the ontology, or the jurisdiction under which the ontology is relevant." - -publisher: - extractedMetadata: false - label: "Publisher" - description: [ "DCTERMS: An entity responsible for making the resource available.", - "SCHEMA: The publisher of creative work.", - "ADMS: The name of the agency that issued the identifier." ] - metadataMappings: [ "dc:publisher", "schema:publisher" ] - display: "license" - helpText: "An entity responsible for making the ontology available." - - -identifier: - extractedMetadata: true - label: "Other identifier" - description: [ "DCTERMS: An unambiguous reference to the resource within a given context. Recommended practice is to identify the resource by means of a string conforming to an identification system. Examples include International Standard Book Number (ISBN), Digital Object Identifier (DOI), and Uniform Resource Name (URN). Persistent identifiers should be provided as HTTP URIs.", - "SKOS: A notation is a string of characters such as\"T58.5\"or\"303.4833\"used to uniquely identify a concept within the scope of a given concept scheme.", - "ADMS: adms:identifier is used to link any resource to an instance of adms:Identifier which is its range. N.B. it is not appropriate to use dcterms:identifer to link to the Identifier class as its range is rdfs:Literal. ADMS uses this to provide any identifier for the Asset.", - "SCHEMA: The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. " ] - metadataMappings: [ "dc:identifier", "skos:notation", "adms:identifier" ] - helpText: "An unambiguous reference to the ontology. Use the ontology URI if not provided in the ontology metadata." - example: 'https://doi.org/10.15454/1.4690062322351956E12' - -source: - extractedMetadata: true - description: [ "CTERMS: A related resource from which the described resource is derived", - "SCHEMA: A resource from which this work is derived or from which it is a modification or adaptation.", - "PROV: A derivation is a transformation of an entity into another, an update of an entity resulting in a new one, or the construction of a new entity based on a pre-existing entity.", - "PROV: Influence is the capacity of an entity, activity, or agent to have an effect on the character, development, or behavior of another by means of usage, start, end, generation, invalidation, communication, derivation, attribution, association, or delegation.", - "PAV: Derived from a different resource.", - "NKOS: A resource used as the source for a derivative resource." ] - display: "links" - label: "Source" - metadataMappings: [ "dc:source", "prov:wasInfluencedBy", "prov:wasDerivedFrom", "pav:derivedFrom", "schema:isBasedOn", "nkos:basedOn", "mod:sourceOntology" ] - helpText: "A related resource from which the described resource is derived." - -abstract: - extractedMetadata: true - label: "Abstract" - description: "DCTERMS: A summary of the resource" - helpText: "A summary of the ontology" - -alternative: - extractedMetadata: true - description: [ "DCTERMS: An alternative name for the resource. The distinction between titles and alternative titles is application-specific.", - "SKOS: The preferred and alternative labels are useful when generating or creating human-readable representations of a knowledge organization system.", - "SCHEMA: An alias for the item. A short label that is used by some communities to refer to a dataset", - "IDOT: A short label that is used by some communities to refer to a dataset (see 'preferredPrefix')." ] - label: "Alternative name" - metadataMappings: [ "skos:altLabel", "idot:alternatePrefix", "schema:alternativeHeadline", "schema:alternateName" ] - helpText: "An alternative title for the ontology" + display: "relations" hasPart: extractedMetadata: true label: "Has part (has views)" description: [ "DCTERMS: A related resource that is included either physically or logically in the described resource.", - "SCHEMA: Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "ADMS: Links to a sample of an Asset (which is itself an Asset)." ] + "SCHEMA: Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", + "ADMS: Links to a sample of an Asset (which is itself an Asset)." ] metadataMappings: [ "schema:hasPart", "oboInOwl:hasSubset", "adms:includedAsset" ] - display: "relations" helpText: "A related ontology that is included either physically or logically in the described ontology." - -isFormatOf: - extractedMetadata: true - label: "Is format of" - description: "DCTERMS: A related resource that is substantially the same as the described resource, but in another format" - display: "links" - helpText: "URL to the original document that describe this ontology in a not ontological format (i.e.: the OBO original file)" - - -hasFormat: - extractedMetadata: true - label: "Has format" - description: "DCTERMS: A related resource that is substantially the same as the described resource, but in another format" - display: "links" - helpText: "URL to a document that describe this ontology in a not ontological format (i.e.: the OBO original file) generated from this ontology." - - -audience: - extractedMetadata: true - label: "Audience" - description: [ "DCTERMS: a class of entity for whom the resource is intended or useful (public visé ou recommandé pour la ressource).", - "DOAP: Description of target user base.", - "SCHEMA: An intended audience, i.e. a group for whom something was created" ] - metadataMappings: [ "doap:audience", "schema:audience" ] - display: "community" - helpText: "Description of the target user base of the ontology." - -valid: - extractedMetadata: true - description: [ "DCTERMS: Date (often a range) of validity of a resource.", - "SCHEMA: The end date and time of the item.", - "PROV: Invalidation is the start of the destruction, cessation, or expiry of an existing entity by an activity. The entity is no longer available for use (or further invalidation) after invalidation. Any generation or usage of an entity precedes its invalidation." ] - label: "Valid until" - metadataMappings: [ "prov:invaliatedAtTime", "schema:endDate" ] - display: "dates" - helpText: "Date (often a range) of validity of the ontology." - -accrualMethod: - extractedMetadata: true - label: "Accrual method" - description: "DCTERMS: The method by which items are added to a collection. May use a value from the Collection Description Accrual Method Vocabulary" - display: "methodology" - helpText: "The method by which items are added to the ontology." - - -accrualPeriodicity: - extractedMetadata: true - label: "Accrual periodicity" - description: "DCTERMS: The frequency with which items are added to a collection" - display: "methodology" - metadataMappings: [ "nkos:updateFrequency" ] - helpText: "The frequency with which items are added to the ontology." - enforcedValues: { - "http://purl.org/cld/freq/triennial": "Triennial", - "http://purl.org/cld/freq/biennial": "Biennial", - "http://purl.org/cld/freq/annual": "Annual", - "http://purl.org/cld/freq/semiannual": "Semiannual", - "http://purl.org/cld/freq/threeTimesAYear": "Three times a year", - "http://purl.org/cld/freq/quarterly": "Quarterly", - "http://purl.org/cld/freq/bimonthly": "Bimonthly", - "http://purl.org/cld/freq/monthly": "Monthly", - "http://purl.org/cld/freq/semimonthly": "Semimonthly", - "http://purl.org/cld/freq/threeTimesAMonth": "Three times a month", - "http://purl.org/cld/freq/weekly": "Weekly", - "http://purl.org/cld/freq/semiweekly": "Semiweekly", - "http://purl.org/cld/freq/threeTimesAWeek": "Three times a week", - "http://purl.org/cld/freq/daily": "Daily", - "http://purl.org/cld/freq/continuous": "Continuous", - "http://purl.org/cld/freq/irregular": "Irregular", - - } - - -accrualPolicy: - extractedMetadata: true - label: "Accrual policy" - description: "DCTERMS: The policy governing the addition of items to a collection" - display: "methodology" - helpText: "The policy governing the addition of items to the ontology." - -endpoint: - extractedMetadata: true - label: "SPARQL endpoint" - description: [ "SD: Relates an instance of sd:Service to a SPARQL endpoint that implements the SPARQL Protocol service for the service. The object of the sd:endpoint property is an IRI.", - "VOID: A SPARQL protocol endpoint that allows SPARQL query access to a void:Dataset." ] - metadataMappings: [ "void:sparqlEndpoint" ] - display: "content" - - -dataDump: - extractedMetadata: true - label: "Download URL" - description: [ "DCAT: The URL of the downloadable file in a given format. E.g. CSV file or RDF file. The format is indicated by the distribution's dcterms:format and/or dcat:mediaType.", - "VOID: An RDF dump, partial or complete, of a void:Dataset.", - "DOAP: Mirror of software download web page.", - "SCHEMA: A downloadable form of this dataset, at a specific location, in a specific format." ] - metadataMappings: [ "schema:distribution", "doap:download-mirror" ] - display: "content" - -csvDump: - display: "content" - label: "CSV dump" - -openSearchDescription: - extractedMetadata: true - label: "Free-text search endpoint" - description: "VOID: An OpenSearch description document for a free-text search service over a void:Dataset. " - metadataMappings: [ "doap:service-endpoint" ] - display: "content" - -uriLookupEndpoint: - extractedMetadata: true - description: "VOID: A protocol endpoint for simple URI lookups for a void:Dataset." - display: "content" - label: "URI Lookup Endpoint" - helpText: "A protocol endpoint for simple URI lookups for the ontology." - -uriRegexPattern: - extractedMetadata: true - description: "VOID: A protocol endpoint for simple URI lookups for a void:Dataset." - metadataMappings: [ "idot:identifierPattern" ] - display: "content" - label: "URI Regex Pattern" - helpText: "A regular expression that matches the URIs of the ontology entities." - -depiction: - extractedMetadata: true - label: "Depiction" - description: [ "FOAF: A depiction of something.", - "DOAP: Web page with screenshots of project. An image of the item. SCHEMA: An image of the item. This can be a URL or a fully described ImageObject." ] - metadataMappings: [ "doap:screenshots", "schema:image" ] - display: "images" - helpText: "The URL of an image representing the ontology." - -logo: - extractedMetadata: true - label: "Logo" - description: [ "FOAF: A logo representing something.", - "SCHEMA: An associated logo." ] - metadataMappings: [ "schema:logo" ] - display: "images" - helpText: "The URL of the ontology logo." - -competencyQuestion: - extractedMetadata: true - label: "Competency question" - description: [ "FOAF: A logo representing something.", - "SCHEMA: An associated logo." ] - display: "methodology" - helpText: "A set of questions made to build an ontology at the design time." + display: "relations" usedBy: extractedMetadata: true label: "Used by" description: [ "VOAF: Indicates that the subject vocabulary is used by the object vocabulary.", - "NKOS: Agent using the described KOS" ] - display: "relations" + "NKOS: Agent using the described KOS" ] metadataMappings: [ "nkos:usedBy" ] helpText: "Ontologies that use the described ontology." - -metadataVoc: - extractedMetadata: true - description: [ "VOAF: Indicates that the subject vocabulary uses the object vocabulary in metadata at vocabulary or element level", - "SCHEMA: Indicates (by URL or string) a particular version of a schema used in some CreativeWork.", - "ADMS: A schema according to which the Asset Repository can provide data about its content, e.g. ADMS.", - "MOD: A vocabulary(ies) that is used and/or referred to create the current ontology." ] - display: "content" - label: "Metadata vocabulary used" - metadataMappings: [ "mod:vocabularyUsed", "adms:supportedSchema", "schema:schemaVersion" ] - helpText: "Vocabularies that are used and/or referred to create the described ontology." + display: "relations" hasDisjunctionsWith: extractedMetadata: true label: "Disparate modelling with" description: "VOAF: Indicates that the subject vocabulary declares some disjunct classes with the object vocabulary" helpText: "Ontology that declares some disjunct classes with the described ontology." + display: "relations" -toDoList: - extractedMetadata: true - label: "To do list" - description: "VOID: Describes future tasks planned by a resource curator. This property is primarily intended to be used for vocabularies or datasets, but the domain is left open, it can be used for any resource. Use iCalendar Vtodo class and its properties to further describe the task calendar, priorities etc" - display: "community" - helpText: "Describes future tasks planned by a resource curator." -example: +# content +diffFilePath: + label: "Changes" + description: [ "VANN: A reference to a resource that describes changes between this version of a vocabulary and the previous"] + metadataMappings: [ "vann:changes"] + display: "content" + + +exampleIdentifier: + extractedMetadata: false + label: "Example of resource" + description: [ "VOID: Example resource of dataset.", + "IDOT: An example identifier used by one item (or record) from a dataset." ] + helpText: "An example identifier used by one item (or record) from a dataset." + display: "content" + +preferredNamespacePrefix: extractedMetadata: true - description: [ "VANN: A reference to a resource that provides an example of how this resource can be used.", - "SCHEMA: Example/instance/realization/derivation of the concept of this creative work. eg. The paperback edition, first edition, or eBook" ] - metadataMappings: [ "schema:workExample" ] - display: "usage" - helpText: "A reference to a resource that provides an example of how this ontology can be used." - label: "Example of use" + label: "Preferred namespace prefix" + description: [ "VANN: The preferred namespace prefix to use when using terms from this vocabulary in an XML document.", + "IDOT: Short label that is commonly used to refer to the dataset. Often used to identify the dataset in IRIs for specific items (or records). This may also stand in place of the base IRI of the dataset (e.g. see http://prefix.cc)." ] + metadataMappings: [ "idot:preferredPrefix", "oboInOwl:default-namespace", "oboInOwl:hasDefaultNamespace" ] + helpText: "The preferred namespace prefix to use when using terms from this ontology." + display: "content" preferredNamespaceUri: extractedMetadata: true label: "Preferred namespace URI" description: [ "VANN: The preferred namespace URI to use when using terms from this vocabulary in an XML document.", - "VOID: A URI that is a common string prefix of all the entity URIs in a void:Dataset" ] + "VOID: A URI that is a common string prefix of all the entity URIs in a void:Dataset" ] metadataMappings: [ "void:uriSpace" ] helpText: "The preferred namespace URI to use when using terms from this ontology." example: 'http://purl.obolibrary.org/obo/ENVO_' + display: "content" -preferredNamespacePrefix: +uriRegexPattern: extractedMetadata: true - label: "Preferred namespace prefix" - description: [ "VANN: The preferred namespace prefix to use when using terms from this vocabulary in an XML document.", - "IDOT: Short label that is commonly used to refer to the dataset. Often used to identify the dataset in IRIs for specific items (or records). This may also stand in place of the base IRI of the dataset (e.g. see http://prefix.cc)." ] - metadataMappings: [ "idot:preferredPrefix", "oboInOwl:default-namespace", "oboInOwl:hasDefaultNamespace" ] - helpText: "The preferred namespace prefix to use when using terms from this ontology." - + description: "VOID: A protocol endpoint for simple URI lookups for a void:Dataset." + metadataMappings: [ "idot:identifierPattern" ] + label: "URI Regex Pattern" + helpText: "A regular expression that matches the URIs of the ontology entities." + display: "content" -morePermissions: - description: "CC: A related resource which describes additional permissions or alternative licenses for a Work which may be available" +metadataVoc: extractedMetadata: true - label: "More permissions" - display: "license" - helpText: "A related resource which describes additional permissions or alternative licenses." + description: [ "VOAF: Indicates that the subject vocabulary uses the object vocabulary in metadata at vocabulary or element level", + "SCHEMA: Indicates (by URL or string) a particular version of a schema used in some CreativeWork.", + "ADMS: A schema according to which the Asset Repository can provide data about its content, e.g. ADMS.", + "MOD: A vocabulary(ies) that is used and/or referred to create the current ontology." ] + label: "Metadata vocabulary used" + metadataMappings: [ "mod:vocabularyUsed", "adms:supportedSchema", "schema:schemaVersion" ] + helpText: "Vocabularies that are used and/or referred to create the described ontology." + display: "content" -useGuidelines: +keyClasses: + extractedMetadata: false + description: [ "OMV: Representative classes in the ontology.", + "FOAF: The primary topic of some page or document.", + "SCHEMA: Indicates the primary entity described in some page or other CreativeWork." ] + metadataMappings: [ "foaf:primaryTopic", "void:exampleResource", "schema:mainEntity" ] + helpText: "Representative classes in the ontology." + label: "Key classes" + display: "content" + +obsoleteParent: extractedMetadata: true - label: "Use guidelines" - description: "CC: A related resource which defines non-binding use guidelines for the work" - display: "community" - helpText: "A related resource which defines how the ontology should be used." + description: [ "MOD: property used to specify the root of an obsolete branch in the ontology." ] + metadataMappings: [ "doap:download-page" , "dcat:accessURL" , "omv:resourceLocator" ] + label: "Root of obsolete branch" + display: "content" +# usage -curatedOn: + +knownUsage: extractedMetadata: true - label: "Curation date" - description: "PAV: Specifies the date this resource was curated. pav:curatedBy gives the agents that performed the curation." - display: "dates" - helpText: "The date the ontology was curated." - example: '2022-09-06' + description: [ "OMV: The applications where the ontology is being used." ] + helpText: "The applications where the ontology is being used." + example: "Used to annotate phenotypes and patterns of gene expression" + label: "Known usage" + display: "usage" -repository: +designedForOntologyTask: extractedMetadata: true - label: "Repository" - description: "DOAP: Source code repository" - display: "community" - helpText: "Link to the source code repository." - example: 'https://github.com/Planteome/plant-trait-ontology' + description: [ "DCTERMS: The purpose for which the ontology was originally designed", + "OMV: The purpose for which the ontology was originally designed." ] + label: "Designed for task" + helpText: "The purpose for which the ontology was originally designed." + enforcedValues: { + "http://omv.ontoware.org/2005/05/ontology#AnnotationTask": "Annotation Task", + "http://omv.ontoware.org/2005/05/ontology#ConfigurationTask": "Configuration Task", + "http://omv.ontoware.org/2005/05/ontology#FilteringTask": "Filtering Task", + "http://omv.ontoware.org/2005/05/ontology#IndexingTask": "Indexing Task", + "http://omv.ontoware.org/2005/05/ontology#IntegrationTask": "Integration Task", + "http://omv.ontoware.org/2005/05/ontology#MatchingTask": "Matching Task", + "http://omv.ontoware.org/2005/05/ontology#MediationTask": "Mediation Task", + "http://omv.ontoware.org/2005/05/ontology#PersonalizationTask": "Personalization Task", + "http://omv.ontoware.org/2005/05/ontology#QueryFormulationTask": "Query Formulation Task", + "http://omv.ontoware.org/2005/05/ontology#QueryRewritingTask": "Query Rewriting Task", + "http://omv.ontoware.org/2005/05/ontology#SearchTask": "Search Task" + } + display: "usage" -bugDatabase: +hasDomain: extractedMetadata: true - label: "Bug database" - description: "DOAP: Bug tracker for a project" - display: "community" - helpText: "Link to the bug tracker of the ontology (i.e.: GitHub issues)." + label: "Subject" + description: [ "DCTERMS: The topic of the resource.", + "SCHEMA: The subject matter of the content.", + "FOAF: A topic of some page or document.", + "OMV: Typically, the domain can refer to established topic hierarchies such as the general purpose topic hierarchy DMOZ or the domain specific topic hierarchy ACM for the computer science domain", + "DCAT: A main category of the resource." ] + helpText: "Typically, the domain can refer to established topic hierarchies such as the general purpose topic hierarchy DMOZ or the domain specific topic hierarchy ACM for the computer science domain" + metadataMappings: [ "dc:subject", "dct:subject", "foaf:topic", "dcat:theme", "schema:about" ] + display: "usage" -mailingList: + +coverage: extractedMetadata: true - label: "Mailing list" - description: "DOAP: Mailing list home page or email address " - display: "community" - helpText: "Mailing list home page or email address." + label: "Coverage" + description: [ "DCTERMS: The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant. 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.", + "SCHEMA: The 'spatial' property can be used in cases when more specific properties (e.g. locationCreated, spatialCoverage, contentLocation) are not known to be appropriate." ] + metadataMappings: [ "dc:coverage", "schema:spatial" ] + helpText: "The spatial or temporal topic of the ontology, the spatial applicability of the ontology, or the jurisdiction under which the ontology is relevant." + display: "usage" -exampleIdentifier: - extractedMetadata: false - label: "Example of resource" - description: [ "VOID: Example resource of dataset.", - "IDOT: An example identifier used by one item (or record) from a dataset." ] - display: "content" - helpText: "An example identifier used by one item (or record) from a dataset." -award: +example: extractedMetadata: true - label: "Award" - description: "SCHEMA: An award won by or for this item" - display: "community" - helpText: "An award won by this ontology." + description: [ "VANN: A reference to a resource that provides an example of how this resource can be used.", + "SCHEMA: Example/instance/realization/derivation of the concept of this creative work. eg. The paperback edition, first edition, or eBook" ] + metadataMappings: [ "schema:workExample" ] + helpText: "A reference to a resource that provides an example of how this ontology can be used." + label: "Example of use" + display: "usage" -copyrightHolder: - extractedMetadata: false - label: "Rights holder" - description: [ "SCHEMA: The party holding the legal copyright to the CreativeWork.", - "DCTERMS: A person or organization owning or managing rights over the resource." ] - display: "license" - helpText: "The party holding the legal copyright to the CreativeWork." - example: 'INRAE (003vg9w96)' + + +# images +depiction: + extractedMetadata: true + label: "Depiction" + description: [ "FOAF: A depiction of something.", + "DOAP: Web page with screenshots of project. An image of the item. SCHEMA: An image of the item. This can be a URL or a fully described ImageObject." ] + metadataMappings: [ "doap:screenshots", "schema:image" ] + helpText: "The URL of an image representing the ontology." + display: "images" + +logo: + extractedMetadata: true + label: "Logo" + description: [ "FOAF: A logo representing something.", + "SCHEMA: An associated logo." ] + metadataMappings: [ "schema:logo" ] + helpText: "The URL of the ontology logo." + display: "images" associatedMedia: extractedMetadata: true @@ -925,76 +1031,13 @@ associatedMedia: helpText: "A media object that encodes this ontology. This property is a synonym for encoding." -workTranslation: - extractedMetadata: true - description: [ "MOD: A pointer to the translated ontology(ies) for an existing ontology. ", - "SCHEMA: A work that is a translation of the content of this work.", - "ADMS: Links Assets that are translations of each other." ] - display: "relations" - helpText: "A ontology that is a translation of the content of this ontology." - metadataMappings: [ "mod:translation " ] - label: "Translated from" - - -translationOfWork: - extractedMetadata: true - description: [ "SCHEMA: The work that this work has been translated from.", - "ADMS: Links Assets that are translations of each other." ] - metadataMappings: [ "adms:translation" ] - helpText: "The ontology that this ontology has been translated from." - label: "Translation of" - display: "relations" -includedInDataCatalog: - extractedMetadata: true - label: "Indexed or Included in catalog or repository" - description: "SCHEMA: A data catalog which contains this dataset." - display: "links" - helpText: "A data catalog which contains this ontology (i.e.: OBOfoundry, aber-owl, EBI, VEST registry...)." - enforcedValues: { - "bioportal.bioontology.org": "NCBO BioPortal", - "agroportal.lirmm.fr": "AgroPortal", - "bioportal.lirmm.fr": "SIFR BioPortal", - "ebi.ac.uk/ols": "EBI OLS", - "ontobee.org": "Ontobee", - "ontohub.org": "OntoHub", - "aber-owl.net": "AberOWL", - "lov.linkeddata.es/dataset/lov": "LOV", - "onki.fi": "ONKI Ontology Library Service", - "mmisw.org": "MMI ORR", - "cor.esipfed.org": "ESIP COR", - "ecoportal.lifewatchitaly.eu": "LifeWatch EcoPortal", - "matportal.org": "MatPortal", - "medportal.bmicc.cn": "MedPortal", - "hetop.eu": "CISMeF HeTOP", - "finto.fi": "FINTO", - "vocabs.ardc.edu.au": "ANDC RVA" , - "vocab.nerc.ac.uk": "NVS" , - "terminologies.gfbio.org": "GFBIO TS", - "loterre.fr": "Loterre", - "datalab.review.fao.org/datalab/caliper": "Caliper", - "cropontology.org": "Crop Ontology Curation Tool", - "planteome.org": "Planteome", - "obofoundry.org": "OBO Foundry", - "vest.agrisemantics.org": "Agrisemantics", - "fairsharing.org": "FAIRsharing", - "thezfiles.co.za/ROMULUS": "ROMULUS", - "daml.org/ontologies": "DAML Ontology Library", - "stl.mie.utoronto.ca/colore": "Colore", - "bartoc.org": "BARTOC", - "taxobank.org": "TaxoBank", - "linkeddata.ge.imati.cnr.it": "LusTRE", - "lov4iot.appspot.com": "LOV4IoT", - "vocab.linkeddata.es": "VOCAB OEG", - "liveschema.eu": "LiveSchema", - "protegewiki.stanford.edu/wiki/Protege_Ontology_Library": "Protege Ontology Library" - } +# object description properties prefLabelProperty: extractedMetadata: true description: "MOD: Property used to specify objects preferred label" label: "Object preferred label property" - display: "Object description properties" enforcedValues: { "http://www.w3.org/2004/02/skos/core#prefLabel": "prefLabel", "http://www.w3.org/2000/01/rdf-schema#label": "label", @@ -1002,37 +1045,37 @@ prefLabelProperty: "http://xmlns.com/foaf/0.1/name": "name", "http://purl.org/dc/terms/title": "title" } + display: "object description properties" synonymProperty: extractedMetadata: true description: "MOD: Property used to specify objects synonyms" label: "Object synonym property" - display: "Object description properties" enforcedValues: { "http://www.w3.org/2004/02/skos/core#altLabel ": "altLabel", "http://purl.org/dc/terms/alternative ": "alternative", "http://schema.org/alternateName": "alternativeName" } + display: "object description properties" definitionProperty: extractedMetadata: true description: "MOD: Property used to specify objects' definition" label: "Object definition property" - display: "Object description properties" enforcedValues: { "http://www.w3.org/2004/02/skos/core#definition": "definition", "http://www.w3.org/2000/01/rdf-schema#comment": "comment", "http://purl.org/dc/terms/description ": "description", "http://schema.org/description ": "decription" } + display: "object description properties" authorProperty: extractedMetadata: true description: "MOD: Property used to specify object's author" label: "Object author property" - display: "Object description properties" enforcedValues: { "http://purl.org/dc/elements/1.1/creator": "creator", "http://schema.org/author": "author", @@ -1041,22 +1084,22 @@ authorProperty: "http://purl.org/pav/createdBy": "createdBy", "http://xmlns.com/foaf/0.1/maker": "maker" } + display: "object description properties" obsoleteProperty: extractedMetadata: true description: "MOD: Property used to specify obsolete objects" label: "Object obsolete property" - display: "Object description properties" enforcedValues: { "http://www.w3.org/2002/07/owl#owl:deprecated": "deprecated", "http://identifiers.org/idot/obsolete": "obsolete" } + display: "object description properties" createdProperty: extractedMetadata: true description: "MOD: Property used to specify the date of creation of a class or another object in the ontology." label: "Object creation date property" - display: "Object description properties" enforcedValues: { "http://purl.org/dc/terms/created ": "created", "http://purl.org/dc/terms/issued ": "issued", @@ -1068,88 +1111,28 @@ createdProperty: "http://schema.org/dateCreated ": "dateCreated", "http://www.w3.org/ns/prov#generatedAtTime": "generatedAtTime" } + display: "object description properties" modifiedProperty: extractedMetadata: true description: "MOD: Property used to specify the date of modification of a class or another object in the ontology." label: "Object modification date property" - display: "Object description properties" enforcedValues: { "http://purl.org/dc/terms" , "http://schema.org" , "http://purl.org/pav" , "https://omv2.sourceforge.net" } + display: "object description properties" hierarchyProperty: extractedMetadata: true description: "MOD: A property that is used to specify the hierarchy" label: "Hierarchy property" - display: "Object description properties" - enforcedValues: { - "https://www.w3.org/TR/rdf-schema/#ch_subclassof": "rdfs:subClassOf", - "http://www.sparna.fr/skos/SKOS-traduction-francais.html#broader": "skos:broader" - } - -pullLocation: - extractedMetadata: true - description: [ "DCAT: A URL of a resource that gives access to a distribution of the dataset. E.g. landing page, feed, SPARQL endpoint.", - "OMV: The location where the ontology can be found.", - "DOAP: Web page from which the project software can be downloaded" ] - metadataMappings: [ "doap:download-page" , "dcat:accessURL" , "omv:resourceLocator" ] - label: "Access URL" - display: "Links" enforcedValues: { "https://www.w3.org/TR/rdf-schema/#ch_subclassof": "rdfs:subClassOf", "http://www.sparna.fr/skos/SKOS-traduction-francais.html#broader": "skos:broader" } + display: "object description properties" -obsoleteParent: - extractedMetadata: true - description: [ "MOD: property used to specify the root of an obsolete branch in the ontology." ] - metadataMappings: [ "doap:download-page" , "dcat:accessURL" , "omv:resourceLocator" ] - label: "Root of obsolete branch" - display: "Content" - - -maxDepth: - extractedMetadata: true - description: "MOD: Maximum depth of the hierarchy tree (BioPortal definition)." - metadataMappings: "mod:maxDepth" - label: "Maximum depth of the hierarchy" - display: "Metrics" - -maxChildCount: - extractedMetadata: true - description: "MOD: Maximum number of children per class (BioPortal definition)." - metadataMappings: "mod:maxChildCount" - label: "Maximum number of children per class" - display: "Metrics" - -averageChildCount: - extractedMetadata: true - description: "MOD: Average number of children per class (BioPortal definition)." - metadataMappings: "mod:averageChildCount" - label: "Average number of children per class" - display: "Metrics" - -classesWithOneChild: - extractedMetadata: true - description: "MOD: Average number of children per class (BioPortal definition)." - metadataMappings: "mod:classesWithOneChild" - label: "Number of classes with a single child" - display: "Metrics" - -classesWithMoreThan25Children: - extractedMetadata: true - description: "MOD: Number of classes that have more than 25 direct subclasses (BioPortal definition)." - metadataMappings: "mod:classesWithMoreThan25Children" - label: "Number of classes with more than 25 children" - display: "Metrics" -classesWithNoDefinition: - extractedMetadata: true - description: "MOD: Number of classes that have no value for the definition property (BioPortal definition). For ontologies in OBO and RRF formats, the property for definition is part of the language. For OWL ontologies, the authors specify this property as part of the ontology metadata (the default is skos:definition)." - metadataMappings: "mod:classesWithNoDefinition" - label: "Number of classes with no definition" - display: "Metrics" From dcf9c062ff66114897c66b243904510a98de39d1 Mon Sep 17 00:00:00 2001 From: Syphax Bouazzouni Date: Thu, 12 Oct 2023 03:20:14 +0200 Subject: [PATCH 3/3] disable complex validators tests --- Gemfile.lock | 24 +++++++++---------- .../test_ontology_submission_validators.rb | 18 +++++++++----- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 2ad30af1..dc62f4ed 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://github.com/ontoportal-lirmm/goo.git - revision: 1d78bde5a711d05475da0459308c7db074af5e21 + revision: 69466682c1e9cb2c338539195013dbec9714ca7d branch: development specs: goo (0.0.2) @@ -78,7 +78,7 @@ GEM faraday-patron (1.0.0) faraday-rack (1.0.0) faraday-retry (1.0.3) - ffi (1.15.5) + ffi (1.16.3) hashdiff (1.0.1) hashie (5.0.0) htmlentities (4.3.4) @@ -105,7 +105,7 @@ GEM method_source (1.0.0) mime-types (3.5.1) mime-types-data (~> 3.2015) - mime-types-data (3.2023.0808) + mime-types-data (3.2023.1003) mini_mime (1.1.5) minitest (4.7.5) minitest-reporters (0.14.24) @@ -116,21 +116,21 @@ GEM multi_json (1.15.0) multipart-post (2.3.0) net-http-persistent (2.9.4) - net-imap (0.3.7) + net-imap (0.4.1) date net-protocol net-pop (0.1.2) net-protocol net-protocol (0.2.1) timeout - net-smtp (0.3.3) + net-smtp (0.4.0) net-protocol netrc (0.11.0) oj (2.18.5) omni_logger (0.1.4) logger parallel (1.23.0) - parser (3.2.2.3) + parser (3.2.2.4) ast (~> 2.4.1) racc pony (1.13.1) @@ -151,9 +151,9 @@ GEM addressable (>= 2.2) redis (5.0.7) redis-client (>= 0.9.0) - redis-client (0.16.0) + redis-client (0.17.0) connection_pool - regexp_parser (2.8.1) + regexp_parser (2.8.2) request_store (1.5.1) rack (>= 1.4) rest-client (2.1.0) @@ -164,12 +164,12 @@ GEM rexml (3.2.6) rsolr (1.1.2) builder (>= 2.1.2) - rubocop (1.56.1) + rubocop (1.57.0) base64 (~> 0.1.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.3) + parser (>= 3.2.2.4) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) @@ -203,10 +203,10 @@ GEM unf (0.1.4) unf_ext unf_ext (0.0.8.2) - unicode-display_width (2.4.2) + unicode-display_width (2.5.0) uuid (2.3.9) macaddr (~> 1.0) - webmock (3.18.1) + webmock (3.19.1) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) diff --git a/test/models/test_ontology_submission_validators.rb b/test/models/test_ontology_submission_validators.rb index 6769d7e8..e4cc6419 100644 --- a/test/models/test_ontology_submission_validators.rb +++ b/test/models/test_ontology_submission_validators.rb @@ -5,6 +5,7 @@ class TestOntologySubmissionValidators < LinkedData::TestOntologyCommon def test_enforce_symmetric_ontologies + skip 'complex validators disabled' ontologies_properties_callbacks(:ontologyRelatedTo) end @@ -16,7 +17,7 @@ def test_lexvo_language_validator sub.bring_remaining assert sub.valid? - sub.naturalLanguage = ["fr" , "http://iso639-3/eng"] + sub.naturalLanguage = ["fr", "http://iso639-3/eng"] refute sub.valid? assert sub.errors[:naturalLanguage][:lexvo_language] @@ -29,6 +30,7 @@ def test_lexvo_language_validator # Regroup all validity test related to a submission retired status (deprecated, valid date) def test_submission_retired_validity + skip 'complex validators disabled' sorted_submissions = sorted_submissions_init latest = sorted_submissions.first @@ -72,6 +74,7 @@ def test_submission_retired_validity end def test_modification_date_previous_align + skip 'complex validators disabled' sorted_submissions = sorted_submissions_init latest = sorted_submissions[0] @@ -104,16 +107,20 @@ def test_modification_date_previous_align end def test_has_prior_version_callback + skip 'complex validators disabled' + sorted_submissions = sorted_submissions_init sorted_submissions.each_cons(2) do |current, previous| current.bring :hasPriorVersion + refute_nil current.hasPriorVersion assert previous.id, current.hasPriorVersion end end def test_update_submissions_has_part + skip 'complex validators disabled' ont_count, ont_acronyms, ontologies = create_ontologies_and_submissions(ont_count: 3, submission_count: 1, process_submission: false, acronym: 'NCBO-545') @@ -165,6 +172,7 @@ def test_update_submissions_has_part end def test_inverse_use_imports_callback + skip 'complex validators disabled' ontologies_properties_callbacks(:useImports, :usedBy) end @@ -184,14 +192,12 @@ def sorted_submissions_init(submission_count = 3) ont.submissions.sort { |a, b| b.submissionId <=> a.submissionId } end - def ontologies_properties_callbacks(attr, inverse_attr = nil) - inverse_attr = attr unless inverse_attr + inverse_attr = attr unless inverse_attr ont_count, ont_acronyms, ontologies = create_ontologies_and_submissions(ont_count: 3, submission_count: 1, process_submission: false, acronym: 'NCBO-545') - assert_equal 3, ontologies.size ontologies[0].bring :submissions @@ -202,7 +208,7 @@ def ontologies_properties_callbacks(attr, inverse_attr = nil) assert_empty first_sub.send(attr) first_sub.bring_remaining - first_sub.send( "#{attr}=",[ontologies[1].id, ontologies[2].id]) + first_sub.send("#{attr}=", [ontologies[1].id, ontologies[2].id]) assert first_sub.valid? @@ -216,7 +222,7 @@ def ontologies_properties_callbacks(attr, inverse_attr = nil) assert_equal [ontologies[0].id], sub.send(inverse_attr) end - #sub is the submission of the ontology 2 + # sub is the submission of the ontology 2 sub.bring_remaining sub.send("#{inverse_attr}=", []) sub.save