On 13/12/13 10:56, Andy Seaborne wrote:
On 12/12/13 20:02, Diogo FC Patrao wrote:
Hi Andy.
Thanks for clarifying the whole process. What I was originally trying
to do
was to load recruit.owl, which includes recruit_cid10.owl and a couple of
others.
So, when I loaded recruit.owl directly by ja:externalContent, and
specified
the other ontologies location on the document mapper, it worked.
Another detail: when the file specified is not found, the error raised is
the same as when there's no document mapper defined, so that was
misleading. Below's the working assembler file, for the record.
But one more question: can document map handle a mapping like, all URIs
starting by http://etc.com/tada/.* can be found in file:/tmp/.* ?
Try lm:prefix / lm:altPrefix
Only exact and prefix mapping is provided, not regex/replace.
http://jena.apache.org/documentation/notes/file-manager.html