Re: Dewey Decimal in Schema.org

 Hi Hugh,

I believe the AI based result you quoted was indeed an hallucination -
there is no such Schema.org property as *libraryClassification*.

I agree that the use of ’sku’ is not ideal, that example
<https://schema.org/Book#eg-0395> is using it to encode a shelf mark.

A more appropriate approach would be to use a DefinedTerm
<https://schema.org/DefinedTerm> type to describe the Dewey value.  See example
2 <https://schema.org/DefinedTerm#eg-0314> for a similar example using
Library of Congress resource types. Then use the ‘about’ property of
CreativeWork to associate it with the Book or similar.

The result being something like this:


{
 "@context": "https://schema.org/",
 "@type": "Book",
 "name": "British Isles - A History",
 "about": {
      "@type": "DefinedTerm",
      "@id": "https://id.oclc.org/worldcat/ddc/E48m7BJXdrm3XY4Xv86d88WGt3",
      "name": "British Isles",
      "termCode": "941",
      "inDefinedTermSet": "https://id.oclc.org/worldcat/ddc/"
     }
}

~Richard

On 8 Dec 2024 at 03:22:16, Hugh Paterson III <sil.linguist@gmail.com> wrote:

> Greetings,
>
> I'm working with the Dewey Decimal classification system and am wondering
> several things:
>
> 1. Is there a way to indicate this on types (Books or otherwise)? I don't
> directly see anything on https://schema.org/Book
> 2. When I use Google to search for "schema.org and Dewey Decimal
> classification" the AI based results suggest the quoted text below.
> 3. I failed to find the property "libraryClassification" (mentioned in the
> Google AI results) in the schema.org documentation. Is this me, the
> documentation, or an AI hallucination?
> 4. On the page for Book example 4 in the JSON+LD view has a property
> labeled "sku". The content of this field is not a sku but rather a Library
> of Congress Classification Number. It seems poor form to put an LCCN in the
> SKU field, but maybe someone can enlighten me on some of the
> conceptualization around the usage of SKU and its range of applicability.
>
> Kind regards,
> Hugh
>
> ```
> In Schema.org, the Dewey Decimal System is represented by the property
> "libraryClassification" with the value "Dewey Decimal Classification" which
> indicates that a book or other item is classified using the Dewey Decimal
> system, allowing for easier search and organization based on its subject
> matter across different libraries and platforms.
> Key points about the Dewey Decimal System in Schema.org:
>
>    - *Purpose:*
>    To specify the classification system used for a library item, allowing
>    search engines and other applications to understand how a book is
>    categorized based on its topic.
>    - *Value:*
>    "Dewey Decimal Classification" is the text value used to denote that
>    the Dewey Decimal System is the classification method.
>    - *Usage:*
>    You would typically include this property within the "Item" or "Book"
>    schema type when describing a library item in structured data.
>
> Example Schema.org code with Dewey Decimal Classification:
> Code
>
> {
>   "@context": "http://schema.org/",
>   "@type": "Book",
>   "name": "The History of the United States",
>   "author": "John Smith",
>   "libraryClassification": "Dewey Decimal Classification"
> }
>
>
>
> ```
>


-- 
Richard Wallis
Founder, Data Liberate
http://dataliberate.com
Linkedin: http://www.linkedin.com/in/richardwallis
Twitter: @dataliberate @rjw

Received on Sunday, 8 December 2024 18:33:30 UTC