nicholasdelrio/visko — Issue #7: OWLS API (http://on.cs.unibas.ch/owls-api/) Bug?
Author: nicholasdelrio
Created: 2012-03-10 03:41:35+00:00
State: open

When adding the visko properties (viskoS:supportedBy and viskoS:implementsOperator) onto an owls:Service instance, the OWLS api truncates the referenced objects.

For example, when trying to state that some owls:Service is "supportedBy" some toolkit such as NCL, I would expect the resultant rdf/xml to look like:

but using the owls API from http://on.cs.unibas.ch/owls-api/, I get:

JENA then isn't able to resolve "ncl.owl#ncl." This only happens if the "xml:base" of the owls:Service rdf shares the same prefix as the object referenced by the visko properties. This must be some attempt to prevent having to use the full URI and thus saving some space, but it breaks visko code. I was therefore hacking it and making up some fake URI for the service's "xml:base" and then adding code that adjusts the uri to the correct one when referencing it -- a temporary solution :(