W3C home > Mailing lists > Public > public-schemaorg@w3.org > January 2019

Multiple DataFeeds, one Dataset - Google Dataset Search

From: Nick Evans <nick.evans@theodi.org>
Date: Tue, 15 Jan 2019 14:17:57 +0000
Message-ID: <CABCNhnnZmo=kAcS-4Fs4450mpYVZcC87J6Ecoj07P2fi4ATtHg@mail.gmail.com>
To: "schema.org Mailing List" <public-schemaorg@w3.org>
Cc: Leigh Dodds <leigh.dodds@theodi.org>
Hi all,

We're wondering if someone could help mark our homework? We're working with
a number of large sport opportunity providers
<https://llink.to/?u=https:%2F%2Fwww.openactive.io%2F&e=8137b0304ea48f56820ef6685df8d376>
to
publish data feeds conforming to a specification
<https://llink.to/?u=https:%2F%2Fwww.openactive.io%2Fmodelling-opportunity-data%2F&e=8137b0304ea48f56820ef6685df8d376>
based on schema.org - with info such as "where is it?" "what time is it?"
"how much does it cost?".

We're keen to markup these datasets so that they can be found by the new
Google Dataset Search.

See an example JSON-LD embedded in the source here:
https://fusionopendata.fusion-lifestyle.com/OpenActive/
<https://llink.to/?u=https:%2F%2Ffusionopendata.fusion-lifestyle.com%2FOpenActive%2F&e=8137b0304ea48f56820ef6685df8d376>

The challenge we have is that the Dataset is partitioned across multiple
near-realtime feeds (see excerpt below), based on the primary JSON-LD type
in each feed.

So our question: would we just include these as an array of DataDownloads
in the distribution, or is there a more preferable alternative?


"distribution": [
  {
    "@type": "DataDownload",
    "name": "SessionSeries",
    "additionalType": "https://openactive.io/SessionSeries",
    "encodingFormat": "application/vnd.openactive.rpde+json; version=1.0",
    "contentUrl": "
https://fusionopendata.fusion-lifestyle.com/OpenActive/feeds/session-series"
  },
  {
    "@type": "DataDownload",
    "name": "ScheduledSession",
    "additionalType": "https://openactive.io/ScheduledSession",
    "encodingFormat": "application/vnd.openactive.rpde+json; version=1.0",
    "contentUrl": "
https://fusionopendata.fusion-lifestyle.com/OpenActive/feeds/scheduled-sessions
"
  },
  {
    "@type": "DataDownload",
    "name": "FacilityUse",
    "additionalType": "https://openactive.io/FacilityUse",
    "encodingFormat": "application/vnd.openactive.rpde+json; version=1.0",
    "contentUrl": "
https://fusionopendata.fusion-lifestyle.com/OpenActive/feeds/facility-uses"
  },
  {
    "@type": "DataDownload",
    "name": "Slot",
    "additionalType": "https://openactive.io/Slot",
    "encodingFormat": "application/vnd.openactive.rpde+json; version=1.0",
    "contentUrl": "
https://fusionopendata.fusion-lifestyle.com/OpenActive/feeds/slots"
  }
],

Thanks,

Nick


-- 

Nick Evans

Associate & Sector Specialist

Open Data Institute
<https://llink.to/?u=http:%2F%2Ftheodi.org%2F&e=8137b0304ea48f56820ef6685df8d376>
| +447813318661
Received on Tuesday, 15 January 2019 14:18:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 15 January 2019 14:18:32 UTC