[
https://issues.apache.org/jira/browse/STANBOL-304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alessandro Adamou resolved STANBOL-304.
---------------------------------------
Resolution: Fixed
Scopes, spaces and sessions now all implement the OWLExportable interfaces, and
generate their OWL form in realtime.
Merge is not supported yet (only for ontologies managed by these collectors),
but is not part of this issue.
> Make root ontology management implicit in ontology spaces
> ---------------------------------------------------------
>
> Key: STANBOL-304
> URL: https://issues.apache.org/jira/browse/STANBOL-304
> Project: Stanbol
> Issue Type: Improvement
> Components: Ontology Manager
> Reporter: Alessandro Adamou
> Assignee: Alessandro Adamou
>
> The root ontology of each ontology space (e.g. {scopeid}/core/root.owl and
> {scopeid}/custom/root.owl) is managed as an actual OWLOntology object just
> like actual ontologies loaded in the scope.
> However this does not bring any benefit and creates clutter when managing
> import statements and serialization of ontology scopes and spaces for RESTful
> services.
> Root ontologies can be generated on-the-fly for GET services on scopes and
> spaces, so that import statements can be swiftly moved across spaces without
> worrying about reloading the whole imports closure. Also, since they do not
> map to actual files, we can remove .owl extensions (which should be reserved
> for included ontologies).
> As a consequence, OntologySpace#setTopOntology() methods would no longer make
> sense and should be deprecated in the API, then removed altogether. On the
> contrary, getTopOntology() could still be used to dynamically generate root
> ontologies from the existing resources.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira