pensoft/OpenBiodiv

Automatic YAML file generation

pdatascience opened this issue · 2 comments

After the mapping has been established, comments as well as possible domains for properties and classes can be extracted from the ontology automatically

E.g.

from properties_db.yml:

doi:
  p: prism:doi
  comment: has DOI
  domain_includes:
    - fabio:JournalArticle

from classes_db.yml:

Article:
  class: fabio:JournalArticle
  comment: an article in a science journal
  properties_include:
    - rdf:type
    - skos:prefLabel
    - skos:altLabel
    - dc:publisher

No, I don't like this. Will go back to simple mapping and create a describe function in R which takes everything from the ontology