W3C home > Mailing lists > Public > public-linked-json@w3.org > August 2014

OAI-ORE Resource Maps in JSON-LD

From: Stian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
Date: Mon, 18 Aug 2014 11:01:45 +0100
Message-ID: <CAPRnXtkThw053qWH1UcZWYZ-XWJcX9v5qi8FJChpnMQ4ZWgkEg@mail.gmail.com>
To: oai-announce@googlegroups.com, oai-ore@googlegroups.com, public-lod@w3.org, Linked JSON <public-linked-json@w3.org>, forcnet@googlegroups.com, fairport-discuss@googlegroups.com
In 2008, the Open Archives Initiative released the Object Reuse and
Exchange (OAI-ORE) specification that details the identification,
description, and exchange of aggregations of Web resources. OAI-ORE
[1] introduces the notion of a Resource Map, an RDF Graph that
describes the Aggregation, the Aggregated Resources of which it is
composed, and their inter-relation as well as relationships to other
resources. Since 2008, the OAI-ORE datamodel, as well as its
serializations in RDF/XML and RDFa, have been used in various
application domains, including research communication and cultural
heritage.

In January 2014, the W3C published the JSON-LD [2] specification, a
JSON-based format for serializing Linked Data, putting an emphasis on
existing use of JSON data structures rather than on the underlying
graph model. This intends to lower the barrier of entry to produce and
consume Linked Data. That is mainly achieved by providing a "@context"
key, which defines the mapping JSON keys and values to RDF properties
and classes.


Today we are announcing an OAI-ORE User Guide on implementing ORE
Resource Maps in JSON-LD [3], which details how using the ORE @context
[4] and the specified object structure allow the expression of ORE
Aggregations using regular JSON:

  http://www.openarchives.org/ore/0.9/jsonld

An experimental JSON Frame [5] is also provided, for shaping an ORE
RDF graph according to the specified JSON object structure.


As a short example, here [9] is an ORE Aggregation at its simplest,
showing an aggregation of three resources, one of which is also part
of another Aggregation:

{ "@context": "https://w3id.org/ore/context",
  "@id": "",
  "@type": "ResourceMap",
  "describes": {
      "@id": "http://example.com/aggregation-1",
      "@type": "Aggregation",
      "aggregates": [
          "http://example.com/document-1",
          "http://example.com/document-2",
          { "@id": "http://other.example.org/data-2",
            "isAggregatedBy": {
                "@id": "http://other.example.org/aggregation-2",
                "@type": "Aggregation",
                "isDescribedBy": "http://other.example.org/aggregation-2.rdf"
            }
          }
      ]
  }
}


The specification, context and frame, version 0.9, is classified as a
beta version. Based on feedback, we plan to stabilize and release
version 1.0.

Subject to change are:

 * The JSON-LD Frame (As JSON-LD Framing is not currently a formal
specification)



For more details, please see the specification at:

   http://www.openarchives.org/ore/0.9/jsonld



For feedback and comment feel free to sign up to the OAI-ORE Google group [6].

For suggesting changes to the specification, context or frame, feel
free to add a Github [7] pull request.

To try out the ORE JSON-LD context or frame, we suggest the JSON-LD
Playground [8], as with example above [10].


This email sent on behalf of the Editors of the ORE JSON-LD User guide:

    Stian Soiland-Reyes [http://orcid.org/0000-0001-9842-9718]
    Matthew Gamble [http://orcid.org/0000-0003-4913-1485]
    Oscar Corcho [http://orcid.org/0000-0002-9260-0753]

Thanks to the Open Archives Initiative representatives for their
guidance and for inviting us for this task:

    Herbert Van de Sompel [http://orcid.org/0000-0002-0715-6126]
    Simeon Warner [http://orcid.org/0000-0002-7970-7855]


[1] http://www.openarchives.org/ore/1.0/primer
[2] http://www.w3.org/TR/json-ld/
[3] http://www.openarchives.org/ore/0.9/jsonld
[4] https://w3id.org/ore/context
[5] https://w3id.org/ore/frame
[6] https://groups.google.com/d/forum/oai-ore
[7] https://github.com/stain/ore/
[8] http://json-ld.org/playground/
[9] https://gist.github.com/stain/655fd290dd142bd31055
[10] http://tinyurl.com/kr8e7uw



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester
http://soiland-reyes.com/stian/work/ http://orcid.org/0000-0001-9842-9718
Received on Monday, 18 August 2014 10:12:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:42 UTC