-
Notifications
You must be signed in to change notification settings - Fork 95
Embedded JSON LD
As of Skosmos 2.0, every concept page has its graph as JSON-LD embedded into the HTML source that will also be available to both search engines and Skosmos plugins. The JSON-LD data will be wrapped within a <script type="application/ld+json">
tag.
When a concept is mapped to external resources using SKOS mapping properties, some data from the external resources will be fetched and included in the embedded JSON-LD graph. A default set of properties is defined in model/Concept.php
that will be included in the embedded JSON-LD graph for all mapped external objects. CBD algorithm is applied.
Vocabularies can define default external mapped properties to be included in the embedded JSON-LD graph via skosmos:externalProperty
.
Plugins can request specific external mapped properties to be included in the embedded JSON-LD graph via ext-properties
array, defined in the plugin.js
.