Свойство schema.org ?
Содержание: Описание, Обратное свойство, Какие должны быть типы, В каких типах используется, Благодарности, Примеры использования.
Свойство exampleOfWork
в Schema.org используется для обозначения конкретного произведения, которое является примером или проявлением другого произведения. Это свойство помогает установить связь между различными творческими работами, показывая, как одно произведение может быть связано с другим, например, как адаптация, производная работа или работа, вдохновленная оригиналом.
Использование exampleOfWork
важно для организации и структурирования информации о творческих произведениях в интернете. Оно позволяет пользователям и системам лучше понимать контекст и взаимосвязи между различными произведениями. Например, если одно произведение является адаптацией другого, то указание этой связи помогает пользователям быстрее найти оригинал и понять, как он повлиял на новое произведение.
Это свойство может применяться в различных областях, включая литературу, музыку, кино и другие виды искусства. Оно может использоваться как на страницах отдельных произведений, так и в каталогах, библиотеках или базах данных, где важно показать, как разные работы связаны друг с другом.
Таким образом, exampleOfWork
служит для улучшения понимания и навигации по творческому контенту, облегчая пользователям поиск информации о связанных произведениях и их контексте.
Обратное свойство: workExample
Пример заметки или HTML разметки.
<p>
<em>The Fellowship of the Rings</em> was written by J.R.R Tolkien and
was originally published in the United Kingdom in 1954 by George Allen &
Unwin.
</p>
<p>
The book has been republished many times, including editions by
HarperCollins in 1974 (ISBN: 0007149212) and by Ballantine in 1984
(ISBN: 0345296052).
</p>
<p>
The book has also been adapted for the screen several times. <em>J.R.R.
Tolkien's The Lord of the Rings</em>, an animated version directed by Ralph
Bakshi and released in 1978, covered the events of the novel and parts of
its sequel. The movie <em>The Lord of the Rings: The Fellowship of the
Ring</em>, directed by Peter Jackson and released in 2001, ran 178 minutes
long in its theatrical release.
</p>
Пример, закодированный в формате Microdata, встроенный в HTML.
<p itemscope itemtype="https://schema.org/Book" itemid="http://www.freebase.com/m/0h35m">
<em itemprop="name">The Fellowship of the Rings</em> was written by
<span itemprop="author">J.R.R Tolkien</span> and was originally published
in the <span itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
<span itemprop="location">United Kingdom</span> by
<span itemprop="name">George Allen & Unwin</span>
</span> in <time itemprop="datePublished">1954</time>.
The book has been republished many times, including editions by
<span itemprop="workExample" itemscope itemtype="https://schema.org/Book">
<span itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
<span itemprop="name">HarperCollins</span>
</span> in <time itemprop="datePublished">1974</time>
(ISBN: <span itemprop="isbn">0007149212</span>)
</span> and by
<span itemprop="workExample" itemscope itemtype="https://schema.org/Book">
<span itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
<span itemprop="name">Ballantine</span>
</span> in <time itemprop="datePublished">1984</time>
(ISBN: <span itemprop="isbn">0345296052</span>).
</span>
</p>
<p>
The book has also been adapted for the screen several times.
<span itemscope itemtype="https://schema.org/Movie">
<link itemprop="exampleOfWork" href="http://www.freebase.com/m/0h35m">
<em itemprop="name">J.R.R. Tolkien's The Lord of the Rings</em>, an
animated version directed by <span itemprop="director">Ralph Bakshi</span>
and released in <time itemprop="datePublished">1978</time>, covered the
events of the novel and parts of its sequel.
</span>
<span itemscope itemtype="https://schema.org/Movie">
<link itemprop="exampleOfWork" href="http://www.freebase.com/m/0h35m">
The movie <em itemprop="name">The Lord of the Rings: The Fellowship of the
Ring</em>, directed by <span itemprop="director">Peter Jackson</span> and
released in <time itemprop="datePublished">2001</time>, ran
<time itemprop="duration" datetime="PT178M">178</time> minutes long in its
theatrical release.
</span>
</p>
Пример, закодированный в формате RDFa, встроенный в HTML.
<div vocab="https://schema.org/">
<p typeof="Book" resource="http://www.freebase.com/m/0h35m">
<em property="name">The Fellowship of the Rings</em> was written by
<span property="author">J.R.R Tolkien</span> and was originally published
in the <span property="publisher" typeof="Organization">
<span property="location">United Kingdom</span> by
<span property="name">George Allen & Unwin</span>
</span> in <time property="datePublished">1954</time>.
The book has been republished many times, including editions by
<span property="workExample" typeof="Book">
<span property="publisher" typeof="Organization">
<span property="name">HarperCollins</span>
</span> in <time property="datePublished">1974</time>
(ISBN: <span property="isbn">0007149212</span>)
</span> and by
<span property="workExample" typeof="Book">
<span property="publisher" typeof="Organization">
<span property="name">Ballantine</span>
</span> in <time property="datePublished">1984</time>
(ISBN: <span property="isbn">0345296052</span>).
</span>
</p>
<p>
The book has also been adapted for the screen several times.
<span typeof="Movie">
<link property="exampleOfWork" href="http://www.freebase.com/m/0h35m">
<em property="name">J.R.R. Tolkien's The Lord of the Rings</em>, an
animated version directed by <span property="director">Ralph Bakshi</span>
and released in <time property="datePublished">1978</time>, covered the
events of the novel and parts of its sequel.
</span>
<span typeof="Movie">
<link property="exampleOfWork" href="http://www.freebase.com/m/0h35m">
The movie <em property="name">The Lord of the Rings: The Fellowship of the
Ring</em>, directed by <span property="director">Peter Jackson</span> and
released in <time property="datePublished">2001</time>, ran
<time property="duration" datetime="PT178M">178</time> minutes long in its
theatrical release.
</span>
</p>
</div>
Пример, закодированный в формате JSON-LD в теге <script> HTML.
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@graph": [
{
"@id": "http://www.freebase.com/m/0h35m",
"@type": "Book",
"author": "J.R.R Tolkien",
"datePublished": "1954",
"name": "The Fellowship of the Ring",
"publisher": {
"@type": "Organization",
"location": "United Kingdom",
"name": "George Allen & Unwin"
},
"workExample": [
{
"@type": "Book",
"datePublished": "1974",
"isbn": "0007149212",
"publisher": {
"@type": "Organization",
"name": "HarperCollins"
}
},
{
"@type": "Book",
"datePublished": "1984",
"isbn": "0345296052",
"publisher": {
"@type": "Organization",
"name": "Ballantine"
}
}
]
},
{
"@type": "Movie",
"datePublished": "2001",
"director": "Peter Jackson",
"duration": "PT178M",
"name": "The Lord of the Rings: The Fellowship of the Ring",
"exampleOfWork": {
"@id": "http://www.freebase.com/m/0h35m"
}
},
{
"@type": "Movie",
"datePublished": "1978",
"director": "Ralph Bakshi",
"name": "J.R.R. Tolkien's The Lord of the Rings",
"exampleOfWork": {
"@id": "http://www.freebase.com/m/0h35m"
}
}
]
}
</script>
Структурированное представление примера JSON-LD.