Skip to content

Commit 616ff7e

Browse files
Describe vocabulary prefixes used in spec
1 parent 09f4c7a commit 616ff7e

File tree

3 files changed

+32
-22
lines changed

3 files changed

+32
-22
lines changed

spec/data/namespace-prefixes.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

spec/data/namespace-prefixes.yamlld

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
"@context":
2+
- https://json-ld.org/contexts/dollar-convenience.jsonld
3+
- "@base": https://json-ld.github.io/
4+
prefix: http://purl.org/vocab/vann/preferredNamespacePrefix
5+
6+
$included:
7+
- $id: https://example.org/
8+
prefix: ex
9+
10+
- $id: http://www.w3.org/ns/i18n#
11+
prefix: i18n
12+
13+
- $id: http://www.w3.org/1999/02/22-rdf-syntax-ns#
14+
prefix: rdf
15+
16+
- $id: http://www.w3.org/2000/01/rdf-schema#
17+
prefix: rdfs
18+
19+
- $id: http://www.w3.org/2001/XMLSchema#
20+
prefix: xsd
21+
22+
- $id: https://schema.org/
23+
prefix: schema
24+
25+
- $id: http://www.w3.org/ns/prov#
26+
prefix: prov

spec/data/spec.yamlld

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ license:
1414
$id: https://purl.org/NET/rdflicense/W3C1.0
1515
dcterms:isReferencedBy: https://purl.org/NET/rdflicense/W3C1.0.ttl
1616

17+
dcterms:references:
18+
- namespace-prefixes.yamlld
19+
1720
"@context":
1821
"@import": https://json-ld.org/contexts/dollar-convenience.jsonld
1922
"@base": https://json-ld.github.io/yaml-ld/spec/
@@ -39,3 +42,6 @@ license:
3942

4043
dcterms:isReferencedBy:
4144
"@type": "@id"
45+
46+
dcterms:references:
47+
"@type": "@id"

0 commit comments

Comments
 (0)