"fail fast" option for LexiconIDResolverConverter and PropPathIDResolverConverter

12 views
Skip to first unread message

Thomas Francart

unread,
May 14, 2025, 10:20:47 AMMay 14
to vocbench-user
Hello

Currently in Sheet2RDF LexiconIDResolverConverter and PropPathIDResolverConverter can accept a fallback IRI in case the value being looked up is not found. Or "if no resource is retrieve, then it just return the input one".

Actually, we found that this is dangerous, because users are not aware when the lookup failed - they need to double check inside the Turtle file that results from the mapping and search for the fallback IRI.

I suggest to have a "fail fast" behavior for these converters, where an error is thrown whenever the lookup value cannot be found. This would prevent bad things to happen. I suggest that the fail-fast behavior is the default behavior for these converters, and, only in case the user knows what she is doing, then the input value or a fallback IRI is returned.

Thomas

--

Thomas Francart - SPARNA
linked data | domain ontologies | knowledge graphs
blog :
blog.sparna.fr, site : sparna.fr, linkedin : fr.linkedin.com/in/thomasfrancart
tel : 
 +33 (0)6.71.11.25.97
Reply all
Reply to author
Forward
0 new messages