sparql.anything icon indicating copy to clipboard operation
sparql.anything copied to clipboard

Simplify the extraction of Properties

Open luigi-asprino opened this issue 2 years ago • 0 comments

There are a lot of

if(properties.containsKey(IriArgument.tostring)) 
then 
   extract the value (possibly, interpret the string as integer or boolean)
else 
  return a default value

This can be implemented as a static method that implements this pattern.

luigi-asprino avatar Sep 01 '22 19:09 luigi-asprino