Skip to content

Commit

Permalink
Fix: ontology submisison "includedInDataCatalog" and "accrualMethod" …
Browse files Browse the repository at this point in the history
…metadata (#114)

* fix includedInCatalog enforced values to be urls

* update accrualMethod to no more be limited to URIs
  • Loading branch information
syphax-bouazzouni authored Nov 24, 2023
1 parent 82fffaa commit a199eff
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
78 changes: 39 additions & 39 deletions config/schemes/ontology_submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1130,45 +1130,45 @@ includedInDataCatalog:
"SCHEMA: A data catalog which contains this dataset." ]
extractedMetadata: true
enforcedValues: {
"bioportal.bioontology.org": "NCBO BioPortal",
"agroportal.lirmm.fr": "AgroPortal",
"bioportal.lirmm.fr": "SIFR BioPortal",
"ecoportal.lifewatchitaly.eu": "LifeWatch EcoPortal",
"medportal.bmicc.cn": "MedPortal",
"matportal.org": "MatPortal",
"industryportal.enit.fr": "IndustryPortal",
"earthportal.eu": "EarthPortal",
"biodivportal.gfbio.org": "BiodivPortal",
"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",
"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"
"https://bioportal.bioontology.org": "NCBO BioPortal",
"https://agroportal.lirmm.fr": "AgroPortal",
"https://bioportal.lirmm.fr": "SIFR BioPortal",
"https://ecoportal.lifewatchitaly.eu": "LifeWatch EcoPortal",
"https://medportal.bmicc.cn": "MedPortal",
"https://matportal.org": "MatPortal",
"https://industryportal.enit.fr": "IndustryPortal",
"https://earthportal.eu": "EarthPortal",
"https://biodivportal.gfbio.org": "BiodivPortal",
"https://ebi.ac.uk/ols": "EBI OLS",
"https://ontobee.org": "Ontobee",
"https://ontohub.org": "OntoHub",
"https://aber-owl.net": "AberOWL",
"https://lov.linkeddata.es/dataset/lov": "LOV",
"https://onki.fi": "ONKI Ontology Library Service",
"https://mmisw.org": "MMI ORR",
"https://cor.esipfed.org": "ESIP COR",
"https://hetop.eu": "CISMeF HeTOP",
"https://finto.fi": "FINTO",
"https://vocabs.ardc.edu.au": "ANDC RVA" ,
"https://vocab.nerc.ac.uk": "NVS" ,
"https://terminologies.gfbio.org": "GFBIO TS",
"https://loterre.fr": "Loterre",
"https://datalab.review.fao.org/datalab/caliper": "Caliper",
"https://cropontology.org": "Crop Ontology Curation Tool",
"https://planteome.org": "Planteome",
"https://obofoundry.org": "OBO Foundry",
"https://vest.agrisemantics.org": "Agrisemantics",
"https://fairsharing.org": "FAIRsharing",
"https://thezfiles.co.za/ROMULUS": "ROMULUS",
"https://daml.org/ontologies": "DAML Ontology Library",
"https://stl.mie.utoronto.ca/colore": "Colore",
"https://bartoc.org": "BARTOC",
"https://taxobank.org": "TaxoBank",
"https://linkeddata.ge.imati.cnr.it": "LusTRE",
"https://lov4iot.appspot.com": "LOV4IoT",
"https://vocab.linkeddata.es": "VOCAB OEG",
"https://liveschema.eu": "LiveSchema",
"https://protegewiki.stanford.edu/wiki/Protege_Ontology_Library": "Protege Ontology Library"
}
metadataMappings: [ "schema:includedInDataCatalog" ]

Expand Down
2 changes: 1 addition & 1 deletion lib/ontologies_linked_data/models/ontology_submission.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class OntologySubmission < LinkedData::Models::Base
attribute :conformsToKnowledgeRepresentationParadigm, namespace: :omv
attribute :usedOntologyEngineeringMethodology, namespace: :omv
attribute :usedOntologyEngineeringTool, namespace: :omv, type: %i[list]
attribute :accrualMethod, namespace: :dct, type: %i[list uri]
attribute :accrualMethod, namespace: :dct, type: %i[list]
attribute :accrualPeriodicity, namespace: :dct
attribute :accrualPolicy, namespace: :dct
attribute :competencyQuestion, namespace: :mod, type: :list
Expand Down

0 comments on commit a199eff

Please sign in to comment.