PropertyValue
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/ns/prov#value
  • I solved this pretty universally in my apps by having a CoerceTo singleton that deals with most of the primitives and has overloaded methods to allow for default values.Do not pass primitives around, except in truly mathematical methods.Catch Exceptions/NPE's at the lowest level of code/lib and either return with a default value or throw a business/persistence oriented exception.ReplyDeletenoname1
http://www.w3.org/ns/prov#wasQuotedFrom
  • joda.org