Automatic YAML file generation
pdatascience opened this issue · 2 comments
pdatascience commented
After the mapping has been established, comments as well as possible domains for properties and classes can be extracted from the ontology automatically
pdatascience commented
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
pdatascience commented
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