[
https://issues.apache.org/jira/browse/STANBOL-1259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rupert Westenthaler resolved STANBOL-1259.
------------------------------------------
Resolution: Fixed
Fix Version/s: 0.12.0
Implemented with http://svn.apache.org/r1559637 in 0.12 and merged with
http://svn.apache.org/r1560295 to trunk
> Add FallbackMode, URI Pattern and URI Prefix support to the DereferenceEngine
> -----------------------------------------------------------------------------
>
> Key: STANBOL-1259
> URL: https://issues.apache.org/jira/browse/STANBOL-1259
> Project: Stanbol
> Issue Type: New Feature
> Components: Enhancement Engines
> Affects Versions: 0.12.0
> Reporter: Rupert Westenthaler
> Assignee: Rupert Westenthaler
> Fix For: 0.12.0
>
>
> The generic implementation of the DereferenceEngine should be extended by the
> following options:
> 1. FallbackMode: If enabled it will not dereference Entities for those
> already some triples are present in the Enhancement Structure
> 2. URI Prefixes: Allows to configure prefixes of URIs that should be
> dereferenced
> 3. URI Patterns: Allows to configure regex pattern for URIs that should be
> dereferenced.
> An Entity will only be scheduled for dereferenceing if
> * !fallbackMode OR no triples are available
> * prefixes.isEmpty() && patterns.isEmpty()
> * the entity URI matches any of the prefixes or patterns
> This allows to have multiple Engine instances with different field and ldpath
> configurations for different data sets (e.g. Geonames, DBPedia, SKOS, ...).
> It also allows to avoid necessary calls Dereferencer that might need much
> more time to check if they can dereference an Entity.
> By default fallback mode should be enabled, prefixes and patterns will be
> empty.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)