@netwerk-digitaal-erfgoed/network-of-terms-catalog 9.1.2 → 9.2.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/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/search/adamlink-adressen.rq +49 -0
- package/catalog/queries/search/adamlink-straten.rq +15 -12
- package/package.json +3 -3
|
@@ -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
|
|
@@ -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
|
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.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Catalog of Network of Terms datasets",
|
|
6
6
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@comunica/types": "^2.8.2",
|
|
33
33
|
"@types/n3": "^1.16.4",
|
|
34
34
|
"@types/rdf-ext": "^2.5.0",
|
|
35
|
-
"gts": "^5.
|
|
35
|
+
"gts": "^5.3.0",
|
|
36
36
|
"jsonld-streaming-parser": "^3.4.0",
|
|
37
37
|
"rdf-data-factory": "^1.1.2",
|
|
38
38
|
"rdf-ext": "^2.5.1",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@comunica/bindings-factory": "^2.7.0",
|
|
47
47
|
"@comunica/query-sparql-rdfjs": "^2.10.2",
|
|
48
|
-
"@netwerk-digitaal-erfgoed/network-of-terms-query": "5.0
|
|
48
|
+
"@netwerk-digitaal-erfgoed/network-of-terms-query": "5.1.0",
|
|
49
49
|
"globby": "^14.0.1",
|
|
50
50
|
"rdf-parse": "^2.3.3",
|
|
51
51
|
"rdf-store-stream": "^2.0.1"
|