Github user afs commented on the issue:

    https://github.com/apache/jena/pull/211
  
    In ` JenaRDF2JSONLD`
    
        NodeToLabel labels = NodeToLabel.createBNodeByLabelAsGiven();
    
    works for me, as in it accurately outputs the blank node labels in the 
graph being written.
    
    That leaves the problem of receiving remapped `\_:b0`, `\_:b1` from 
java-jsonld.
    
    Easy way to see this is to have in `JsonLDReader`:
    
        private Node createBlankNode(String str) {
            if ( str.startsWith("_:") )
                str = str.substring(2);
            str = "ZZ"+str;
            return profile.createBlankNode(null, str, -1,-1);
        }
    
    then `"_:ZZb0"` is in the output.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to