W3C home > Mailing lists > Public > public-bioschemas@w3.org > October 2019

Use of @id in json-ld to identify nodes within a page

From: Gray, Alasdair J G <A.J.G.Gray@hw.ac.uk>
Date: Fri, 4 Oct 2019 08:33:06 +0000
To: "public-bioschemas@w3.org" <public-bioschemas@w3.org>
Message-ID: <7B62BE94-4300-4ED8-8C67-1F7AEC4EBAA4@hw.ac.uk>
Hi


The below stack exchange question/answer does a good job explaining the use of @id within json-ld markup

https://webmasters.stackexchange.com/questions/98569/what-is-the-use-of-id-in-json-ld-syntax

Now that we have started scraping the markup on sites, we are finding that the identity of the resources being described is often omitted or resources of distinct types, e.g. Dataset and DataCatalog, are given the same identifier.

Based on this experience, we would recommend the use of @id in your markup to give each resource, i.e. page, dataset, data catalog, gene, protein, organisation, etc, a distinct identifier.

Best regards

Alasdair

--
Alasdair J G Gray
Associate Professor in Computer Science,
School of Mathematical and Computer Sciences
Heriot-Watt University, Edinburgh, UK.

Email: A.J.G.Gray@hw.ac.uk<mailto:A.J.G.Gray@hw.ac.uk>
Web: http://www.macs.hw.ac.uk/~ajg33
ORCID: http://orcid.org/0000-0002-5711-4872
Office: Earl Mountbatten Building 1.39
Twitter: @gray_alasdair

To arrange a meeting: http://doodle.com/ajggray

________________________________

Heriot-Watt University is The Times & The Sunday Times International University of the Year 2018

Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences. This email is generated from the Heriot-Watt University Group, which includes:

  1.  Heriot-Watt University, a Scottish charity registered under number SC000278
  2.  Heriot- Watt Services Limited (Oriam), Scotland's national performance centre for sport. Heriot-Watt Services Limited is a private limited company registered is Scotland with registered number SC271030 and registered office at Research & Enterprise Services Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS.

The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.
Received on Friday, 4 October 2019 08:33:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:08:09 UTC