diff --git a/.gitignore b/.gitignore index 0d576031..027ffced 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,6 @@ node_modules/ playground/jsonld.js _site/ package-lock.json + +# JetBrains IDEs +.idea/ diff --git a/index.html b/index.html index 8a449803..ddf1b39f 100644 --- a/index.html +++ b/index.html @@ -331,6 +331,69 @@

D
+ +
+
+

Spinoffs

+
+ +
+

+ The data model and conventions introduced in JSON-LD can also apply to + formats other than JSON. A number of interoperable JSON-LD + inspired formats exist. +

+
+ +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + +
+
+

diff --git a/learn/yaml-ld.md b/learn/yaml-ld.md new file mode 100644 index 00000000..0fed6ca8 --- /dev/null +++ b/learn/yaml-ld.md @@ -0,0 +1,299 @@ +--- +layout: default +title: YAML-LD +--- + +
+

YAML-LD

+
+

YAML for Linked Data

+
+ +
+
+
+

YAML

+

+ YAML + (Yet Another Markup Language) is a language designed for + minimalistic and concise data representation. It is widely used for + configuration files and metadata, and is optimized to be written + and read by humans. Hence its lack of braces and support of comments. +

+
+ + +
+

A Simple Example

+
+"@context": https://json-ld.org/contexts/person.jsonld
+"@id": http://dbpedia.org/resource/John_Lennon
+name: John Lennon
+born: 1940-10-09
+spouse: http://dbpedia.org/resource/Cynthia_Lennon
+
+ + +
+

+ YAML-LD +

+

+ YAML-LD relies upon APIs and algorithms of JSON-LD, but applies them + to YAML instead of JSON. Since YAML is a superset of JSON, and JSON-LD + is a subset of JSON, this, in most aspects, is straightforward. +

+
+ +
+
+ +
+

Specification

+
+
+

+ The Specification is at Candidate stage right now. This is a formal document + that describes how YAML-LD maps to JSON-LD and what's different between the two. +

+ + Open YAML-LD Candidate Spec + +
+
+ +
+ +
+
+

Developers

+
+
+

YAML-LD is available in + a number of popular programming environments. Each implementation of YAML-LD + listed below is fully conforming to the official YAML-LD specifications. +

+
+ +
+ + +
+
+ +
+
+ +
+
+ +
+
+ + + + + +
+ + + + +
+ +
+

+ Each YAML-LD document can be easily converted into a JSON-LD document; subsequently, the JSON-LD Test Suite (and Framing Test Suite) is useful for validating YAML-LD Processors. +

+

+ In addition, YAML-LD Specification defines the YAML-LD test suite which tests features + specific to YAML-LD. +

+ +
+
+