W3C home > Mailing lists > Public > public-schemaorg@w3.org > April 2021

Re: Best Practices? An array of "description" properties to break up long text?

From: Omar <omar.holzknecht@sti2.at>
Date: Fri, 23 Apr 2021 11:40:46 +0200
To: "schema.org Mailing List" <public-schemaorg@w3.org>
Message-ID: <92077ad8a9b0d7d37bd9a3bcde7f8b3e@sti2.at>
Hi Jesse,

If an entity has multiple values for a property, that means that every 
value results in an independent valid statement about that entity.
By independent, I mean that each statement is true regardless of the 
order or even existence of the other statements. If that is the case, 
you can split your description into "semantic bits".

An example where the separation of the description is semantically 
correct:

{
   "@context": "http://schema.org/",
   "@type": "Person",
   "name": "Jane Doe",
   "description": [
     "Jane is cool.",
     "She is awesome.",
     "She is was born in Madrid."
     "She went to school in Paris."
   ]
}

An example where the separation of the description is semantically 
incorrect:

{
   "@context": "http://schema.org/",
   "@type": "Person",
   "name": "Jane Dont",
   "description": [
     "Jane was born in Madrid in 1978.",
     "Two weeks after that, she moved to Paris, where she met her 
boyfriend John.",
     "He was born in Vienna."
   ]
}

Hope that helps,
Omar

Am 2021-04-23 08:41, schrieb jesse -:
> Hi, I'm considering using multiple "description" properties to break
> up a long description into paragraphs. While this helps with human
> readability, I'm concerned how non-human readers will interpret this.
> Thoughts?
> 
>  Thanks,
> Jesse
> 
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud
> service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________

-- 
Omar J. A. Holzknecht, MSc
Semantic Technology Institute Innsbruck
Department of Computer Science
University of Innsbruck
Technikerstrasse, 21a
6020 Innsbruck, Austria
Received on Friday, 23 April 2021 09:41:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 23 April 2021 09:41:07 UTC