Closed adibaba closed 4 years ago
ResourceFactory
to the abstract analyzer. If an analyzer creates resources, it should use this factory in favor of the static factory.ResourceFactory
class and override the methods for creating resources and properties. The new resource factory should make use of an algorithm for fixing IRIs.IRIFactory.iriImplementation().construct(s)
) for existing implementations of IRIs and their escape rules. We should neither use URI espace rules nor try to implement the escape algorithm by ourselfs.@MichaelRoeder , the ResourceFactory class has a private constructor, so it cannot be extended. Instead, i created the TripleEncoder class, which escape only the request parameters, by using the escaping rules from org.apache.jena.util.URIref
Some RDF collections created by Squirrel contain invalid IRIs. Due to that, an import of the RDF data in Fuseki fails.
Examples
File: https://hobbitdata.informatik.uni-leipzig.de/OPAL/processed_datasets/mcloud/mcloud_27-04-2020.zip
Regarding that file there is a warning, not an error:
In another file, the following errors occur. Propably those are based on importing https://hobbitdata.informatik.uni-leipzig.de/OPAL/processed_datasets/govdata/govdata_13-02-2020.tar.gz
Example datasets for those are: https://pastebin.com/raw/1MARc5uh
Proposed Solution
copied from discussion with mr: