You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@any23.apache.org by Lewis John Mcgibbney <le...@gmail.com> on 2013/02/15 04:50:54 UTC

Best practice for using TripleHandler's... for eventual verbose reporting.

Hi,
I am looking to obtain as much information from the TripleHandler's as
possible for later reporting.
We maintain the following:-
BenchmarkTripleHandler
CompositeTripleHandler
CountingTripleHandler
LoggingTripleHandler
ReportingTripleHandler

For discussion. Is it OK to construct an instance of
CompositeTripleHandler(Collection <TripleHandler>) and pass in all of the
other Handlers then printReport() with ReportingTripleHandler?
Can someone possible present a 'best practice' scenario for this? I
consider reporting a crucial aspect of Any23 pipelines and would really
like to build on what we have already got.

Something for the weekend...
Would adding getVocabularies() be a useful addition to the
o.a.a.writer.ReportingTripleHandler API?
It would obtain (and subsequently print) a list of vocabularies utilized
during metadata extraction.
AFAIK, a record of vocab's in not currently stored during MD extraction...
but I would be glad to hear otherwise ;) So this will need to be
implemented.

Thank you
Lewis

-- 
*Lewis*