DONE: Quand ces champs ne sont pas remplis, faut mettre les valeurs par défaut (skos:prefLabel, skos:altLabel)
"prefLabelProperty": null,
"definitionProperty": null,
"synonymProperty": null,
"authorProperty": null,
"hierarchyProperty": null,
"obsoleteProperty": null,
"obsoleteParent": null
On pourrait aussi peupler seul exampleIdentifier (on prend l'URI d'une classe au pif dans l'ontology)
On pourrait générer également useImports avec les URI des owl:imports
uriregexpattern: uri de l'ontology (où on vire la fin et on met sous forme de regex)
Property names with - in it are not valid.
Causing the following error:
NameError - `@bug-database' is not allowed as an instance variable name:
/usr/local/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/bundler/gems/goo-7bbbb557d9f2/lib/goo/base/resource.rb:203:in `instance_variable_set'
/usr/local/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/bundler/gems/goo-7bbbb557d9f2/lib/goo/base/resource.rb:203:in `block in bring'
Unit test status:
Models and serializers for ontologies and related artifacts backed by 4store
This is a component of the NCBO ontologies_api.
To add new namespaces used in the Goo.vocabulary
go to lib/ontologies_linked_data/config/config.rb
And use the GOO add_namespace
method. For example:
Goo.configure do |conf|
conf.add_namespace(:omv, RDF::Vocabulary.new("http://omv.ontoware.org/2005/05/ontology#"))
end
- To iterate other the namespaces
Goo.namespaces.each do |prefix,uri|
puts "#{prefix}: #{uri}"
end
- To resolve a namespace
Goo.vocabulary(:omv).to_s