As noted in https://github.com/RubenVerborgh/N3.js/issues/28, N3.js 0.3.x upgraded its interface from the old version 0.2.x. Unfortunately, rdfstore-js does not use semantic versioning to load the N3.js library, so the latest version is always used, resulting in an interface incompatibility.
This commit fixes the parser by upgrading to the latest version of N3.js.
It also uses semantic versioning to prevent this from happening in the future.
As noted in https://github.com/RubenVerborgh/N3.js/issues/28, N3.js 0.3.x upgraded its interface from the old version 0.2.x. Unfortunately, rdfstore-js does not use semantic versioning to load the N3.js library, so the latest version is always used, resulting in an interface incompatibility.
This commit fixes the parser by upgrading to the latest version of N3.js. It also uses semantic versioning to prevent this from happening in the future.