[
https://issues.apache.org/jira/browse/STANBOL-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987519#action_12987519
]
Rupert Westenthaler commented on STANBOL-40:
--------------------------------------------
Refactored the whole FISE component from "eu.iksproject.fise" ->
"org.apache.stanbol.enhancer" (for details see commit statement)
The next step would be to start the restructuring of Enhancer, Entityhub and
KreS.
Here are some of my thoughts to the packages mentioned in the first commend
stanbol.store
I am not sure if we need that, because
- the enhancer (FISE) uses ContentItems to store the parsed documents and the
extracted metadata via the Store interface
- the entityhub (RICK) uses Representations to store Information about
Entities via the Yard interface
- KreS also defines an OntologyStorage and an OntologyStorageProvider.
The only common thing is that all three components uses Clerezza as preferred
way to store RDF.
stanbol.analysis:
This would contain all the components that enhance content based on processing
the content or previously created enhancements. That would mean to move the
"stanbol.enhancer.engines" to "stanbol.analysis".
stanbol.web:
I have already outlined my interpretation of that within [1]. Based on this I
would expect that the functionality of
"org.apache.stanbol.enhancer.jersey.resource" and
"org.apache.stanbol.enhancer.jersey.writers" would be kept within the enhancer
(FISE) and the JerseyEndpoint, JerseyEndpointApplication as well as the
FreemarkerViewProcessor would need to be refactored and moved to "stanbol.web".
Reources and Writers of Entityhub and Kres would also stay within there
components but use (depend) on "stanbol.web"
stanbol.common:
The first candidate for this is the JsonLD component as well as constants (e.g.
Schema/Ontology namespaces) defined by Enhancer, Entityhub and KreS.
stanbol.enhancer:
This would than keep the service definition, default implementation of the
infrastructure as well as the Resources and Writers for the UI and the RESTful
services
WDYT
Rupert
[1]
http://mail-archives.apache.org/mod_mbox/incubator-stanbol-dev/201101.mbox/%[email protected]%3e
> Rename the fise java package
> ----------------------------
>
> Key: STANBOL-40
> URL: https://issues.apache.org/jira/browse/STANBOL-40
> Project: Stanbol
> Issue Type: Improvement
> Components: FISE, Web UI
> Reporter: Olivier Grisel
> Assignee: Rupert Westenthaler
>
> The fise package should be splitted into new top level packages (below the
> org.apache.stanbol namespace):
> - org.apache.stanbol.common # for all common utilities
> - org.apache.stanbol.store # for the store API that blends the
> clerezza triple stores, the content items, and there binary attachements
> - org.apache.stanbol.analysis # for the engines and related compenent
> - org.apache.stanbol.web # for the default web interface and
> REST API (need to make it pluggable)
> - org.apache.stanbol.ontology # common utilities from kres and the
> initial "persistencestore" to handle the registered ontology definitions to
> be managed through the web interface and used by the
> org.apache.stanbol.reasoning packaged utilities
> The sling based launchers should be extracted in a toplevel maven artifacts
> too.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.