I have a problem when reading RDF-XML into a Jena model. I use
FileManager fileManager = FileManager.get();
Model model = fileManager.loadModel(url);
Resource URIs like
http://kulturarvsdata.se/resurser/aukt/geo/county#01
turn out like
http://kulturarvsdata.se/resurser/aukt/geo/01
in the resources in the Jena model, i.e. the URI fragment part is stripped away.
I have tried to provide the base URI ecplicitly to Jena:
Model model = fileManager.loadModel(url, "http://kulturarvsdata.se/resurser/aukt/geo/county#", "RDF/XML");
but that makes no difference.
Have I misunderstiod something or is there a way to convince Jena to preserve the URI fragments?