You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commonsrdf.apache.org by stain <gi...@git.apache.org> on 2016/03/27 19:23:14 UTC

[GitHub] incubator-commonsrdf pull request: Add RDFSyntax, enumeration of R...

GitHub user stain opened a pull request:

    https://github.com/apache/incubator-commonsrdf/pull/17

    Add RDFSyntax, enumeration of RDF languages

    e.g. Turtle, JSON-LD
    
    This enumeration deliberately only lists RDF 1.1 standardized syntaxes (e.g. does not include N3).
    
    The only field (beyond the name for toString()), the official `mediaType`, which can be used with `byMediaType(String)` for a look up from e.g. `Content-Type` headers.
    
    These constants (at least their content type) should be useful for anyone doing RDF parsing or writing.
    
    See also the [JavaDoc for RDFSyntax](https://cdn.rawgit.com/stain/e4447eb261e64fdc9028/raw/8d2d22ee38376b0b8214e5eae7ea3ae325964ac4/RDFSyntax.html).


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/stain/incubator-commonsrdf rdfsyntax-enum

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-commonsrdf/pull/17.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #17
    
----
commit 1a63f48379b39755d279cbe10a2b4e187b11ddb8
Author: Stian Soiland-Reyes <st...@apache.org>
Date:   2016-03-27T17:13:45Z

    Add RDFSyntax, enumeration of RDF languages
    
    e.g. Turtle, JSON-LD
    
    This enumeration deliberately only lists RDF 1.1
    standardized syntaxes (e.g. does not include N3).
    
    The only field (beyond the name for toString())
    is the official mediaType, which
    can be used with byMediaType for a look up
    from Content-Type.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-commonsrdf pull request: Add RDFSyntax, enumeration of R...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-commonsrdf/pull/17


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---