On 3/22/2012 21:56, Tim Smith wrote:
Hmmm... I think "RTFM" is appropriate here :)
I did not know about that module. It looks like it would do
everything I want with one exception - detect when a module that
should produce output doesn't. The specific case being when
ConvertXMLtoRDF does not successfully do the conversion and does not
throw an exception. Other similar cases would be when a CONSTRUCT
query fails to construct anything when it must for proper script
execution. Of course the desired behavior is context dependent so
throwing an exception is not always appropriate for an ApplyConstruct
when it does not succeed in making new triples - but being able to
know that it didn't would be very useful, especially when debugging a
large script.
I do not see how this could be generalized because each module behaves
differently, and preparing such a flag would be extra overhead for the
majority of cases where the result of this would not even be queried. I
suggest you wrap the critical steps with a couple of sml:BindBySelect
queries that COUNT the number of triples before and after.
Regards,
Holger
--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary
Network (EVN), TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en