Github user HansBrende commented on the issue:
https://github.com/apache/any23/pull/121
Aside from the comments I've made on this PR, I'm still not convinced that
having a ModelExtractor is a good idea in the first place. Why not just create
a ModelWriter (as in ANY23-397) or an equivalent "collecting" TripleHandler,
and then allow the end user to transform the collected statements however they
wish?
Having a ModelExtractor creates additional questions & complexities: in
what order are the extractors executed? (Certainly the ModelExtractors would
have to be executed last in order to have access to all previously collected
statements.) What if multiple ModelExtractors are declared? Which ones have
higher precedence in the extraction order?
I'm not sure that having a dedicated ModelExtractor is worth the trouble of
dealing with these complexities, when a user could accomplish the same thing by
simply transforming the statements collected by a ModelWriter or equivalent, or
defining their own filtering and/or mapping TripleHandler.
---