[ 
https://issues.apache.org/jira/browse/ANY23-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604702#comment-16604702
 ] 

Jacek Grzebyta commented on ANY23-396:
--------------------------------------


[~HansBrende] I'm working on example. Basically the idea is to receive a final 
domain-specific RDF graph directly from any23. The extractor would be wrapped 
within a jar added as a plugin (??; I am not sure if the plugin is detected as 
it is documented. I found the plugin jar should be added directly into 
CLASSPATH variable).

...And use pre-processed graph created by any common extractor (YAML, CSV, etc).

CSV file -> raw RDF graph -> domain specific RDF graph.

 

2. Customised triple handler is good idea. {{handleStement}} might just simple 
load the statement into hidden model and one of {{end...}} method could process 
the modifications and return final model into back {{RdfHandler}}. However 
handlers does not work like that. They do not keep data in memory until some 
final step. IMHO they work as a data stream consumers.

3. There is no support for handlers customising but there is one for extractors 
in ANY23 API.

> Add ability to run extractors in flow
> -------------------------------------
>
>                 Key: ANY23-396
>                 URL: https://issues.apache.org/jira/browse/ANY23-396
>             Project: Apache Any23
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 2.2
>            Reporter: Jacek Grzebyta
>            Assignee: Jacek Grzebyta
>            Priority: Minor
>
> Currently extractors do not work in flows. I.E. Next extractor has no any 
> access to triples made by previous one.
> It would be useful if an extractor has possibility to modify triples created 
> by another extractor.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to