Skip to content

epimorphics/lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

478 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a general dumping ground of small utility code reused across projects.

Caveats

Includes a lot of historical cruft which has been obsoleted by evolution of Jena.

Only documentation is the code and javadoc.

  • RDFUtil Collection of utilities for common trivial RDF tasks, a couple of other utils in that directory might be handy but most are obsoleted

  • Wrappers Provides wrappers for Datasets, Models and RDFNodes which simplify their use from scripting languages like Velocity. Obsoleted by appbase.

  • json Some utils for working with Jena's json support including a hacked version of the Talis-format RDF writer which handles lists as JSON arrays.

  • vocabs Schemagened versions of some common vocabularies, currently static rather than built form source. Should migrate to using maven schemagen plugin.

  • FileUtil Some utilities for creating directories and copying files

  • NameUtils String bashing functions used when encoding names in http calls etc

  • PrefixUtils Utilities for working with prefix mappings including merging and using them to expand SPARQL queries (pure string bashing level)

  • tasks Support for incremental reporting of messgaes from async processes, e.g. used for reporting data converter process to an ajax web UI

  • marshalling Set of JAX-RS bindings for read/write of RDF when using Jersey. This does mean that lib depends on Jersey which isn't nice. Could factor this out into the libraries that more naturally need Jersey anyway.

  • geo Support for geolocations including parsing/formating OS Grid References and converting to from lat/log (in WGS84 as well as OSGB36)

Change log

4.0.0 Update to Jena 5.6.0. Updated to Jersey 3.x which will involve some namespace changes in downstream code that references the javax.ws.rs.* namespace. Updated OpenCSV to 5.12. NOTE that from this release a minimum Java version of Java 17 is required.

3.1.7 Override jackson versions used by jena 3.9.0 dependency to avoid severe CVEs. There are remaining CVEs logged against jena 3.9.0 but they are less severe and exploitable in our usage.

3.1.6 Replaced Apache commons-lang by commons-text to avoid CVE-2025-48924 (though that wouldn't afffect our usage). Preferable over upgrading commons-lang3 because the relevant module in commons-lang3 is deprecated in favour of commons-text.

About

General utility library

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
license-header

Stars

Watchers

Forks

Packages

 
 
 

Contributors