[ 
https://issues.apache.org/jira/browse/CLEREZZA-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931410#action_12931410
 ] 

Fabian Christ edited comment on CLEREZZA-222 at 11/12/10 9:20 AM:
------------------------------------------------------------------

Maybe it would be nice to not only get back the prefix notation but also 
information about which part of the IRI was replaced by which prefix. This is 
useful if a serializer has to protocol the applied namespaces for a set of URLs.

The getPrefixNotation could return a data structure with values for (IRI, 
Prefix, PrefixNotation) for a given IRI.

      was (Author: fchrist):
    Maybe it would be nice to not only get back the prefix notation but also 
information about which part of the IRI was replaced with which prefix. This is 
useful if a serializer has to protocol the applied namespaces for a set of URLs.

The getPrefixNotation could return a data structure with values for (IRI, 
Prefix, PrefixNotation) for a given IRI.
  
> Make it possible to register namespace prefixes for graph serialization
> -----------------------------------------------------------------------
>
>                 Key: CLEREZZA-222
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-222
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Olivier Grisel
>            Assignee: Reto Bachmann-Gmür
>
> Jena provides the ability to register namespace prefixes to a model. Those 
> prefixes are especially useful to make turtle (and orther) RDF serialization 
> less verbose and thus more readable by the human developer. However this 
> feature is currently not available trough the Clerezza public API.
> Clerezza should also register commonly used namespace prefixes (foaf, dc, 
> sioc, doap, ...) by default.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to