@netwerk-digitaal-erfgoed/network-of-terms-catalog 9.1.3 → 9.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/getCatalog.d.ts +2 -2
- package/build/getCatalog.d.ts.map +1 -1
- package/build/getCatalog.js +5 -2
- package/build/getCatalog.js.map +1 -1
- package/catalog/datasets/adamlink-adressen.jsonld +58 -0
- package/catalog/datasets/adamlink-straten.jsonld +4 -4
- package/catalog/publishers.jsonld +6 -6
- package/catalog/queries/lookup/adamlink-adressen.rq +49 -0
- package/catalog/queries/lookup/adamlink-straten.rq +13 -10
- package/catalog/queries/lookup/cht.rq +1 -0
- package/catalog/queries/search/adamlink-adressen.rq +49 -0
- package/catalog/queries/search/adamlink-straten.rq +15 -12
- package/catalog/queries/search/cht-materials.rq +1 -0
- package/catalog/queries/search/cht-styles-and-periods.rq +1 -0
- package/catalog/queries/search/cht.rq +1 -0
- package/package.json +6 -7
package/build/getCatalog.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as RDF from '@rdfjs/types';
|
|
2
2
|
import { Catalog } from '@netwerk-digitaal-erfgoed/network-of-terms-query';
|
|
3
3
|
export declare function getCatalog(path?: string): Promise<Catalog>;
|
|
4
|
-
export declare function fromStore(store: RDF.Store
|
|
4
|
+
export declare function fromStore(store: RDF.Store): Promise<Catalog>;
|
|
5
5
|
/**
|
|
6
6
|
* Return a separate RDF.Store for each catalog file because merging them into a single store
|
|
7
7
|
* causes blank nodes to be re-used instead of incremented when adding the next file.
|
|
8
8
|
*/
|
|
9
|
-
export declare function fromFiles(directory: string): Promise<RDF.Store
|
|
9
|
+
export declare function fromFiles(directory: string): Promise<RDF.Store>;
|
|
10
10
|
export declare function fromFile(file: string): Promise<RDF.Store>;
|
|
11
11
|
//# sourceMappingURL=getCatalog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCatalog.d.ts","sourceRoot":"","sources":["../src/getCatalog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AAKpC,OAAO,EACL,OAAO,EAOR,MAAM,kDAAkD,CAAC;AAM1D,wBAAsB,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAMhE;AAED,wBAAsB,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"getCatalog.d.ts","sourceRoot":"","sources":["../src/getCatalog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AAKpC,OAAO,EACL,OAAO,EAOR,MAAM,kDAAkD,CAAC;AAM1D,wBAAsB,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAMhE;AAED,wBAAsB,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CA+FlE;AAED;;;GAGG;AACH,wBAAsB,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CASrE;AAED,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAU/D"}
|
package/build/getCatalog.js
CHANGED
|
@@ -44,7 +44,7 @@ export async function fromStore(store) {
|
|
|
44
44
|
GROUP BY ${properties}
|
|
45
45
|
ORDER BY LCASE(?name)`;
|
|
46
46
|
const bindingsStream = await new QueryEngine().queryBindings(query, {
|
|
47
|
-
sources: store,
|
|
47
|
+
sources: [store],
|
|
48
48
|
initialBindings: bindingsFactory.fromRecord({
|
|
49
49
|
reconciliationIri: dataFactory.namedNode(FeatureType.RECONCILIATION),
|
|
50
50
|
}),
|
|
@@ -84,7 +84,10 @@ export async function fromStore(store) {
|
|
|
84
84
|
export async function fromFiles(directory) {
|
|
85
85
|
// Read all files except those in the queries/ directory.
|
|
86
86
|
const files = await globby([directory, '!' + directory + '/queries']);
|
|
87
|
-
return Promise.all(files.map(fromFile))
|
|
87
|
+
return (await Promise.all(files.map(fromFile))).reduce((previous, current) => {
|
|
88
|
+
previous.import(current.match());
|
|
89
|
+
return previous;
|
|
90
|
+
});
|
|
88
91
|
}
|
|
89
92
|
export async function fromFile(file) {
|
|
90
93
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
package/build/getCatalog.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCatalog.js","sourceRoot":"","sources":["../src/getCatalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,SAAS,MAAM,WAAW,CAAC;AAElC,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAC,SAAS,EAAoB,MAAM,QAAQ,CAAC;AACpD,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACL,OAAO,EACP,OAAO,EACP,OAAO,EACP,WAAW,EACX,GAAG,EACH,YAAY,EACZ,kBAAkB,GACnB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAC,aAAa,EAAC,MAAM,KAAK,CAAC;AAClC,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAG3D,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,IAAa;IAC5C,MAAM,SAAS,GAAG,CAChB,IAAI,IAAI,aAAa,CAAC,IAAI,GAAG,CAAC,YAAY,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAC9D,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,yBAAyB;IAChD,MAAM,KAAK,GAAG,MAAM,S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,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAChE,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAE1B,QAAQ,EAAE,CAAC;IACb,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,6CAA8C,SAAQ,SAAS;IAC3D,KAAK,GAAG,IAAI,MAAM,CAAC,cAAc,CAAC,CAAC;IAC3C;QACE,KAAK,CAAC,EAAC,UAAU,EAAE,IAAI,EAAC,CAAC,CAAC;IAC5B,CAAC;IAED,KAAK,CAAC,UAAU,CACd,IAAc,EACd,QAAwB,EACxB,QAA2B;QAE3B,IAAI,IAAI,CAAC,SAAS,CAAC,KAAK,KAAK,8BAA8B,EAAE,CAAC;YAC5D,IAAI,CAAC,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAC3C,IAAI,CAAC,KAAK,EACV,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,CAC7C,CAAC;QACJ,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAE1B,QAAQ,EAAE,CAAC;IACb,CAAC;CACF;AAED,MAAM,WAAW,GAAG,IAAI,WAAW,EAAE,CAAC;AACtC,MAAM,eAAe,GAAG,IAAI,eAAe,CAAC,WAAW,CAAC,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@context": "https://schema.org/docs/jsonldcontext.jsonld",
|
|
3
|
+
"@id": "https://adamlink.nl/geo/addresses/start/",
|
|
4
|
+
"@type": "Dataset",
|
|
5
|
+
"name": [
|
|
6
|
+
{
|
|
7
|
+
"@language": "nl",
|
|
8
|
+
"@value": "Adamlink: historische adressen in Amsterdam"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"creator": [
|
|
12
|
+
{
|
|
13
|
+
"@id": "https://www.amsterdamtimemachine.nl"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"url": [
|
|
17
|
+
"https://adamlink.nl/geo/address/"
|
|
18
|
+
],
|
|
19
|
+
"mainEntityOfPage": [
|
|
20
|
+
"https://adamlink.nl"
|
|
21
|
+
],
|
|
22
|
+
"description": [
|
|
23
|
+
{
|
|
24
|
+
"@language": "nl",
|
|
25
|
+
"@value": "Historische adressen in Amsterdam"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"inLanguage": "nl",
|
|
29
|
+
"distribution": [
|
|
30
|
+
{
|
|
31
|
+
"@id": "https://api.lod.uba.uva.nl/datasets/ATM/ATM-KG/services/ATM-KG/sparql#adamlink-addresses",
|
|
32
|
+
"@type": "DataDownload",
|
|
33
|
+
"contentUrl": "https://api.lod.uba.uva.nl/datasets/ATM/ATM-KG/services/ATM-KG/sparql",
|
|
34
|
+
"encodingFormat": "application/sparql-query",
|
|
35
|
+
"potentialAction": [
|
|
36
|
+
{
|
|
37
|
+
"@type": "SearchAction",
|
|
38
|
+
"query": "file://catalog/queries/search/adamlink-adressen.rq"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"@type": "FindAction",
|
|
42
|
+
"query": "file://catalog/queries/lookup/adamlink-adressen.rq"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"@type": "Action",
|
|
46
|
+
"target": {
|
|
47
|
+
"@type": "EntryPoint",
|
|
48
|
+
"actionApplication": {
|
|
49
|
+
"@id": "https://reconciliation-api.github.io/specs/latest/",
|
|
50
|
+
"@type": "SoftwareApplication"
|
|
51
|
+
},
|
|
52
|
+
"urlTemplate": "https://termennetwerk-api.netwerkdigitaalerfgoed.nl/reconcile/{distribution}"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"creator": [
|
|
12
12
|
{
|
|
13
|
-
"@id": "https://www.
|
|
13
|
+
"@id": "https://www.amsterdamtimemachine.nl"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
16
|
"url": [
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"inLanguage": "nl",
|
|
29
29
|
"distribution": [
|
|
30
30
|
{
|
|
31
|
-
"@id": "https://
|
|
31
|
+
"@id": "https://api.lod.uba.uva.nl/datasets/ATM/ATM-KG/services/ATM-KG/sparql#adamlink-streets",
|
|
32
32
|
"@type": "DataDownload",
|
|
33
|
-
"contentUrl": "https://api.
|
|
33
|
+
"contentUrl": "https://api.lod.uba.uva.nl/datasets/ATM/ATM-KG/services/ATM-KG/sparql",
|
|
34
34
|
"encodingFormat": "application/sparql-query",
|
|
35
35
|
"potentialAction": [
|
|
36
36
|
{
|
|
@@ -55,4 +55,4 @@
|
|
|
55
55
|
]
|
|
56
56
|
}
|
|
57
57
|
]
|
|
58
|
-
}
|
|
58
|
+
}
|
|
@@ -67,12 +67,6 @@
|
|
|
67
67
|
"name": "Bureau voor publicaties van de Europese Unie",
|
|
68
68
|
"alternateName": "Europese Unie"
|
|
69
69
|
},
|
|
70
|
-
{
|
|
71
|
-
"@id": "https://www.adamnet.nl",
|
|
72
|
-
"@type": "Organization",
|
|
73
|
-
"name": "Stichting AdamNet",
|
|
74
|
-
"alternateName": "AdamNet"
|
|
75
|
-
},
|
|
76
70
|
{
|
|
77
71
|
"@id": "https://www.erfgoedbrabant.nl",
|
|
78
72
|
"@type": "Organization",
|
|
@@ -108,6 +102,12 @@
|
|
|
108
102
|
"@type": "Organization",
|
|
109
103
|
"name": "Podiumkunst.net",
|
|
110
104
|
"alternateName": "Podiumkunst.net"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"@id": "https://www.amsterdamtimemachine.nl",
|
|
108
|
+
"@type": "Organization",
|
|
109
|
+
"name": "Amsterdam Time Machine",
|
|
110
|
+
"alternateName": "ATM"
|
|
111
111
|
}
|
|
112
112
|
]
|
|
113
113
|
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
PREFIX hg: <http://rdf.histograph.io/>
|
|
2
|
+
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
3
|
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
4
|
+
PREFIX roar: <https://w3id.org/roar#>
|
|
5
|
+
PREFIX schema: <https://schema.org/>
|
|
6
|
+
PREFIX bag: <http://bag.basisregistraties.overheid.nl/def/bag#>
|
|
7
|
+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
8
|
+
|
|
9
|
+
CONSTRUCT {
|
|
10
|
+
?uri a skos:Concept ;
|
|
11
|
+
skos:prefLabel ?prefLabel ;
|
|
12
|
+
skos:altLabel ?altLabel ;
|
|
13
|
+
skos:scopeNote ?scopeNote ;
|
|
14
|
+
skos:exactMatch ?exactMatch_uri ;
|
|
15
|
+
rdfs:seeAlso ?seeAlso_uri .
|
|
16
|
+
|
|
17
|
+
?seeAlso_uri skos:prefLabel ?seeAlso_label .
|
|
18
|
+
}
|
|
19
|
+
WHERE {
|
|
20
|
+
# For example:
|
|
21
|
+
# Jodenbreestraat: <https://adamlink.nl/geo/street/jodenbreestraat/2158>
|
|
22
|
+
# Damrak: <https://adamlink.nl/geo/street/damrak/882>
|
|
23
|
+
|
|
24
|
+
VALUES ?uri { ?uris }
|
|
25
|
+
|
|
26
|
+
GRAPH <https://lod.uba.uva.nl/ATM/Adamlink/graphs/addresses> {
|
|
27
|
+
?uri a hg:Address .
|
|
28
|
+
|
|
29
|
+
OPTIONAL { ?uri rdfs:label ?prefLabel }
|
|
30
|
+
OPTIONAL { ?uri skos:altLabel ?altLabel }
|
|
31
|
+
OPTIONAL {
|
|
32
|
+
?uri roar:documentedIn ?source .
|
|
33
|
+
?source rdfs:label ?source_name .
|
|
34
|
+
BIND(CONCAT("Adres afkomstig van ", ?source_name) AS ?scopeNote)
|
|
35
|
+
}
|
|
36
|
+
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
37
|
+
OPTIONAL {
|
|
38
|
+
?exactMatch_uri a bag:Pand ;
|
|
39
|
+
schema:geoContains ?geo .
|
|
40
|
+
?uri schema:geoContains ?geo .
|
|
41
|
+
} # A historical address is very similar to a bag:Pand
|
|
42
|
+
OPTIONAL {
|
|
43
|
+
?uri schema:geoContains ?geo .
|
|
44
|
+
?seeAlso_uri schema:geoContains ?geo ;
|
|
45
|
+
skos:altLabel ?seeAlso_label .
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
LIMIT 1000
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
PREFIX hg: <http://rdf.histograph.io/>
|
|
2
2
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
3
|
-
PREFIX
|
|
3
|
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
4
4
|
|
|
5
5
|
CONSTRUCT {
|
|
6
6
|
?uri a skos:Concept ;
|
|
@@ -13,16 +13,19 @@ WHERE {
|
|
|
13
13
|
# For example:
|
|
14
14
|
# Jodenbreestraat: <https://adamlink.nl/geo/street/jodenbreestraat/2158>
|
|
15
15
|
# Damrak: <https://adamlink.nl/geo/street/damrak/882>
|
|
16
|
+
|
|
16
17
|
VALUES ?uri { ?uris }
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
|
|
19
|
+
GRAPH <https://lod.uba.uva.nl/ATM/Adamlink/graphs/streets> {
|
|
20
|
+
?uri a hg:Street .
|
|
21
|
+
|
|
22
|
+
OPTIONAL { ?uri skos:prefLabel ?prefLabel }
|
|
23
|
+
OPTIONAL { ?uri skos:altLabel ?altLabel }
|
|
24
|
+
OPTIONAL {
|
|
25
|
+
?uri hg:liesIn <http://sws.geonames.org/2759793/> # Gemeente Amsterdam
|
|
26
|
+
BIND("Straat in Gemeente Amsterdam" AS ?scopeNote)
|
|
27
|
+
}
|
|
28
|
+
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
25
29
|
}
|
|
26
|
-
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
27
30
|
}
|
|
28
31
|
LIMIT 1000
|
|
@@ -57,6 +57,7 @@ WHERE {
|
|
|
57
57
|
OPTIONAL {
|
|
58
58
|
?uri skos:exactMatch ?exactMatch_uri .
|
|
59
59
|
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/term/id/rn"))
|
|
60
|
+
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/semnet"))
|
|
60
61
|
OPTIONAL {
|
|
61
62
|
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
62
63
|
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
PREFIX hg: <http://rdf.histograph.io/>
|
|
2
|
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
3
|
+
PREFIX bif: <http://www.openlinksw.com/schemas/bif#>
|
|
4
|
+
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
5
|
+
PREFIX roar: <https://w3id.org/roar#>
|
|
6
|
+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
7
|
+
PREFIX bag: <http://bag.basisregistraties.overheid.nl/def/bag#>
|
|
8
|
+
PREFIX schema: <https://schema.org/>
|
|
9
|
+
|
|
10
|
+
CONSTRUCT {
|
|
11
|
+
?uri a skos:Concept ;
|
|
12
|
+
skos:prefLabel ?prefLabel ;
|
|
13
|
+
skos:altLabel ?altLabel ;
|
|
14
|
+
skos:scopeNote ?scopeNote ;
|
|
15
|
+
skos:exactMatch ?exactMatch_uri ;
|
|
16
|
+
rdfs:seeAlso ?seeAlso_uri .
|
|
17
|
+
|
|
18
|
+
?seeAlso_uri skos:prefLabel ?seeAlso_label .
|
|
19
|
+
}
|
|
20
|
+
WHERE {
|
|
21
|
+
GRAPH <https://lod.uba.uva.nl/ATM/Adamlink/graphs/addresses> {
|
|
22
|
+
?uri a hg:Address .
|
|
23
|
+
?uri ?predicate ?label .
|
|
24
|
+
|
|
25
|
+
VALUES ?predicate { rdfs:label skos:prefLabel skos:altLabel }
|
|
26
|
+
|
|
27
|
+
?label <bif:contains> ?virtuosoQuery .
|
|
28
|
+
|
|
29
|
+
OPTIONAL { ?uri rdfs:label ?prefLabel }
|
|
30
|
+
OPTIONAL { ?uri skos:altLabel ?altLabel }
|
|
31
|
+
OPTIONAL {
|
|
32
|
+
?uri roar:documentedIn ?source .
|
|
33
|
+
?source rdfs:label ?source_name .
|
|
34
|
+
BIND(CONCAT("Adres afkomstig van ", ?source_name) AS ?scopeNote)
|
|
35
|
+
}
|
|
36
|
+
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri }
|
|
37
|
+
OPTIONAL {
|
|
38
|
+
?exactMatch_uri a bag:Pand ;
|
|
39
|
+
schema:geoContains ?geo .
|
|
40
|
+
?uri schema:geoContains ?geo .
|
|
41
|
+
} # A historical address is very similar to a bag:Pand
|
|
42
|
+
OPTIONAL {
|
|
43
|
+
?uri schema:geoContains ?geo .
|
|
44
|
+
?seeAlso_uri schema:geoContains ?geo ;
|
|
45
|
+
skos:altLabel ?seeAlso_label .
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
LIMIT 1000
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PREFIX hg: <http://rdf.histograph.io/>
|
|
2
2
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
3
|
+
PREFIX bif: <http://www.openlinksw.com/schemas/bif#>
|
|
3
4
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
4
|
-
PREFIX void: <http://rdfs.org/ns/void#>
|
|
5
5
|
|
|
6
6
|
CONSTRUCT {
|
|
7
7
|
?uri a skos:Concept ;
|
|
@@ -11,18 +11,21 @@ CONSTRUCT {
|
|
|
11
11
|
skos:exactMatch ?exactMatch_uri .
|
|
12
12
|
}
|
|
13
13
|
WHERE {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
VALUES ?predicate { skos:prefLabel skos:altLabel }
|
|
18
|
-
?label <bif:contains> ?virtuosoQuery .
|
|
14
|
+
GRAPH <https://lod.uba.uva.nl/ATM/Adamlink/graphs/streets> {
|
|
15
|
+
?uri a hg:Street .
|
|
16
|
+
?uri ?predicate ?label .
|
|
19
17
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
VALUES ?predicate { skos:prefLabel skos:altLabel }
|
|
19
|
+
|
|
20
|
+
?label <bif:contains> ?virtuosoQuery .
|
|
21
|
+
|
|
22
|
+
OPTIONAL { ?uri skos:prefLabel ?prefLabel }
|
|
23
|
+
OPTIONAL { ?uri skos:altLabel ?altLabel }
|
|
24
|
+
OPTIONAL {
|
|
25
|
+
?uri hg:liesIn <http://sws.geonames.org/2759793/> # Gemeente Amsterdam
|
|
26
|
+
BIND("Straat in Gemeente Amsterdam" AS ?scopeNote)
|
|
27
|
+
}
|
|
28
|
+
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
25
29
|
}
|
|
26
|
-
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
27
30
|
}
|
|
28
31
|
LIMIT 1000
|
|
@@ -58,6 +58,7 @@ WHERE {
|
|
|
58
58
|
OPTIONAL {
|
|
59
59
|
?uri skos:exactMatch ?exactMatch_uri .
|
|
60
60
|
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/term/id/rn"))
|
|
61
|
+
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/semnet"))
|
|
61
62
|
OPTIONAL {
|
|
62
63
|
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
63
64
|
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
|
@@ -58,6 +58,7 @@ WHERE {
|
|
|
58
58
|
OPTIONAL {
|
|
59
59
|
?uri skos:exactMatch ?exactMatch_uri .
|
|
60
60
|
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/term/id/rn"))
|
|
61
|
+
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/semnet"))
|
|
61
62
|
OPTIONAL {
|
|
62
63
|
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
63
64
|
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
|
@@ -54,6 +54,7 @@ WHERE {
|
|
|
54
54
|
OPTIONAL {
|
|
55
55
|
?uri skos:exactMatch ?exactMatch_uri .
|
|
56
56
|
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/term/id/rn"))
|
|
57
|
+
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/semnet"))
|
|
57
58
|
OPTIONAL {
|
|
58
59
|
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
59
60
|
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netwerk-digitaal-erfgoed/network-of-terms-catalog",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Catalog of Network of Terms datasets",
|
|
6
6
|
"repository": {
|
|
@@ -28,23 +28,22 @@
|
|
|
28
28
|
"author": "Netwerk Digitaal Erfgoed",
|
|
29
29
|
"license": "EUPL-1.2",
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@comunica/
|
|
32
|
-
"@comunica/types": "^2.8.2",
|
|
31
|
+
"@comunica/types": "^3.1.0",
|
|
33
32
|
"@types/n3": "^1.16.4",
|
|
34
33
|
"@types/rdf-ext": "^2.5.0",
|
|
35
|
-
"gts": "^5.
|
|
34
|
+
"gts": "^5.3.1",
|
|
36
35
|
"jsonld-streaming-parser": "^3.4.0",
|
|
37
36
|
"rdf-data-factory": "^1.1.2",
|
|
38
37
|
"rdf-ext": "^2.5.1",
|
|
39
|
-
"rdf-validate-shacl": "^0.5.
|
|
38
|
+
"rdf-validate-shacl": "^0.5.5"
|
|
40
39
|
},
|
|
41
40
|
"bugs": {
|
|
42
41
|
"url": "https://github.com/netwerk-digitaal-erfgoed/network-of-terms-catalog/issues"
|
|
43
42
|
},
|
|
44
43
|
"homepage": "https://github.com/netwerk-digitaal-erfgoed/network-of-terms-catalog#readme",
|
|
45
44
|
"dependencies": {
|
|
46
|
-
"@comunica/bindings-factory": "^
|
|
47
|
-
"@comunica/query-sparql-rdfjs": "^
|
|
45
|
+
"@comunica/bindings-factory": "^3.1.0",
|
|
46
|
+
"@comunica/query-sparql-rdfjs": "^3.1.2",
|
|
48
47
|
"@netwerk-digitaal-erfgoed/network-of-terms-query": "5.1.0",
|
|
49
48
|
"globby": "^14.0.1",
|
|
50
49
|
"rdf-parse": "^2.3.3",
|