For simply serializing RDF to/from JSON there are a number of proposed
formats in common use. One of the more widely supported (and included in
Jena I think) is the Talis format [1]. There is an editor's draft of
that from the RDF Working Group [2] but sadly I believe that is moribund.
The main support for RDF in JSON being standardized via W3C is json-ld
[3]. However, this is *much* more than just an RDF-in-JSON serialization.
Dave
[1] http://docs.api.talis.com/platform-api/output-types/rdf-json
[2] https://dvcs.w3.org/hg/rdf/raw-file/default/rdf-json/index.html
[3] http://json-ld.org/
On 27/03/13 21:34, James Rothering wrote:
Hi:
A question came up last night in discussions at LAJUG about the
Semantic Web, which I couldn't answer. LAJUG is our local Java
Users group.
The question was this: can RDF be serialized in JSON rather than
XML. I seem to remember that there were other serializations, such
as Turtle, N3, etc., all of which were inter-convertible with XML,
but I didn't know about JSON.
Regards,
James Rothering
On Wed, 27 Mar 2013 13:56:30 -0700 "Joshua TAYLOR"
<[email protected]> wrote:
On Wed, Mar 27, 2013 at 4:48 PM, Pastrana, Rodrigo (RIS-BCT)
<[email protected]> wrote:
Sure, we're converting RDF graphs into a data format understood
by our processes.
It should suffice to say that each non-anonymous, non-literal
node 's namespace and name need to be parsed out. Thanks.
If by name namespace and name you mean XML qnames, You're going to
have difficulties with every representation that uses IRIs as
identifiers, not just RDF, and you're going to have difficulties
with
every software tool that works with IRIs, not just Jena, because
not
all IRIs can be represented using XML qnames.
//JT
--
Joshua Taylor, http://www.cs.rpi.edu/~tayloj/