├── .github
└── workflows
│ ├── publish.yml
│ └── test.yml
├── .gitignore
├── .gitmodules
├── Makefile
├── README.md
├── _quarto.yml
├── check-coverage.sh
├── context.json
├── examples
├── ddc-305.40941109033.concept.json
├── ddc-305.40941109033.concept.nt
├── ddc-612.112.concept.json
├── ddc-612.112.concept.nt
├── ddc-641.5.concept.json
├── ddc-641.5.concept.nt
├── ddc-641.50902.concept.json
├── ddc-gnd-1.mapping.json
├── ddc-gnd-2.mapping.json
├── example.concept.json
├── example.concept.nt
├── example.item.json
├── example1.annotation.json
├── geo.item.json
├── geo.item.nt
├── gnd-4130604-1.concept.json
├── gnd-4130604-1.concept.nt
├── gnd-7507432-1.concept.json
├── gnd-7507432-1.concept.nt
├── gnd.scheme.json
├── gnd.scheme.nt
├── gvk-co.occurrence.json
├── gvk-co.occurrence.nt
├── istanbul.event.json
├── item-types.scheme.json
├── jskos.distribution.json
├── mapping-ddc-gnd.json
├── marc.distribution.json
├── media.concept.json
├── media.concept.nt
├── memberRoles.concept.json
├── qualified-literal.concept.json
├── qualified-literal.concept.nt
├── qualified-relation-1.concept.json
├── qualified-relation-1.concept.nt
├── qualified-relation-2.concept.json
├── qualified.concept.json
├── qualified.concept.nt
├── rdfxml.distribution.json
├── resource.resource.json
└── wikidata-occurrences.concept.json
├── jskos.qmd
├── package-lock.json
├── package.json
├── post-render
├── prefixes.json
├── schemas
├── README.md
├── annotation.schema.json
├── bundle.schema.json
├── concept.schema.json
├── concordance.schema.json
├── distribution.schema.json
├── item.schema.json
├── mapping.schema.json
├── occurrence.schema.json
├── registry.schema.json
├── resource.schema.json
└── scheme.schema.json
├── style.css
├── test
├── examples-ld.js
├── examples-schema.js
├── frame.json
└── lib
│ └── test-examples.js
└── version.yaml
/.github/workflows/publish.yml:
--------------------------------------------------------------------------------
1 | name: Quarto Publish
2 |
3 | on:
4 | workflow_dispatch:
5 | push:
6 | branches: main
7 |
8 | jobs:
9 | build-deploy:
10 | runs-on: ubuntu-latest
11 | permissions:
12 | contents: write
13 | steps:
14 | - name: Check out repository
15 | uses: actions/checkout@v4
16 |
17 | - name: Set up Quarto
18 | uses: quarto-dev/quarto-actions/setup@v2
19 |
20 | - name: Render and Publish
21 | uses: quarto-dev/quarto-actions/publish@v2
22 | with:
23 | target: gh-pages
24 | env:
25 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26 |
--------------------------------------------------------------------------------
/.github/workflows/test.yml:
--------------------------------------------------------------------------------
1 | name: Test
2 |
3 | on: [push, pull_request]
4 |
5 | jobs:
6 | build:
7 |
8 | runs-on: ubuntu-latest
9 |
10 | steps:
11 | - uses: actions/checkout@v4
12 | with:
13 | submodules: true
14 | - uses: actions/setup-node@v4
15 | with:
16 | node-version: 20.x
17 | - run: npm ci
18 | - run: npm test
19 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.tmp
2 | *.html
3 | vendor/
4 | node_modules/
5 |
6 | .quarto/
7 | docs/
8 |
9 | /.quarto/
10 |
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gbv/jskos/2f753e7c0d056c45b2a654532a13c4526269ff40/.gitmodules
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | default:
2 | quarto render
3 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | This repository contains the specification of **JSKOS data format for knowledge organization systems** based on JSON and SKOS. See .
2 |
3 | Examples included in directory `examples` are checked against JSKOS JSON Schema and converted to RDF with JSON-LD.
4 |
5 | [](https://github.com/gbv/jskos/actions/workflows/test.yml)
6 |
7 | When releasing a new version of the spec, run `npm version patch` (or `minor`/`major`) to both add a Git tag for the version as well as update the version number in `package.json`.
8 |
--------------------------------------------------------------------------------
/_quarto.yml:
--------------------------------------------------------------------------------
1 | project:
2 | type: manuscript
3 | output-dir: docs
4 | render:
5 | - "!*.md"
6 | post-render:
7 | - ./post-render
8 |
9 | resources:
10 | - context.json
11 | - prefixes.json
12 |
13 | repo-url: https://github.com/gbv/jskos
14 |
15 | manuscript:
16 | article: jskos.qmd
17 | code-links:
18 | - repo
19 |
20 | metadata-files:
21 | - version.yaml
22 |
23 | title: JSKOS data format for Knowledge Organization Systems
24 | authors:
25 | - name: Jakob Voß
26 | orcid: 0000-0002-7613-4123
27 | affiliations:
28 | - name: Verbundzentrale des GBV (VZG)
29 | # abstract: |
30 | # ...
31 |
32 | format:
33 | html:
34 | number-sections: true
35 | code-line-numbers: false
36 | highlight-style: kate
37 | theme: flatly
38 | css: style.css
39 | crossref:
40 | lst-prefix: "Example"
41 | lst-title: "Example"
42 |
--------------------------------------------------------------------------------
/check-coverage.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # check which fields ared defined in schema but not used in examples
4 | diff -u \
5 | <(jq -r 'if type=="array" then .[] else . end|keys[]' examples/*.json | sort | uniq | egrep ^[a-z]) \
6 | <(jq -r '.properties|keys[]' schemas/*.json | sort | uniq) \
7 | | grep -E '^\+[a-z]'
8 |
--------------------------------------------------------------------------------
/context.json:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "uri": "@id",
4 | "type": {
5 | "@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
6 | "@type": "@id",
7 | "@container": "@set"
8 | },
9 | "created": {
10 | "@id": "http://purl.org/dc/terms/created",
11 | "@type": "xsd:date"
12 | },
13 | "issued": {
14 | "@id": "http://purl.org/dc/terms/issued",
15 | "@type": "xsd:date"
16 | },
17 | "modified": {
18 | "@id": "http://purl.org/dc/terms/modified",
19 | "@type": "xsd:date"
20 | },
21 | "creator": {
22 | "@id": "http://purl.org/dc/terms/creator",
23 | "@container": "@set"
24 | },
25 | "contributor": {
26 | "@id": "http://purl.org/dc/terms/contributor",
27 | "@container": "@set"
28 | },
29 | "publisher": {
30 | "@id": "http://purl.org/dc/terms/publisher",
31 | "@container": "@set"
32 | },
33 | "partOf": {
34 | "@id": "http://purl.org/dc/terms/isPartOf",
35 | "@container": "@set"
36 | },
37 | "url": {
38 | "@id": "http://xmlns.com/foaf/0.1/page",
39 | "@type": "@id"
40 | },
41 | "identifier": {
42 | "@id": "http://purl.org/dc/terms/identifier",
43 | "@container": "@set"
44 | },
45 | "notation": {
46 | "@id": "http://www.w3.org/2004/02/skos/core#notation",
47 | "@container": "@set"
48 | },
49 | "prefLabel": {
50 | "@id": "http://www.w3.org/2004/02/skos/core#prefLabel",
51 | "@container": "@language"
52 | },
53 | "altLabel": {
54 | "@id": "http://www.w3.org/2004/02/skos/core#altLabel",
55 | "@container": "@language"
56 | },
57 | "hiddenLabel": {
58 | "@id": "http://www.w3.org/2004/02/skos/core#hiddenLabel",
59 | "@container": "@language"
60 | },
61 | "note": {
62 | "@id": "http://www.w3.org/2004/02/skos/core#note",
63 | "@container": "@language"
64 | },
65 | "scopeNote": {
66 | "@id": "http://www.w3.org/2004/02/skos/core#scopeNote",
67 | "@container": "@language"
68 | },
69 | "definition": {
70 | "@id": "http://www.w3.org/2004/02/skos/core#definition",
71 | "@container": "@language"
72 | },
73 | "example": {
74 | "@id": "http://www.w3.org/2004/02/skos/core#example",
75 | "@container": "@language"
76 | },
77 | "historyNote": {
78 | "@id": "http://www.w3.org/2004/02/skos/core#historyNote",
79 | "@container": "@language"
80 | },
81 | "editorialNote": {
82 | "@id": "http://www.w3.org/2004/02/skos/core#editorialNote",
83 | "@container": "@language"
84 | },
85 | "changeNote": {
86 | "@id": "http://www.w3.org/2004/02/skos/core#changeNote",
87 | "@container": "@language"
88 | },
89 | "subject": {
90 | "@id": "http://purl.org/dc/terms/subject",
91 | "@container": "@set"
92 | },
93 | "subjectOf": {
94 | "@reverse": "http://purl.org/dc/terms/subject",
95 | "@container": "@set"
96 | },
97 | "source": {
98 | "@id": "http://purl.org/dc/terms/source",
99 | "@container": "@set"
100 | },
101 | "depiction": {
102 | "@id": "http://xmlns.com/foaf/0.1/depiction",
103 | "@type": "@id",
104 | "@container": "@set"
105 | },
106 | "media": {
107 | "@id": "http://xmlns.com/foaf/0.1/depiction",
108 | "@context": "http://iiif.io/api/presentation/3/context.json"
109 | },
110 | "place": {
111 | "@id": "http://schema.org/location",
112 | "@container": "@set"
113 | },
114 | "startPlace": {
115 | "@id": "http://schema.org/fromLocation",
116 | "@container": "@set"
117 | },
118 | "endPlace": {
119 | "@id": "http://schema.org/toLocation",
120 | "@container": "@set"
121 | },
122 | "narrower": {
123 | "@id": "http://www.w3.org/2004/02/skos/core#narrower",
124 | "@container": "@set"
125 | },
126 | "broader": {
127 | "@id": "http://www.w3.org/2004/02/skos/core#broader",
128 | "@container": "@set"
129 | },
130 | "related": {
131 | "@id": "http://www.w3.org/2004/02/skos/core#related",
132 | "@container": "@set"
133 | },
134 | "previous": {
135 | "@id": "http://rdf-vocabulary.ddialliance.org/xkos#previous",
136 | "@container": "@set"
137 | },
138 | "next": {
139 | "@id": "http://rdf-vocabulary.ddialliance.org/xkos#next",
140 | "@container": "@set"
141 | },
142 | "startDate": "http://schema.org/startDate",
143 | "endDate": "http://schema.org/endDate",
144 | "relatedDate": "http://www.w3.org/2000/01/rdf-schema#seeAlso",
145 | "relatedDates": "http://www.w3.org/2000/01/rdf-schema#seeAlso",
146 | "location": {
147 | "@id": "http://www.opengis.net/ont/geosparql#asGeoJSON",
148 | "@type": "@json"
149 | },
150 | "address": "http://schema.org/address",
151 | "street": "http://schema.org/streetAddress",
152 | "ext": "http://schema.org/streetAddress",
153 | "pobox": "http://schema.org/postOfficeBoxNumber",
154 | "locality": "http://schema.org/addressLocality",
155 | "region": "http://schema.org/addressRegion",
156 | "code": "http://schema.org/postalCode",
157 | "country": "http://schema.org/addressCountry",
158 | "ancestors": {
159 | "@id": "http://www.w3.org/2004/02/skos/core#broaderTransitive",
160 | "@container": "@set"
161 | },
162 | "inScheme": {
163 | "@id": "http://www.w3.org/2004/02/skos/core#inScheme",
164 | "@container": "@set"
165 | },
166 | "topConceptOf": {
167 | "@id": "http://www.w3.org/2004/02/skos/core#topConceptOf",
168 | "@container": "@set"
169 | },
170 | "topConcepts": {
171 | "@id": "http://www.w3.org/2004/02/skos/core#hasTopConcept",
172 | "@container": "@set"
173 | },
174 | "versionOf": {
175 | "@id": "http://purl.org/dc/terms/isVersionOf",
176 | "@container": "@set"
177 | },
178 | "extent": "http://purl.org/dc/terms/extent",
179 | "languages": {
180 | "@id": "http://purl.org/dc/terms/language",
181 | "@container": "@set"
182 | },
183 | "license": {
184 | "@id": "http://purl.org/dc/terms/license",
185 | "@container": "@set"
186 | },
187 | "deprecated": "http://www.w3.org/2002/07/owl#deprecated",
188 | "replacedBy": "http://purl.org/dc/terms/isReplacedBy",
189 | "namespace": "http://rdfs.org/ns/void#uriSpace",
190 | "uriPattern": "http://rdfs.org/ns/void#voidRegexPattern",
191 | "fromScheme": "http://rdfs.org/ns/void#subjectsTarget",
192 | "toScheme": "http://rdfs.org/ns/void#objectsTarget",
193 | "memberList": {
194 | "@id": "http://www.loc.gov/mads/rdf/v1#componentList",
195 | "@container": "@list"
196 | },
197 | "memberSet": {
198 | "@id": "http://www.w3.org/2004/02/skos/core#member",
199 | "@container": "@set"
200 | },
201 | "memberChoice": {
202 | "@id": "http://www.w3.org/2004/02/skos/core#member",
203 | "@container": "@set"
204 | },
205 | "count": "http://rdfs.org/ns/void#entities",
206 | "distributions": {
207 | "@id": "http://www.w3.org/ns/dcat#distribution",
208 | "@container": "@set"
209 | },
210 | "download": "http://www.w3.org/ns/dcat#downloadURL",
211 | "accessURL": "http://www.w3.org/ns/dcat#accessURL",
212 | "checksum": "http://spdx.org/rdf/terms#checksum",
213 | "mimetype": "http://www.w3.org/ns/dcat#mediaType",
214 | "packageFormat": "http://www.w3.org/ns/dcat#packageFormat",
215 | "compressFormat": "http://www.w3.org/ns/dcat#compressFormat",
216 | "format": "http://purl.org/dc/terms/format",
217 | "size": "http://www.w3.org/ns/dcat#byteSize",
218 | "value": "http://spdx.org/rdf/terms#checksumValue",
219 | "qualifiedRelations": "@nest",
220 | "qualifiedLiterals": "@nest",
221 | "qualifiedDates": "@nest",
222 | "resource": "http://www.w3.org/1999/02/22-rdf-syntax-ns#object",
223 | "date": "http://www.w3.org/1999/02/22-rdf-syntax-ns#object",
224 | "literal": {
225 | "@id": "http://www.w3.org/2008/05/skos-xl#literalForm",
226 | "@context": {
227 | "string": "@value",
228 | "language": "@language"
229 | }
230 | },
231 | "rank": "http://wikiba.se/ontology#rank",
232 | "version": "http://www.w3.org/2002/07/owl#versionInfo",
233 | "justification": "https://w3id.org/sssom/mapping_justification"
234 | }
235 | }
236 |
--------------------------------------------------------------------------------
/examples/ddc-305.40941109033.concept.json:
--------------------------------------------------------------------------------
1 | {
2 | "notation": [ "305.40941109033" ],
3 | "prefLabel": { "en": "Women — Scotland — 18th century" },
4 | "memberList": [
5 | {
6 | "uri": "http://dewey.info/class/305.4/e23/",
7 | "notation": ["305.4"],
8 | "prefLabel": { "en": "Women" }
9 | },
10 | {
11 | "uri": "http://dewey.info/class/2--411/e23/",
12 | "notation": ["T2--411"],
13 | "prefLabel": { "en": "Scotland" }
14 | },
15 | {
16 | "uri": "http://dewey.info/class/1--09033/e23/",
17 | "notation": ["T1--09033"],
18 | "prefLabel": { "en": "18th century, 1700-1799" }
19 | }
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/examples/ddc-305.40941109033.concept.nt:
--------------------------------------------------------------------------------
1 | "T1--09033" .
2 | "18th century, 1700-1799"@en .
3 | "T2--411" .
4 | "Scotland"@en .
5 | "305.4" .
6 | "Women"@en .
7 | _:b0 _:b1 .
8 | _:b0 "305.40941109033" .
9 | _:b0 "Women — Scotland — 18th century"@en .
10 | _:b1 .
11 | _:b1 _:b2 .
12 | _:b2 .
13 | _:b2 _:b3 .
14 | _:b3 .
15 | _:b3 .
16 |
--------------------------------------------------------------------------------
/examples/ddc-612.112.concept.json:
--------------------------------------------------------------------------------
1 | {
2 | "uri": "http://dewey.info/class/612.112/e22/",
3 | "type": ["http://www.w3.org/2004/02/skos/core#Concept"],
4 | "notation": ["612.112"],
5 | "prefLabel": { "de": "Leukozyten (Weiße Blutkörperchen)" },
6 | "broader": [ {
7 | "notation": ["612.11"],
8 | "prefLabel": { "de": "Blut" },
9 | "uri": "http://dewey.info/class/612.11/e22/"
10 | } ],
11 | "narrower": [ {
12 | "notation": ["612.1121"],
13 | "prefLabel": { "de": "Biochemie" },
14 | "uri": "http://dewey.info/class/612.1121/e22/"
15 | },{
16 | "notation": ["612.1127"],
17 | "prefLabel": { "de": "Anzahl und Auszählung" },
18 | "uri": "http://dewey.info/class/612.1127/e22/"
19 | } ],
20 | "ancestors": [ {
21 | "notation": ["612.11"],
22 | "prefLabel": { "de": "Blut" },
23 | "uri": "http://dewey.info/class/612.11/e22/"
24 | },{
25 | "notation": ["612.1"],
26 | "prefLabel": { "de": "Blut und Kreislauf" },
27 | "uri": "http://dewey.info/class/612.1/e22/"
28 | },{
29 | "notation": ["612"],
30 | "prefLabel": { "de": "Humanphysiologie" },
31 | "uri": "http://dewey.info/class/612/e22/"
32 | },{
33 | "notation": ["61"],
34 | "prefLabel": { "de": "Medizin & Gesundheit" },
35 | "uri": "http://dewey.info/class/61/e22/"
36 | },{
37 | "notation": ["6"],
38 | "prefLabel": { "de": "Technik, Medizin, angewandte Wissenschaften" },
39 | "uri": "http://dewey.info/class/6/e22/"
40 | } ],
41 | "inScheme": [ {
42 | "uri":"http://dewey.info/scheme/version/e22/"
43 | },{
44 | "uri": "http://dewey.info/scheme/edition/e22/"
45 | },{
46 | "uri": "http://dewey.info/scheme/ddc/"
47 | } ]
48 | }
49 |
--------------------------------------------------------------------------------
/examples/ddc-612.112.concept.nt:
--------------------------------------------------------------------------------
1 | "6" .
2 | "Technik, Medizin, angewandte Wissenschaften"@de .
3 | "61" .
4 | "Medizin & Gesundheit"@de .
5 | "612.1" .
6 | "Blut und Kreislauf"@de .
7 | "612.11" .
8 | "Blut"@de .
9 | .
10 | .
11 | .
12 | .
13 | .
14 | .
15 | .
16 | .
17 | .
18 | .
19 | .
20 | .
21 | "612.112" .
22 | "Leukozyten (Weiße Blutkörperchen)"@de .
23 | "612.1121" .
24 | "Biochemie"@de .
25 | "612.1127" .
26 | "Anzahl und Auszählung"@de .
27 | "612" .
28 | "Humanphysiologie"@de .
29 |
--------------------------------------------------------------------------------
/examples/ddc-641.5.concept.json:
--------------------------------------------------------------------------------
1 | {
2 | "uri": "http://dewey.info/class/641.5/e23/",
3 | "type": ["http://www.w3.org/2004/02/skos/core#Concept"],
4 | "notation": ["641.5"],
5 | "inScheme": [{"uri":"http://dewey.info/edition/e23/"}],
6 | "prefLabel": {
7 | "en": "Cooking",
8 | "de": "Kochen",
9 | "it": "Cucina"
10 | },
11 | "broader": [
12 | {
13 | "uri": "http://dewey.info/class/641/e23/",
14 | "notation": ["641"],
15 | "prefLabel": {
16 | "en": "Food and drink",
17 | "de": "Essen und Trinken",
18 | "it": "Cibi e bevande"
19 | }
20 | }
21 | ],
22 | "narrower": [
23 | {
24 | "uri": "http://dewey.info/class/641.502/e23/",
25 | "notation": ["641.502"],
26 | "prefLabel": {
27 | "en": "Miscellany",
28 | "de": "Verschiedenes",
29 | "it": "Miscellanea"
30 | }
31 | },
32 | {
33 | "uri": "http://dewey.info/class/641.508/e23/",
34 | "notation": ["641.508"],
35 | "prefLabel": {
36 | "en": "Cooking with respect to kind of persons",
37 | "de": "Kochen im Hinblick auf Personengruppen",
38 | "it": "Cucina in riferimento a categorie di persone"
39 | }
40 | },
41 | {
42 | "uri": "http://dewey.info/class/641.509/e23/",
43 | "notation": ["641.509"],
44 | "prefLabel": {
45 | "en": "Historical, geographic, persons treatment",
46 | "de": "Hostorische, geographische, personenbezogene Behandlung",
47 | "it": "Storia, geografia, persone"
48 | },
49 | "narrower": [
50 | {
51 | "uri": "http://dewey.info/class/641.5092/e23/",
52 | "notation": ["641.5092"],
53 | "prefLabel": {
54 | "en": "Cooks",
55 | "de": "Köche",
56 | "it": "Cuochi"
57 | }
58 | }
59 | ]
60 | },
61 | {
62 | "uri": "http://dewey.info/class/641.59/e23/",
63 | "notation": ["641.59"],
64 | "prefLabel": {
65 | "en": "Cooking characteristic of specific geographic environments, ethnic cooking",
66 | "de": "Merkmale der Küche einzelner geografischer Umgebungen, ethnische Küche",
67 | "it": "Cucina tipica di specifici ambienti geografici, cucina etnica"
68 | }
69 | }
70 | ]
71 | }
72 |
--------------------------------------------------------------------------------
/examples/ddc-641.5.concept.nt:
--------------------------------------------------------------------------------
1 | .
2 | .
3 | .
4 | .
5 | .
6 | .
7 | .
8 | "641.5" .
9 | "Cooking"@en .
10 | "Cucina"@it .
11 | "Kochen"@de .
12 | "641.502" .
13 | "Miscellanea"@it .
14 | "Miscellany"@en .
15 | "Verschiedenes"@de .
16 | "641.508" .
17 | "Cooking with respect to kind of persons"@en .
18 | "Cucina in riferimento a categorie di persone"@it .
19 | "Kochen im Hinblick auf Personengruppen"@de .
20 | .
21 | "641.509" .
22 | "Historical, geographic, persons treatment"@en .
23 | "Hostorische, geographische, personenbezogene Behandlung"@de .
24 | "Storia, geografia, persone"@it .
25 | "641.5092" .
26 | "Cooks"@en .
27 | "Cuochi"@it .
28 | "Köche"@de .
29 | "641.59" .
30 | "Cooking characteristic of specific geographic environments, ethnic cooking"@en .
31 | "Cucina tipica di specifici ambienti geografici, cucina etnica"@it .
32 | "Merkmale der Küche einzelner geografischer Umgebungen, ethnische Küche"@de .
33 | "641" .
34 | "Cibi e bevande"@it .
35 | "Essen und Trinken"@de .
36 | "Food and drink"@en .
37 |
--------------------------------------------------------------------------------
/examples/ddc-641.50902.concept.json:
--------------------------------------------------------------------------------
1 | {
2 | "uri": "http://dewey.info/class/641.50902/e23/",
3 | "type": ["http://www.w3.org/2004/02/skos/core#Concept"],
4 | "notation": ["641.50902"],
5 | "inScheme": [{"uri":"http://dewey.info/edition/e23/"}],
6 | "memberList": [
7 | {
8 | "uri": "http://dewey.info/class/641.5/e23/",
9 | "notation": ["641.5"],
10 | "prefLabel": {"en": "Cooking"}
11 | },
12 | {
13 | "uri": "http://dewey.info/class/1--0902/e23",
14 | "notation": ["T1--0902"],
15 | "prefLabel": {"en": "*6th-15th centuries, 500-1499"}
16 | }
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/examples/ddc-gnd-1.mapping.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": ["http://www.w3.org/2004/02/skos/core#closeMatch"],
3 | "fromScheme": {"uri":"http://dewey.info/scheme/edition/e22/"},
4 | "toScheme": {"uri":"http://d-nb.info/gnd/7749153-1"},
5 | "from": {
6 | "memberSet": [ {
7 | "uri": "http://dewey.info/class/612.112/e22/",
8 | "notation": ["612.112"]
9 | } ]
10 | },
11 | "to": {
12 | "memberSet": [ {
13 | "uri": "http://d-nb.info/gnd/4074195-3",
14 | "prefLabel": { "de": "Leukozyt" }
15 | } ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/examples/ddc-gnd-2.mapping.json:
--------------------------------------------------------------------------------
1 | {
2 | "fromScheme": {"uri":"http://dewey.info/scheme/edition/e22/"},
3 | "from": {
4 | "memberSet": [ {
5 | "uri": "http://dewey.info/class/612.112/e22/",
6 | "notation": ["612.112"]
7 | } ]
8 | },
9 | "toScheme": {"uri":"http://d-nb.info/gnd/7749153-1"},
10 | "to": {
11 | "memberChoice": [ {
12 | "uri": "http://d-nb.info/gnd/4074195-3",
13 | "prefLabel": { "de": "Leukozyt" }
14 | },{
15 | "uri": "http://d-nb.info/gnd/4141893-1",
16 | "prefLabel": { "de": "Alkalische Leukozytenphosphatase" }
17 | },{
18 | "uri": "http://d-nb.info/gnd/7606617-4",
19 | "prefLabel": { "de": "Blutlymphozyt" }
20 | },{
21 | "uri": "http://d-nb.info/gnd/4158047-3",
22 | "prefLabel": { "de": "Granulozyt" }
23 | },{
24 | "uri": "http://d-nb.info/gnd/4227943-4",
25 | "prefLabel": { "de": "Leukozytenadhäsion" }
26 | },{
27 | "uri": "http://d-nb.info/gnd/4166696-3",
28 | "prefLabel": { "de": "Leukozytenphosphatase" }
29 | },{
30 | "uri": "http://d-nb.info/gnd/4285013-7",
31 | "prefLabel": { "de": "Monozyt" }
32 | } ]
33 | },
34 | "mappingRelevance": 0.5
35 | }
36 |
--------------------------------------------------------------------------------
/examples/example.concept.json:
--------------------------------------------------------------------------------
1 | {
2 | "uri": "http://example.org/terminology/P",
3 | "type": ["http://www.w3.org/2004/02/skos/core#Concept"],
4 | "scopeNote": {
5 | "en": ["state of harmony characterized by lack of violent conflict and freedom from fear of violence"],
6 | "de": ["Abwesenheit von Gewalt, Angst und anderen Störungen"]
7 | },
8 | "prefLabel": {
9 | "en": "peace",
10 | "de": "Frieden"
11 | },
12 | "altLabel": {
13 | "de": ["Friede"]
14 | },
15 | "notation": ["P"],
16 | "narrower": [
17 | {
18 | "prefLabel": {
19 | "en": "world peace",
20 | "de": "Weltfrieden"
21 | }
22 | }
23 | ],
24 | "related": [
25 | {
26 | "prefLabel": { "en": "war", "de": "Krieg" }
27 | }
28 | ]
29 | }
30 |
--------------------------------------------------------------------------------
/examples/example.concept.nt:
--------------------------------------------------------------------------------
1 | .
2 | "Friede"@de .
3 | _:b0 .
4 | "P" .
5 | "Frieden"@de .
6 | "peace"@en .
7 | _:b1 .
8 | "Abwesenheit von Gewalt, Angst und anderen Störungen"@de .
9 | "state of harmony characterized by lack of violent conflict and freedom from fear of violence"@en .
10 | _:b0 "Weltfrieden"@de .
11 | _:b0 "world peace"@en .
12 | _:b1 "Krieg"@de .
13 | _:b1 "war"@en .
14 |
--------------------------------------------------------------------------------
/examples/example.item.json:
--------------------------------------------------------------------------------
1 | {
2 | "startDate": "Y-12424",
3 | "endDate": "2016/2023",
4 | "relatedDate": "2012T12:07",
5 | "relatedDates": ["2007-03-01T13:00:00Z","-2012","-0043-05-22","2001-21"]
6 | }
7 |
--------------------------------------------------------------------------------
/examples/example1.annotation.json:
--------------------------------------------------------------------------------
1 | {
2 | "target": "https://coli-conc.gbv.de/api/mappings/f0cc5f65-5712-4820-9638-e662c0c4314e",
3 | "motivation": "assessing",
4 | "bodyValue": "+1",
5 | "creator": {
6 | "id": "https://coli-conc.gbv.de/login/users/722cc9c5-2ce3-4ca0-b4fb-fef1f62236af",
7 | "name": "Jakob Voß"
8 | },
9 | "created": "2019-03-11T09:11:10.665Z",
10 | "id": "https://coli-conc.gbv.de/api/annotations/5f23368f-a63b-4b69-acd6-b403110df97c",
11 | "@context": "http://www.w3.org/ns/anno.jsonld",
12 | "type": "Annotation"
13 | }
14 |
--------------------------------------------------------------------------------
/examples/geo.item.json:
--------------------------------------------------------------------------------
1 | {
2 | "startPlace": [{ "uri": "https://sws.geonames.org/2655984/" }],
3 | "endPlace": [{ "uri": "https://sws.geonames.org/3411923/" }],
4 | "place": [{ "uri": "https://sws.geonames.org/5128581" }],
5 | "location": {
6 | "type": "Point",
7 | "coordinates": [-49.946944, 41.7325, -3803]
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/examples/geo.item.nt:
--------------------------------------------------------------------------------
1 | _:b0 .
2 | _:b0 .
3 | _:b0 .
4 | _:b0 "{\"coordinates\":[-49.946944,41.7325,-3803],\"type\":\"Point\"}"^^ .
5 |
--------------------------------------------------------------------------------
/examples/gnd-4130604-1.concept.json:
--------------------------------------------------------------------------------
1 | {
2 | "uri": "http://d-nb.info/gnd/4074195-3",
3 | "type": ["http://www.w3.org/2004/02/skos/core#Concept"],
4 | "prefLabel": {
5 | "de": "Leukozyt"
6 | },
7 | "altLabel": {
8 | "de": [ "Leukocyt", "Weißes Blutkörperchen", "Leukozyten", "Leukocyten" ]
9 | },
10 | "broader": [ {
11 | "uri": "http://d-nb.info/gnd/4130604-1",
12 | "prefLabel": { "de": "Blutzelle" }
13 | } ],
14 | "narrower": [ {
15 | "uri": "http://d-nb.info/gnd/4036762-9",
16 | "prefLabel": { "de": "Lymphozyt" }
17 | }, {
18 | "uri": "http://d-nb.info/gnd/4158047-3",
19 | "prefLabel": { "de": "Granulozyt" }
20 | }, {
21 | "uri": "http://d-nb.info/gnd/4285013-7",
22 | "prefLabel": { "de": "Monozyt" }
23 | } ]
24 | }
25 |
--------------------------------------------------------------------------------
/examples/gnd-4130604-1.concept.nt:
--------------------------------------------------------------------------------
1 | "Lymphozyt"@de .
2 | .
3 | "Leukocyt"@de .
4 | "Leukocyten"@de .
5 | "Leukozyten"@de .
6 | "Weißes Blutkörperchen"@de .
7 | .
8 | .
9 | .
10 | .
11 | "Leukozyt"@de .
12 | "Blutzelle"@de .
13 | "Granulozyt"@de .
14 | "Monozyt"@de .
15 |
--------------------------------------------------------------------------------
/examples/gnd-7507432-1.concept.json:
--------------------------------------------------------------------------------
1 | {
2 | "uri": "http://d-nb.info/gnd/7507432-1",
3 | "prefLabel": { "de": "Drei-Sektoren-Hypothese" },
4 | "memberSet": [
5 | {
6 | "uri": "http://d-nb.info/gnd/4126823-4",
7 | "prefLabel": { "de": "Sektoraler Strukturwandel" }
8 | },
9 | {
10 | "uri": "http://d-nb.info/gnd/4161152-4",
11 | "prefLabel": { "de": "Hypothese" }
12 | }
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/examples/gnd-7507432-1.concept.nt:
--------------------------------------------------------------------------------
1 | "Sektoraler Strukturwandel"@de .
2 | "Hypothese"@de .
3 | .
4 | .
5 | "Drei-Sektoren-Hypothese"@de .
6 |
--------------------------------------------------------------------------------
/examples/gnd.scheme.json:
--------------------------------------------------------------------------------
1 | {
2 | "definition" : {
3 | "-" : ["…"],
4 | "de" : ["Von der DNB in Kooperation mit den Verbundpartnern geführte gemeinsame Normdatei"],
5 | "en" : ["international authority file for personal names, subject headings and corporate bodies"]
6 | },
7 | "identifier" : [
8 | "http://bartoc.org/en/node/430",
9 | "http://d-nb.info/gnd/7749153-1",
10 | "http://viaf.org/viaf/188136221",
11 | "http://www.wikidata.org/entity/Q36578",
12 | null
13 | ],
14 | "namespace" : "http://d-nb.info/gnd/",
15 | "notation" : [
16 | "GND"
17 | ],
18 | "notationPattern" : "[0-9X-]+",
19 | "prefLabel" : {
20 | "-" : "…",
21 | "ar" : "ملف استنادي متكامل",
22 | "de" : "Gemeinsame Normdatei",
23 | "en" : "Integrated Authority File",
24 | "ko" : "게마인자메 노름다타이"
25 | },
26 | "type" : [
27 | "http://www.w3.org/2004/02/skos/core#ConceptScheme"
28 | ],
29 | "uri" : "http://d-nb.info/gnd/7749153-1",
30 | "uriPattern" : "^http://d-nb\\.info/gnd/([0-9X-]+)$"
31 | }
32 |
--------------------------------------------------------------------------------
/examples/gnd.scheme.nt:
--------------------------------------------------------------------------------
1 | "http://bartoc.org/en/node/430" .
2 | "http://d-nb.info/gnd/7749153-1" .
3 | "http://viaf.org/viaf/188136221" .
4 | "http://www.wikidata.org/entity/Q36578" .
5 | "http://d-nb.info/gnd/" .
6 | "^http://d-nb\\.info/gnd/([0-9X-]+)$" .
7 | .
8 | "Von der DNB in Kooperation mit den Verbundpartnern geführte gemeinsame Normdatei"@de .
9 | "international authority file for personal names, subject headings and corporate bodies"@en .
10 | "GND" .
11 | "Gemeinsame Normdatei"@de .
12 | "Integrated Authority File"@en .
13 | "ملف استنادي متكامل"@ar .
14 | "게마인자메 노름다타이"@ko .
15 |
--------------------------------------------------------------------------------
/examples/gvk-co.occurrence.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "database": { "uri": "http://uri.gbv.de/database/gvk" },
4 | "memberSet": [
5 | {
6 | "uri": "http://uri.gbv.de/terminology/bk/08.22",
7 | "prefLabel": { "de": "Mittelalterliche Philosophie" }
8 | }
9 | ],
10 | "count": 3657,
11 | "modified": "2017-11-22",
12 | "url": "https://gso.gbv.de/DB=2.1/CMD?ACT=SRCHA&IKT=1016&SRT=YOP&TRM=bkl+08.22"
13 | },
14 | {
15 | "database": { "uri": "http://uri.gbv.de/database/gvk" },
16 | "memberSet": [
17 | {
18 | "uri": "http://dewey.info/class/610/e23/",
19 | "prefLabel": { "en": "Medicine & health" }
20 | }
21 | ],
22 | "count": 144611,
23 | "modified": "2017-11-22",
24 | "url": "https://gso.gbv.de/DB=2.1/CMD?ACT=SRCHA&IKT=1016&SRT=YOP&TRM=ddc+610"
25 | },
26 | {
27 | "database": { "uri": "http://uri.gbv.de/database/gvk" },
28 | "memberSet": [
29 | { "uri": "http://uri.gbv.de/terminology/bk/08.22" },
30 | { "uri": "http://dewey.info/class/610/e23/" }
31 | ],
32 | "count": 2,
33 | "modified": "2017-11-22",
34 | "url": "https://gso.gbv.de/DB=2.1/CMD?ACT=SRCHA&IKT=1016&SRT=YOP&TRM=bkl+08.22+ddc+610"
35 | }
36 | ]
37 |
--------------------------------------------------------------------------------
/examples/gvk-co.occurrence.nt:
--------------------------------------------------------------------------------
1 | "Medicine & health"@en .
2 | "Mittelalterliche Philosophie"@de .
3 | _:b0 "2017-11-22"^^ .
4 | _:b0 "3657"^^ .
5 | _:b0 .
6 | _:b0 .
7 | _:b1 "2017-11-22"^^ .
8 | _:b1 "144611"^^ .
9 | _:b1 .
10 | _:b1 .
11 | _:b2 "2017-11-22"^^ .
12 | _:b2 "2"^^ .
13 | _:b2 .
14 | _:b2 .
15 | _:b2 .
16 |
--------------------------------------------------------------------------------
/examples/istanbul.event.json:
--------------------------------------------------------------------------------
1 | {
2 | "date": "1453-04-06/1453-05-29",
3 | "place": [ {
4 | "uri": "http://www.wikidata.org/entity/Q16869",
5 | "prefLabel": { "en": "Constantinople" }
6 | } ]
7 | }
8 |
--------------------------------------------------------------------------------
/examples/item-types.scheme.json:
--------------------------------------------------------------------------------
1 | {
2 | "type": ["http://www.w3.org/2004/02/skos/core#ConceptScheme"],
3 | "topConcepts": [
4 | { "uri": "http://www.w3.org/2004/02/skos/core#Concept" },
5 | { "uri": "http://www.w3.org/2004/02/skos/core#ConceptScheme" },
6 | { "uri": "http://purl.org/cld/cdtype/CatalogueOrIndex" },
7 | { "uri": "http://www.w3.org/ns/dcat#Distribution" },
8 | { "uri": "http://rdfs.org/ns/void#Linkset" },
9 | { "uri": "http://www.w3.org/2004/02/skos/core#mappingRelation" }
10 | ],
11 | "concepts": [
12 | {
13 | "uri": "http://www.w3.org/2004/02/skos/core#Concept",
14 | "prefLabel": { "en": "concept" }
15 | },
16 | {
17 | "uri": "http://www.w3.org/2004/02/skos/core#ConceptScheme",
18 | "prefLabel": { "en": "concept scheme" }
19 | },
20 | {
21 | "uri": "http://purl.org/cld/cdtype/CatalogueOrIndex",
22 | "prefLabel": { "en": "registry" },
23 | "altLabel": { "en": [ "catalog", "Catalogue or Index" ] }
24 | },
25 | {
26 | "uri": "http://www.w3.org/ns/dcat#Distribution",
27 | "prefLabel": { "en": "distribution" }
28 | },
29 | {
30 | "uri": "http://rdfs.org/ns/void#Linkset",
31 | "identifier": [
32 | "http://purl.org/spar/fabio/VocabularyMapping",
33 | "http://rdf-vocabulary.ddialliance.org/xkos#Correspondence"
34 | ],
35 | "prefLabel": { "en": "concordance" },
36 | "altLabel": { "en": [ "linkset" ] }
37 | },
38 | {
39 | "uri": "http://www.w3.org/2004/02/skos/core#mappingRelation",
40 | "prefLabel": { "en": "is in mapping relation with" }
41 | },
42 | {
43 | "uri": "http://www.w3.org/2004/02/skos/core#closeMatch",
44 | "prefLabel": { "en": "has close match" },
45 | "broader": [ { "uri": "http://www.w3.org/2004/02/skos/core#mappingRelation" } ]
46 | },
47 | {
48 | "uri": "http://www.w3.org/2004/02/skos/core#exactMatch",
49 | "prefLabel": { "en": "has exact match" },
50 | "broader": [ { "uri": "http://www.w3.org/2004/02/skos/core#closeMatch" } ]
51 | },
52 | {
53 | "uri": "http://www.w3.org/2004/02/skos/core#broadMatch",
54 | "prefLabel": { "en": "has broader match" },
55 | "broader": [ { "uri": "http://www.w3.org/2004/02/skos/core#mappingRelation" } ],
56 | "related": [ { "uri": "http://www.w3.org/2004/02/skos/core#narrowMatch" } ]
57 | },
58 | {
59 | "uri": "http://www.w3.org/2004/02/skos/core#narrowMatch",
60 | "prefLabel": { "en": "has narrower match" },
61 | "broader": [ { "uri": "http://www.w3.org/2004/02/skos/core#mappingRelation" } ],
62 | "related": [ { "uri": "http://www.w3.org/2004/02/skos/core#broadMatch" } ]
63 | },
64 | {
65 | "uri": "http://www.w3.org/2004/02/skos/core#relatedMatch",
66 | "prefLabel": { "en": "has related match" },
67 | "broader": [ { "uri": "http://www.w3.org/2004/02/skos/core#mappingRelation" } ]
68 | }
69 | ]
70 | }
71 |
--------------------------------------------------------------------------------
/examples/jskos.distribution.json:
--------------------------------------------------------------------------------
1 | {
2 | "download": "http://example.org/data/dump.ndjson",
3 | "mimetype": "application/x-ndjson",
4 | "format": "http://format.gbv.de/jskos"
5 | }
6 |
--------------------------------------------------------------------------------
/examples/mapping-ddc-gnd.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "creator": [{
4 | "prefLabel": {
5 | "de": "CrissCross"
6 | },
7 | "url": "http://ixtrieve.fh-koeln.de/crisscross/index.html"
8 | }],
9 | "type": ["http://www.w3.org/2004/02/skos/core#exactMatch"],
10 | "fromScheme": {"notation":["DDC"]},
11 | "from": {
12 | "memberSet": [
13 | {
14 | "notation": ["612.112"],
15 | "prefLabel": { "de": "Leukozyten (Weiße Blutkörperchen)"}
16 | }
17 |
18 | ]
19 | },
20 | "toScheme": {"notation":["GND"]},
21 | "to": {
22 | "memberSet": [ {
23 | "uri": "http://d-nb.info/gnd/4074195-3",
24 | "prefLabel": { "de": "Leukozyt" },
25 | "notation":["4074195-3"]
26 | } ]
27 | }
28 | },
29 | {
30 | "creator": [{
31 | "prefLabel": {
32 | "de": "CrissCross"
33 | },
34 | "url": "http://ixtrieve.fh-koeln.de/crisscross/index.html"
35 | }],
36 | "mappingRelevance": 0.5,
37 | "fromScheme": {"notation":["DDC"]},
38 | "from": {
39 | "memberSet": [ {
40 | "uri": "http://dewey.info/class/612.112/e22/",
41 | "notation": ["612.112"],
42 | "prefLabel": { "de": "Leukozyten (Weiße Blutkörperchen)"}
43 | } ]
44 | },
45 | "toScheme": {"notation":["GND"]},
46 | "to": {
47 | "memberChoice": [ {
48 | "uri": "http://d-nb.info/gnd/4074195-3",
49 | "prefLabel": { "de": "Leukozyt" },
50 | "notation":["4074195-3"]
51 | },{
52 | "uri": "http://d-nb.info/gnd/4141893-1",
53 | "prefLabel": { "de": "Alkalische Leukozytenphosphatase" },
54 | "notation":["4141893-1"]
55 | },{
56 | "uri": "http://d-nb.info/gnd/7606617-4",
57 | "prefLabel": { "de": "Blutlymphozyt" },
58 | "notation":["7606617-4"]
59 | },{
60 | "uri": "http://d-nb.info/gnd/4158047-3",
61 | "prefLabel": { "de": "Granulozyt" },
62 | "notation":["4158047-3"]
63 | },{
64 | "uri": "http://d-nb.info/gnd/4227943-4",
65 | "prefLabel": { "de": "Leukozytenadhäsion" },
66 | "notation":["4227943-4"]
67 | },{
68 | "uri": "http://d-nb.info/gnd/4166696-3",
69 | "prefLabel": { "de": "Leukozytenphosphatase" },
70 | "notation":["4166696-3"]
71 | },{
72 | "uri": "http://d-nb.info/gnd/4285013-7",
73 | "prefLabel": { "de": "Monozyt" },
74 | "notation":["4285013-7"]
75 | } ]
76 | }
77 | },
78 | {
79 | "creator": [{
80 | "prefLabel": {
81 | "de": "CrissCross"
82 | },
83 | "url": "http://ixtrieve.fh-koeln.de/crisscross/index.html"
84 | }],
85 | "mappingRelevance": 0.2,
86 | "fromScheme": {"notation":["DDC"]},
87 | "from": {
88 | "memberChoice": [ {
89 | "uri": "http://dewey.info/class/612.112/e22/",
90 | "notation": ["612.112"],
91 | "prefLabel": { "de": "Leukozyten (Weiße Blutkörperchen)"}
92 | } ]
93 | },
94 | "toScheme": {"notation":["GND"]},
95 | "to": {
96 | "memberSet": [ {
97 | "uri": "http://d-nb.info/gnd/4499720-6",
98 | "prefLabel": { "de": "Leukozytenintegrine" },
99 | "notation":["4499720-6"]
100 | } ]
101 | }
102 | }
103 | ]
104 |
--------------------------------------------------------------------------------
/examples/marc.distribution.json:
--------------------------------------------------------------------------------
1 | {
2 | "download": "http://example.org/data/dump.xml.gz",
3 | "mimetype": "application/xml",
4 | "format": "http://format.gbv.de/marc/authority",
5 | "compressFormat": "http://www.iana.org/assignments/media-types/application/gzip"
6 | }
7 |
--------------------------------------------------------------------------------
/examples/media.concept.json:
--------------------------------------------------------------------------------
1 | {
2 | "media": [ {
3 | "type": "Manifest",
4 | "items": [],
5 | "thumbnail": [
6 | {
7 | "type": "Image",
8 | "id": "http://example.org/1/thumbnail.jpg",
9 | "format": "image/jpeg"
10 | }
11 | ]
12 | } ]
13 | }
14 |
--------------------------------------------------------------------------------
/examples/media.concept.nt:
--------------------------------------------------------------------------------
1 | "image/jpeg" .
2 | .
3 | _:b0 _:b1 .
4 | _:b1 .
5 | _:b1 .
6 | _:b1 .
7 |
--------------------------------------------------------------------------------
/examples/memberRoles.concept.json:
--------------------------------------------------------------------------------
1 | {
2 | "prefLabel": { "en": "knights armor"},
3 | "memberRoles": {
4 | "http://example.org/personality": [
5 | { "prefLabel": { "en": "knight" } }
6 | ],
7 | "http://example.org/matter": [
8 | { "prefLabel": { "en": "workwear" } }
9 | ],
10 | "http://example.org/energy": [
11 | { "prefLabel": { "en": "fight" } }
12 | ],
13 | "http://example.org/time": [
14 | { "prefLabel": { "en": "Middle Ages" } }
15 | ]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/examples/qualified-literal.concept.json:
--------------------------------------------------------------------------------
1 | {
2 | "uri": "http://www.wikidata.org/entity/Q406",
3 | "qualifiedLiterals": {
4 | "http://www.w3.org/2008/05/skos-xl#prefLabel": [
5 | {
6 | "type": [ "http://www.w3.org/2008/05/skos-xl#Label" ],
7 | "literal": { "string": "İstanbul", "language": "tr" },
8 | "rank": "preferred"
9 | }, {
10 | "type": [ "http://www.w3.org/2008/05/skos-xl#Label" ],
11 | "literal": { "string": "Constantinople", "language": "en" },
12 | "endDate": "1930"
13 | }
14 | ],
15 | "https://www.wikidata.org/wiki/Property:P395": [
16 | {
17 | "literal": { "string": "34" }
18 | }
19 | ]
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/examples/qualified-literal.concept.nt:
--------------------------------------------------------------------------------
1 | _:b0 .
2 | _:b1 .
3 | _:b2 .
4 | _:b0 "preferred" .
5 | _:b0 .
6 | _:b0 "İstanbul"@tr .
7 | _:b1 "1930" .
8 | _:b1 .
9 | _:b1 "Constantinople"@en .
10 | _:b2 "34" .
11 |
--------------------------------------------------------------------------------
/examples/qualified-relation-1.concept.json:
--------------------------------------------------------------------------------
1 | {
2 | "uri": "http://www.wikidata.org/entity/Q42",
3 | "prefLabel": { "en": "Douglas Adams" },
4 | "qualifiedRelations": {
5 | "http://www.wikidata.org/entity/P69": [
6 | {
7 | "resource": { "uri": "http://www.wikidata.org/entity/Q4961791" },
8 | "startDate": "1959",
9 | "endDate": "1970",
10 | "source": [ { "url": "https://www.brentwoodschool.co.uk/about/our-history/" } ]
11 | }
12 | ]
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/examples/qualified-relation-1.concept.nt:
--------------------------------------------------------------------------------
1 | "Douglas Adams"@en .
2 | _:b0 .
3 | _:b0 _:b1 .
4 | _:b0 "1970" .
5 | _:b0 "1959" .
6 | _:b0 .
7 | _:b1 .
8 |
--------------------------------------------------------------------------------
/examples/qualified-relation-2.concept.json:
--------------------------------------------------------------------------------
1 | {
2 | "uri": "http://www.wikidata.org/entity/Q3033",
3 | "prefLabel": { "en": "Göttingen" },
4 | "qualifiedRelations": {
5 | "http://www.wikidata.org/entity/P17": [
6 | {
7 | "resource": {
8 | "uri": "http://www.wikidata.org/entity/Q183",
9 | "prefLabel": { "en": "Germany" }
10 | },
11 | "startDate": "1990-10-03",
12 | "rank": "preferred"
13 | },{
14 | "resource": {
15 | "uri": "http://www.wikidata.org/entity/Q713750",
16 | "prefLabel": { "en": "West Germany" }
17 | },
18 | "startDate": "1949-05-23",
19 | "endDate": "1990-10-02",
20 | "rank": "normal"
21 | }
22 | ]
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/examples/qualified.concept.json:
--------------------------------------------------------------------------------
1 | {
2 | "uri": "http://www.wikidata.org/entity/Q3033",
3 | "prefLabel": { "en": "Göttingen" },
4 | "qualifiedRelations": {
5 | "http://www.wikidata.org/entity/P17": [
6 | {
7 | "resource": {
8 | "uri": "http://www.wikidata.org/entity/Q183",
9 | "prefLabel": { "en": "Germany" }
10 | },
11 | "startDate": "1990-10-03"
12 | }
13 | ]
14 | },
15 | "qualifiedLiterals": {
16 | "http://www.w3.org/2008/05/skos-xl#prefLabel": [
17 | {
18 | "type": [ "http://www.w3.org/2008/05/skos-xl#Label" ],
19 | "literal": { "string": "Göttingen", "language": "de" },
20 | "startDate": "1447",
21 | "_comment": "Davor andere Schreibweisen ohne Umlaut"
22 | }
23 | ]
24 | },
25 | "qualifiedDates": {
26 | "https://www.wikidata.org/wiki/Property:P571": [
27 | {
28 | "date": "0953"
29 | }
30 | ]
31 | },
32 | "_comment": "Nicht exakt Gründungsdatum aber erste Erwähnung"
33 | }
34 |
--------------------------------------------------------------------------------
/examples/qualified.concept.nt:
--------------------------------------------------------------------------------
1 | "Germany"@en .
2 | "Göttingen"@en .
3 |