Interface LiteralExtractorMap
public interface LiteralExtractorMap
Given a resource (from Jena - which has the model behind - and thus allows to traverse the whole graph),
this interface extracts the literals which are usually helpful for matching.
The returned value is a map between the key (e.g. where it is extracted from like label or fragment etc) and the corresponding texts.
-
Method Summary
-
Method Details
-
extract
Given a jena resourcer
, it extracts the literals which are usually helpful for matching. It does not do any tokenization nor transformation.- Parameters:
r
- the jena resource to extract the literals (which describe this resource).- Returns:
- a a map between the key (e.g. where it is extracted from like label or fragment etc) and the corresponding texts.
-