[ 
https://issues.apache.org/jira/browse/JENA-1292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15962175#comment-15962175
 ] 

ASF GitHub Bot commented on JENA-1292:
--------------------------------------

Github user fpservant commented on the issue:

    https://github.com/apache/jena/pull/235
  
    > Does this complete JENA-1292?
    
    yes.
    
    In JENA-1292's discussion I had suggested a way to automatically remove 
from the @context the properties that belong to the @vocab, but it is not a 
good idea. It adds unnecessary complexity, as same result can be achieved by a 
user with a few lines of code, and existing features (possibility to replace 
the @context by a given value in the jsonld output)


> almost impossible to get @vocab prefix in JsonLDContext
> -------------------------------------------------------
>
>                 Key: JENA-1292
>                 URL: https://issues.apache.org/jira/browse/JENA-1292
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: RIOT
>    Affects Versions: Jena 3.2.0
>         Environment: Linux, Ecplise 4.2
>            Reporter: Elie Roux
>            Priority: Minor
>              Labels: newbie
>
> It's almost impossible to get the empty prefix of a model mapped to Json-ld 
> "@vocab" context, to do so I have to rebuild a context from scratch, which is 
> not really nice...
> The fix should be a one-liner, see comment on
> https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/riot/writer/JsonLDWriter.java#L402



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to