@netwerk-digitaal-erfgoed/network-of-terms-catalog 8.1.0 → 9.0.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/rijksmonumenten.jsonld +0 -6
- package/catalog/queries/lookup/aat.rq +9 -1
- package/catalog/queries/lookup/adamlink-straten.rq +3 -1
- package/catalog/queries/lookup/brinkman-nta-stcn.rq +13 -2
- package/catalog/queries/lookup/eurovoc.rq +8 -1
- package/catalog/queries/lookup/goudatijdmachine-straten.rq +12 -5
- package/catalog/queries/lookup/gtaa.rq +8 -1
- package/catalog/queries/lookup/muziekschatten.rq +8 -0
- package/catalog/queries/lookup/muziekweb.rq +3 -1
- package/catalog/queries/lookup/nmvw.rq +5 -1
- package/catalog/queries/lookup/poolparty.rq +10 -1
- package/catalog/queries/lookup/wo2thesaurus.rq +5 -1
- package/catalog/queries/search/aat-materials.rq +10 -2
- package/catalog/queries/search/aat-processes-and-techniques.rq +11 -3
- package/catalog/queries/search/aat-styles-and-periods.rq +13 -5
- package/catalog/queries/search/aat.rq +9 -1
- package/catalog/queries/search/adamlink-straten.rq +4 -1
- package/catalog/queries/search/brinkman.rq +2 -2
- package/catalog/queries/search/cht-materials.rq +11 -2
- package/catalog/queries/search/cht-styles-and-periods.rq +11 -2
- package/catalog/queries/search/eurovoc.rq +11 -4
- package/catalog/queries/search/goudatijdmachine-straten.rq +15 -7
- package/catalog/queries/search/gtaa.rq +7 -0
- package/catalog/queries/search/muziekschatten-onderwerpen.rq +4 -1
- package/catalog/queries/search/muziekschatten-personen.rq +4 -1
- package/catalog/queries/search/mw-genresstijlen.rq +6 -3
- package/catalog/queries/search/mw-personengroepen.rq +4 -1
- package/catalog/queries/search/nmvw.rq +7 -3
- package/catalog/queries/search/nta.rq +13 -1
- package/catalog/queries/search/poolparty.rq +10 -1
- package/catalog/queries/search/stcn-drukkers.rq +8 -4
- package/catalog/queries/search/uitvoeringsmedium.rq +4 -1
- package/catalog/queries/search/wikidata-entities-persons.rq +1 -0
- package/catalog/queries/search/wikidata-entities-places.rq +1 -0
- package/catalog/queries/search/wo2thesaurus.rq +5 -1
- package/package.json +6 -6
|
@@ -3,12 +3,6 @@
|
|
|
3
3
|
"@id": "https://linkeddata.cultureelerfgoed.nl/cho-kennis/id/rijksmonument/",
|
|
4
4
|
"@type": "Dataset",
|
|
5
5
|
"name": [
|
|
6
|
-
{
|
|
7
|
-
"@language": "nl",
|
|
8
|
-
"@value": "Rijksmonumenten"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"alternateName": [
|
|
12
6
|
{
|
|
13
7
|
"@language": "nl",
|
|
14
8
|
"@value": "Rijksmonumentenregister"
|
|
@@ -13,9 +13,11 @@ CONSTRUCT {
|
|
|
13
13
|
skos:scopeNote ?scopeNote ;
|
|
14
14
|
rdfs:seeAlso ?rdfs_seeAlso ;
|
|
15
15
|
skos:broader ?broader_uri ;
|
|
16
|
-
skos:narrower ?narrower_uri
|
|
16
|
+
skos:narrower ?narrower_uri ;
|
|
17
|
+
skos:exactMatch ?exactMatch_uri .
|
|
17
18
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
18
19
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
20
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
19
21
|
}
|
|
20
22
|
WHERE {
|
|
21
23
|
# For example:
|
|
@@ -51,5 +53,11 @@ WHERE {
|
|
|
51
53
|
?narrower_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
|
|
52
54
|
?narrower_uri_skosxl skosxl:literalForm ?narrower_prefLabel .
|
|
53
55
|
}
|
|
56
|
+
OPTIONAL {
|
|
57
|
+
?uri skos:exactMatch ?exactMatch_uri .
|
|
58
|
+
?exactMatch_uri skosxl:prefLabel ?exactMatch_uri_skosxl .
|
|
59
|
+
?exactMatch_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
|
|
60
|
+
?exactMatch_uri_skosxl skosxl:literalForm ?exactMatch_prefLabel .
|
|
61
|
+
}
|
|
54
62
|
}
|
|
55
63
|
LIMIT 1000
|
|
@@ -6,7 +6,8 @@ CONSTRUCT {
|
|
|
6
6
|
?uri a skos:Concept ;
|
|
7
7
|
skos:prefLabel ?prefLabel ;
|
|
8
8
|
skos:altLabel ?altLabel ;
|
|
9
|
-
skos:scopeNote ?scopeNote
|
|
9
|
+
skos:scopeNote ?scopeNote ;
|
|
10
|
+
skos:exactMatch ?exactMatch_uri .
|
|
10
11
|
}
|
|
11
12
|
WHERE {
|
|
12
13
|
# For example:
|
|
@@ -22,5 +23,6 @@ WHERE {
|
|
|
22
23
|
?uri hg:liesIn <http://sws.geonames.org/2759793/> # Gemeente Amsterdam
|
|
23
24
|
BIND("Straat in Gemeente Amsterdam" AS ?scopeNote)
|
|
24
25
|
}
|
|
26
|
+
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
25
27
|
}
|
|
26
28
|
LIMIT 1000
|
|
@@ -16,10 +16,12 @@ CONSTRUCT {
|
|
|
16
16
|
skos:broader ?broader_uri ;
|
|
17
17
|
skos:narrower ?narrower_uri ;
|
|
18
18
|
skos:related ?related_uri ;
|
|
19
|
-
skos:inScheme ?datasetUri
|
|
19
|
+
skos:inScheme ?datasetUri ;
|
|
20
|
+
skos:exactMatch ?exactMatch_uri .
|
|
20
21
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
21
22
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
22
23
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
24
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
23
25
|
}
|
|
24
26
|
WHERE {
|
|
25
27
|
# For example:
|
|
@@ -66,6 +68,7 @@ WHERE {
|
|
|
66
68
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
67
69
|
FILTER(LANG(?related_prefLabel) = "nl")
|
|
68
70
|
}
|
|
71
|
+
OPTIONAL { ?uri skos:exactMatch ?exactMatch_uri } # Has no labels.
|
|
69
72
|
}
|
|
70
73
|
|
|
71
74
|
# For NTA
|
|
@@ -74,11 +77,19 @@ WHERE {
|
|
|
74
77
|
OPTIONAL { ?uri schema:name ?schema_name }
|
|
75
78
|
OPTIONAL { ?uri schema:alternateName ?schema_alternateName }
|
|
76
79
|
OPTIONAL { ?uri schema:description ?schema_description }
|
|
80
|
+
OPTIONAL {
|
|
81
|
+
?uri ?matchPredicate ?exactMatch_uri .
|
|
82
|
+
VALUES ?matchPredicate { owl:sameAs schema:sameAs }
|
|
83
|
+
OPTIONAL {
|
|
84
|
+
?exactMatch_uri rdfs:label ?exactMatch_prefLabel .
|
|
85
|
+
}
|
|
86
|
+
}
|
|
77
87
|
}
|
|
78
88
|
|
|
79
89
|
# For STCN
|
|
80
90
|
OPTIONAL {
|
|
81
|
-
?uri schema:location/schema:address/schema:addressLocality ?scopeNote
|
|
91
|
+
OPTIONAL { ?uri schema:location/schema:address/schema:addressLocality ?scopeNote }
|
|
92
|
+
OPTIONAL { ?uri schema:sameAs ?exactMatch_uri } # Has no labels.
|
|
82
93
|
}
|
|
83
94
|
}
|
|
84
95
|
LIMIT 1000
|
|
@@ -7,10 +7,12 @@ CONSTRUCT {
|
|
|
7
7
|
skos:altLabel ?altLabel ;
|
|
8
8
|
skos:broader ?broader_uri ;
|
|
9
9
|
skos:narrower ?narrower_uri ;
|
|
10
|
-
skos:related ?related_uri
|
|
10
|
+
skos:related ?related_uri ;
|
|
11
|
+
skos:exactMatch ?exactMatch_uri .
|
|
11
12
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
12
13
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
13
14
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
15
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
14
16
|
}
|
|
15
17
|
WHERE {
|
|
16
18
|
#For example:
|
|
@@ -42,5 +44,10 @@ WHERE {
|
|
|
42
44
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
43
45
|
FILTER(LANG(?related_prefLabel) = "nl")
|
|
44
46
|
}
|
|
47
|
+
OPTIONAL {
|
|
48
|
+
?uri skos:exactMatch ?exactMatch_uri .
|
|
49
|
+
?exactMatch_uri skos:exactMatch ?exactMatch_prefLabel .
|
|
50
|
+
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
|
51
|
+
}
|
|
45
52
|
}
|
|
46
53
|
LIMIT 1000
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
PREFIX sdo: <https://schema.org/>
|
|
2
2
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
3
3
|
PREFIX gtm: <https://www.goudatijdmachine.nl/def#>
|
|
4
|
-
PREFIX schema: <https://schema.org/>
|
|
5
4
|
PREFIX hg: <http://rdf.histograph.io/>
|
|
5
|
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
6
6
|
|
|
7
7
|
CONSTRUCT {
|
|
8
8
|
?uri a skos:Concept ;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
skos:prefLabel ?prefLabel ;
|
|
10
|
+
skos:altLabel ?altLabel ;
|
|
11
|
+
skos:scopeNote ?scopeNote ;
|
|
12
|
+
skos:related ?related_uri ;
|
|
13
|
+
skos:exactMatch ?exactMatch_uri .
|
|
13
14
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
15
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
14
16
|
} WHERE {
|
|
15
17
|
# For example:
|
|
16
18
|
# Vuilsteeg: <https://n2t.net/ark:/60537/bIwfWk>
|
|
@@ -30,5 +32,10 @@ CONSTRUCT {
|
|
|
30
32
|
sdo:name ?related_prefLabel .
|
|
31
33
|
FILTER (STRSTARTS(STR(?related_uri), "https://n2t.net/ark:/60537/") && ?uri != ?related_uri )
|
|
32
34
|
}
|
|
35
|
+
|
|
36
|
+
OPTIONAL {
|
|
37
|
+
?uri owl:sameAs ?exactMatch_uri .
|
|
38
|
+
?exactMatch_uri sdo:name ?exactMatch_prefLabel .
|
|
39
|
+
}
|
|
33
40
|
}
|
|
34
41
|
LIMIT 100
|
|
@@ -9,10 +9,12 @@ CONSTRUCT {
|
|
|
9
9
|
skos:broader ?broader_uri ;
|
|
10
10
|
skos:narrower ?narrower_uri ;
|
|
11
11
|
skos:related ?related_uri ;
|
|
12
|
-
skos:inScheme ?datasetUri
|
|
12
|
+
skos:inScheme ?datasetUri ;
|
|
13
|
+
skos:exactMatch ?exactMatch_uri .
|
|
13
14
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
14
15
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
15
16
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
17
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
16
18
|
}
|
|
17
19
|
WHERE {
|
|
18
20
|
|
|
@@ -52,5 +54,10 @@ WHERE {
|
|
|
52
54
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
53
55
|
FILTER(LANG(?related_prefLabel) = "nl")
|
|
54
56
|
}
|
|
57
|
+
OPTIONAL {
|
|
58
|
+
?uri skos:exactMatch ?exactMatch_uri .
|
|
59
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
60
|
+
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
|
61
|
+
}
|
|
55
62
|
}
|
|
56
63
|
LIMIT 1000
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
1
2
|
PREFIX schema: <http://schema.org/>
|
|
2
3
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
3
4
|
PREFIX som: <https://data.muziekschatten.nl/som/>
|
|
@@ -10,6 +11,7 @@ CONSTRUCT {
|
|
|
10
11
|
skos:scopeNote ?scopeNote ;
|
|
11
12
|
skos:scopeNote ?schema_hasOccupation ;
|
|
12
13
|
skos:broader ?broader_uri ;
|
|
14
|
+
skos:exactMatch ?exactMatch_uri ;
|
|
13
15
|
skos:inScheme ?datasetUri .
|
|
14
16
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
15
17
|
}
|
|
@@ -48,6 +50,8 @@ WHERE {
|
|
|
48
50
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
49
51
|
FILTER(LANG(?broader_prefLabel) = "nl")
|
|
50
52
|
}
|
|
53
|
+
|
|
54
|
+
OPTIONAL { ?uri skos:exactMatch ?exactMatch_uri } # Has no labels.
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
# For subjects
|
|
@@ -65,6 +69,9 @@ WHERE {
|
|
|
65
69
|
?broader_uri schema:name ?broader_prefLabel .
|
|
66
70
|
FILTER(LANG(?broader_prefLabel) = "nl")
|
|
67
71
|
}
|
|
72
|
+
|
|
73
|
+
OPTIONAL { ?uri skos:exactMatch ?exactMatch_uri } # Has no labels.
|
|
74
|
+
|
|
68
75
|
OPTIONAL {
|
|
69
76
|
?uri schema:keywords ?schema_keywords
|
|
70
77
|
}
|
|
@@ -108,6 +115,7 @@ WHERE {
|
|
|
108
115
|
) AS ?dates
|
|
109
116
|
)
|
|
110
117
|
BIND(CONCAT(?name, IF(?dates != "", CONCAT(" (", ?dates, ")"), "")) AS ?prefLabel)
|
|
118
|
+
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
111
119
|
}
|
|
112
120
|
}
|
|
113
121
|
LIMIT 1000
|
|
@@ -12,7 +12,8 @@ CONSTRUCT {
|
|
|
12
12
|
skos:scopeNote ?rdfs_comment ;
|
|
13
13
|
skos:scopeNote ?schema_description ;
|
|
14
14
|
skos:broader ?broader_uri ;
|
|
15
|
-
skos:narrower ?narrower_uri
|
|
15
|
+
skos:narrower ?narrower_uri ;
|
|
16
|
+
skos:exactMatch ?exactMatch_uri .
|
|
16
17
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
17
18
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
18
19
|
}
|
|
@@ -39,5 +40,6 @@ WHERE {
|
|
|
39
40
|
?uri skos:narrower ?narrower_uri .
|
|
40
41
|
?narrower_uri rdfs:label ?narrower_prefLabel
|
|
41
42
|
}
|
|
43
|
+
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
42
44
|
}
|
|
43
45
|
LIMIT 1000
|
|
@@ -7,7 +7,8 @@ CONSTRUCT {
|
|
|
7
7
|
skos:hiddenLabel ?hiddenLabel ;
|
|
8
8
|
skos:scopeNote ?scopeNote ;
|
|
9
9
|
skos:broader ?broader_uri ;
|
|
10
|
-
skos:narrower ?narrower_uri
|
|
10
|
+
skos:narrower ?narrower_uri ;
|
|
11
|
+
skos:exactMatch ?exactMatch_uri .
|
|
11
12
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
12
13
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
13
14
|
}
|
|
@@ -39,5 +40,8 @@ WHERE {
|
|
|
39
40
|
?uri skos:narrower ?narrower_uri .
|
|
40
41
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
41
42
|
}
|
|
43
|
+
OPTIONAL {
|
|
44
|
+
?uri skos:exactMatch ?exactMatch_uri . # Has no labels.
|
|
45
|
+
}
|
|
42
46
|
}
|
|
43
47
|
LIMIT 1000
|
|
@@ -8,10 +8,12 @@ CONSTRUCT {
|
|
|
8
8
|
skos:scopeNote ?scopeNote ;
|
|
9
9
|
skos:broader ?broader_uri ;
|
|
10
10
|
skos:narrower ?narrower_uri ;
|
|
11
|
-
skos:related ?related_uri
|
|
11
|
+
skos:related ?related_uri ;
|
|
12
|
+
skos:exactMatch ?exactMatch_uri .
|
|
12
13
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
13
14
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
14
15
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
16
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
15
17
|
}
|
|
16
18
|
WHERE {
|
|
17
19
|
# For example:
|
|
@@ -52,5 +54,12 @@ WHERE {
|
|
|
52
54
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
53
55
|
FILTER(LANG(?related_prefLabel) = "nl")
|
|
54
56
|
}
|
|
57
|
+
OPTIONAL {
|
|
58
|
+
?uri skos:exactMatch ?exactMatch_uri .
|
|
59
|
+
OPTIONAL {
|
|
60
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
61
|
+
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
|
62
|
+
}
|
|
63
|
+
}
|
|
55
64
|
}
|
|
56
65
|
LIMIT 1000
|
|
@@ -7,7 +7,8 @@ CONSTRUCT {
|
|
|
7
7
|
skos:hiddenLabel ?hiddenLabel ;
|
|
8
8
|
skos:scopeNote ?scopeNote ;
|
|
9
9
|
skos:broader ?broader_uri ;
|
|
10
|
-
skos:narrower ?narrower_uri
|
|
10
|
+
skos:narrower ?narrower_uri ;
|
|
11
|
+
skos:exactMatch ?exactMatch_uri .
|
|
11
12
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
12
13
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
13
14
|
}
|
|
@@ -50,5 +51,8 @@ WHERE {
|
|
|
50
51
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
51
52
|
FILTER(LANG(?narrower_prefLabel) = "nl")
|
|
52
53
|
}
|
|
54
|
+
OPTIONAL {
|
|
55
|
+
?uri skos:exactMatch ?exactMatch_uri . # Has no labels.
|
|
56
|
+
}
|
|
53
57
|
}
|
|
54
58
|
LIMIT 1000
|
|
@@ -15,9 +15,11 @@ CONSTRUCT {
|
|
|
15
15
|
skos:scopeNote ?scopeNote ;
|
|
16
16
|
rdfs:seeAlso ?rdfs_seeAlso ;
|
|
17
17
|
skos:broader ?broader_uri ;
|
|
18
|
-
skos:narrower ?narrower_uri
|
|
18
|
+
skos:narrower ?narrower_uri ;
|
|
19
|
+
skos:exactMatch ?exactMatch_uri .
|
|
19
20
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
20
21
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
22
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
21
23
|
}
|
|
22
24
|
WHERE {
|
|
23
25
|
?uri luc:term ?query ;
|
|
@@ -26,7 +28,7 @@ WHERE {
|
|
|
26
28
|
|
|
27
29
|
# limit results to the "materials hierarchy name" (300010357)
|
|
28
30
|
?uri gvp:broaderPreferred+ <http://vocab.getty.edu/aat/300010357> .
|
|
29
|
-
|
|
31
|
+
|
|
30
32
|
?type rdfs:subClassOf gvp:Subject .
|
|
31
33
|
FILTER (?type != gvp:Subject) .
|
|
32
34
|
?uri skosxl:prefLabel ?prefLabel_uri .
|
|
@@ -57,5 +59,11 @@ WHERE {
|
|
|
57
59
|
?narrower_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
|
|
58
60
|
?narrower_uri_skosxl skosxl:literalForm ?narrower_prefLabel .
|
|
59
61
|
}
|
|
62
|
+
OPTIONAL {
|
|
63
|
+
?uri skos:exactMatch ?exactMatch_uri .
|
|
64
|
+
?exactMatch_uri skosxl:prefLabel ?exactMatch_uri_skosxl .
|
|
65
|
+
?exactMatch_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
|
|
66
|
+
?exactMatch_uri_skosxl skosxl:literalForm ?exactMatch_prefLabel .
|
|
67
|
+
}
|
|
60
68
|
}
|
|
61
69
|
LIMIT 1000
|
|
@@ -15,9 +15,11 @@ CONSTRUCT {
|
|
|
15
15
|
skos:scopeNote ?scopeNote ;
|
|
16
16
|
rdfs:seeAlso ?rdfs_seeAlso ;
|
|
17
17
|
skos:broader ?broader_uri ;
|
|
18
|
-
skos:narrower ?narrower_uri
|
|
18
|
+
skos:narrower ?narrower_uri ;
|
|
19
|
+
skos:exactMatch ?exactMatch_uri .
|
|
19
20
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
20
21
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
22
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
21
23
|
}
|
|
22
24
|
WHERE {
|
|
23
25
|
?uri luc:term ?query ;
|
|
@@ -25,8 +27,8 @@ WHERE {
|
|
|
25
27
|
void:inDataset <http://vocab.getty.edu/dataset/aat> .
|
|
26
28
|
|
|
27
29
|
# limit results to the "processes and techniques hierarchy name (300053001)"
|
|
28
|
-
?uri gvp:broaderPreferred+ <http://vocab.getty.edu/aat/300053001> .
|
|
29
|
-
|
|
30
|
+
?uri gvp:broaderPreferred+ <http://vocab.getty.edu/aat/300053001> .
|
|
31
|
+
|
|
30
32
|
?type rdfs:subClassOf gvp:Subject .
|
|
31
33
|
FILTER (?type != gvp:Subject) .
|
|
32
34
|
?uri skosxl:prefLabel ?prefLabel_uri .
|
|
@@ -57,5 +59,11 @@ WHERE {
|
|
|
57
59
|
?narrower_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
|
|
58
60
|
?narrower_uri_skosxl skosxl:literalForm ?narrower_prefLabel .
|
|
59
61
|
}
|
|
62
|
+
OPTIONAL {
|
|
63
|
+
?uri skos:exactMatch ?exactMatch_uri .
|
|
64
|
+
?exactMatch_uri skosxl:prefLabel ?exactMatch_uri_skosxl .
|
|
65
|
+
?exactMatch_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
|
|
66
|
+
?exactMatch_uri_skosxl skosxl:literalForm ?exactMatch_prefLabel .
|
|
67
|
+
}
|
|
60
68
|
}
|
|
61
69
|
LIMIT 1000
|
|
@@ -15,18 +15,20 @@ CONSTRUCT {
|
|
|
15
15
|
skos:scopeNote ?scopeNote ;
|
|
16
16
|
rdfs:seeAlso ?rdfs_seeAlso ;
|
|
17
17
|
skos:broader ?broader_uri ;
|
|
18
|
-
skos:narrower ?narrower_uri
|
|
18
|
+
skos:narrower ?narrower_uri ;
|
|
19
|
+
skos:exactMatch ?exactMatch_uri .
|
|
19
20
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
20
21
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
22
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
21
23
|
}
|
|
22
24
|
WHERE {
|
|
23
25
|
?uri luc:term ?query ;
|
|
24
26
|
a ?type ;
|
|
25
27
|
void:inDataset <http://vocab.getty.edu/dataset/aat> .
|
|
26
|
-
|
|
27
|
-
# limit results to the "styles and periodes hierarchy name (300015646)"
|
|
28
|
-
?uri gvp:broaderPreferred+ <http://vocab.getty.edu/aat/300015646> .
|
|
29
|
-
|
|
28
|
+
|
|
29
|
+
# limit results to the "styles and periodes hierarchy name (300015646)"
|
|
30
|
+
?uri gvp:broaderPreferred+ <http://vocab.getty.edu/aat/300015646> .
|
|
31
|
+
|
|
30
32
|
?type rdfs:subClassOf gvp:Subject .
|
|
31
33
|
FILTER (?type != gvp:Subject) .
|
|
32
34
|
?uri skosxl:prefLabel ?prefLabel_uri .
|
|
@@ -57,5 +59,11 @@ WHERE {
|
|
|
57
59
|
?narrower_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
|
|
58
60
|
?narrower_uri_skosxl skosxl:literalForm ?narrower_prefLabel .
|
|
59
61
|
}
|
|
62
|
+
OPTIONAL {
|
|
63
|
+
?uri skos:exactMatch ?exactMatch_uri .
|
|
64
|
+
?exactMatch_uri skosxl:prefLabel ?exactMatch_uri_skosxl .
|
|
65
|
+
?exactMatch_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
|
|
66
|
+
?exactMatch_uri_skosxl skosxl:literalForm ?exactMatch_prefLabel .
|
|
67
|
+
}
|
|
60
68
|
}
|
|
61
69
|
LIMIT 1000
|
|
@@ -15,9 +15,11 @@ CONSTRUCT {
|
|
|
15
15
|
skos:scopeNote ?scopeNote ;
|
|
16
16
|
rdfs:seeAlso ?rdfs_seeAlso ;
|
|
17
17
|
skos:broader ?broader_uri ;
|
|
18
|
-
skos:narrower ?narrower_uri
|
|
18
|
+
skos:narrower ?narrower_uri ;
|
|
19
|
+
skos:exactMatch ?exactMatch_uri .
|
|
19
20
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
20
21
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
22
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
21
23
|
}
|
|
22
24
|
WHERE {
|
|
23
25
|
?uri luc:term ?query ;
|
|
@@ -53,5 +55,11 @@ WHERE {
|
|
|
53
55
|
?narrower_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
|
|
54
56
|
?narrower_uri_skosxl skosxl:literalForm ?narrower_prefLabel .
|
|
55
57
|
}
|
|
58
|
+
OPTIONAL {
|
|
59
|
+
?uri skos:exactMatch ?exactMatch_uri .
|
|
60
|
+
?exactMatch_uri skosxl:prefLabel ?exactMatch_uri_skosxl .
|
|
61
|
+
?exactMatch_uri_skosxl dcterms:language aat:300388256 . # Dutch (language)
|
|
62
|
+
?exactMatch_uri_skosxl skosxl:literalForm ?exactMatch_prefLabel .
|
|
63
|
+
}
|
|
56
64
|
}
|
|
57
65
|
LIMIT 1000
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
PREFIX hg: <http://rdf.histograph.io/>
|
|
2
|
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
2
3
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
3
4
|
PREFIX void: <http://rdfs.org/ns/void#>
|
|
4
5
|
|
|
@@ -6,7 +7,8 @@ CONSTRUCT {
|
|
|
6
7
|
?uri a skos:Concept ;
|
|
7
8
|
skos:prefLabel ?prefLabel ;
|
|
8
9
|
skos:altLabel ?altLabel ;
|
|
9
|
-
skos:scopeNote ?scopeNote
|
|
10
|
+
skos:scopeNote ?scopeNote ;
|
|
11
|
+
skos:exactMatch ?exactMatch_uri .
|
|
10
12
|
}
|
|
11
13
|
WHERE {
|
|
12
14
|
?uri void:inDataset <https://data.adamlink.nl/adamnet/geography/> .
|
|
@@ -21,5 +23,6 @@ WHERE {
|
|
|
21
23
|
?uri hg:liesIn <http://sws.geonames.org/2759793/> # Gemeente Amsterdam
|
|
22
24
|
BIND("Straat in Gemeente Amsterdam" AS ?scopeNote)
|
|
23
25
|
}
|
|
26
|
+
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
24
27
|
}
|
|
25
28
|
LIMIT 1000
|
|
@@ -10,7 +10,7 @@ CONSTRUCT {
|
|
|
10
10
|
skos:broader ?broader_uri ;
|
|
11
11
|
skos:narrower ?narrower_uri ;
|
|
12
12
|
skos:related ?related_uri ;
|
|
13
|
-
skos:exactMatch ?
|
|
13
|
+
skos:exactMatch ?exactMatch_uri .
|
|
14
14
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
15
15
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
16
16
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
@@ -54,6 +54,6 @@ WHERE {
|
|
|
54
54
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
55
55
|
FILTER(LANG(?related_prefLabel) = "nl")
|
|
56
56
|
}
|
|
57
|
-
OPTIONAL { ?uri skos:exactMatch ?
|
|
57
|
+
OPTIONAL { ?uri skos:exactMatch ?exactMatch_uri } # Has no labels.
|
|
58
58
|
}
|
|
59
59
|
LIMIT 1000
|
|
@@ -8,10 +8,12 @@ CONSTRUCT {
|
|
|
8
8
|
skos:scopeNote ?scopeNote ;
|
|
9
9
|
skos:broader ?broader_uri ;
|
|
10
10
|
skos:narrower ?narrower_uri ;
|
|
11
|
-
skos:related ?related_uri
|
|
11
|
+
skos:related ?related_uri ;
|
|
12
|
+
skos:exactMatch ?exactMatch_uri .
|
|
12
13
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
13
14
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
14
15
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
16
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
15
17
|
}
|
|
16
18
|
WHERE {
|
|
17
19
|
?uri ?predicate ?label .
|
|
@@ -19,7 +21,7 @@ WHERE {
|
|
|
19
21
|
|
|
20
22
|
# limit results to the narrower terms of the toplevel term 'materialen'
|
|
21
23
|
?uri skos:broader+ <https://data.cultureelerfgoed.nl/term/id/cht/aa872ce6-a74c-4f81-96ec-6ee0e717f92a> .
|
|
22
|
-
|
|
24
|
+
|
|
23
25
|
FILTER(LANG(?label) = "nl")
|
|
24
26
|
FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
|
|
25
27
|
OPTIONAL {
|
|
@@ -53,5 +55,12 @@ WHERE {
|
|
|
53
55
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
54
56
|
FILTER(LANG(?related_prefLabel) = "nl")
|
|
55
57
|
}
|
|
58
|
+
OPTIONAL {
|
|
59
|
+
?uri skos:exactMatch ?exactMatch_uri .
|
|
60
|
+
OPTIONAL {
|
|
61
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
62
|
+
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
|
63
|
+
}
|
|
64
|
+
}
|
|
56
65
|
}
|
|
57
66
|
LIMIT 1000
|
|
@@ -8,10 +8,12 @@ CONSTRUCT {
|
|
|
8
8
|
skos:scopeNote ?scopeNote ;
|
|
9
9
|
skos:broader ?broader_uri ;
|
|
10
10
|
skos:narrower ?narrower_uri ;
|
|
11
|
-
skos:related ?related_uri
|
|
11
|
+
skos:related ?related_uri ;
|
|
12
|
+
skos:exactMatch ?exactMatch_uri .
|
|
12
13
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
13
14
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
14
15
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
16
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
15
17
|
}
|
|
16
18
|
WHERE {
|
|
17
19
|
?uri ?predicate ?label .
|
|
@@ -19,7 +21,7 @@ WHERE {
|
|
|
19
21
|
|
|
20
22
|
# limit results to the narrower terms of the toplevel term 'stijlen en periodes'
|
|
21
23
|
?uri skos:broader+ <https://data.cultureelerfgoed.nl/term/id/cht/63cca950-f545-467a-9d70-db3a2b21bba3> .
|
|
22
|
-
|
|
24
|
+
|
|
23
25
|
FILTER(LANG(?label) = "nl")
|
|
24
26
|
FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
|
|
25
27
|
OPTIONAL {
|
|
@@ -53,5 +55,12 @@ WHERE {
|
|
|
53
55
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
54
56
|
FILTER(LANG(?related_prefLabel) = "nl")
|
|
55
57
|
}
|
|
58
|
+
OPTIONAL {
|
|
59
|
+
?uri skos:exactMatch ?exactMatch_uri .
|
|
60
|
+
OPTIONAL {
|
|
61
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
62
|
+
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
|
63
|
+
}
|
|
64
|
+
}
|
|
56
65
|
}
|
|
57
66
|
LIMIT 1000
|
|
@@ -7,10 +7,12 @@ CONSTRUCT {
|
|
|
7
7
|
skos:altLabel ?altLabel ;
|
|
8
8
|
skos:broader ?broader_uri ;
|
|
9
9
|
skos:narrower ?narrower_uri ;
|
|
10
|
-
skos:related ?related_uri
|
|
10
|
+
skos:related ?related_uri ;
|
|
11
|
+
skos:exactMatch ?exactMatch_uri .
|
|
11
12
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
12
13
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
13
|
-
?related_uri skos:prefLabel ?related_prefLabel .
|
|
14
|
+
?related_uri skos:prefLabel ?related_prefLabel .
|
|
15
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
14
16
|
}
|
|
15
17
|
WHERE {
|
|
16
18
|
?uri a eurovoc:ThesaurusConcept .
|
|
@@ -19,7 +21,7 @@ WHERE {
|
|
|
19
21
|
FILTER(LANG(?label) = "nl")
|
|
20
22
|
# The http://publications.europa.eu/webapi/rdf/sparql endpoint
|
|
21
23
|
# is based on Virtuoso but it looks like fulltext search support
|
|
22
|
-
# is not enabled therefore fallback to the standard CONTAINS function
|
|
24
|
+
# is not enabled therefore fallback to the standard CONTAINS function
|
|
23
25
|
FILTER (CONTAINS(LCASE(STR(?label)),LCASE(?query)))
|
|
24
26
|
OPTIONAL {
|
|
25
27
|
?uri skos:prefLabel ?prefLabel .
|
|
@@ -44,5 +46,10 @@ WHERE {
|
|
|
44
46
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
45
47
|
FILTER(LANG(?related_prefLabel) = "nl")
|
|
46
48
|
}
|
|
49
|
+
OPTIONAL {
|
|
50
|
+
?uri skos:exactMatch ?exactMatch_uri .
|
|
51
|
+
?exactMatch_uri skos:exactMatch ?exactMatch_prefLabel .
|
|
52
|
+
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
|
53
|
+
}
|
|
47
54
|
}
|
|
48
|
-
LIMIT 1000
|
|
55
|
+
LIMIT 1000
|
|
@@ -5,21 +5,24 @@ PREFIX hg: <http://rdf.histograph.io/>
|
|
|
5
5
|
PREFIX luc: <http://www.ontotext.com/connectors/lucene#>
|
|
6
6
|
PREFIX luc-index: <http://www.ontotext.com/connectors/lucene/instance#>
|
|
7
7
|
PREFIX omeka: <http://omeka.org/s/vocabs/o#>
|
|
8
|
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
8
9
|
|
|
9
10
|
CONSTRUCT {
|
|
10
11
|
?uri a skos:Concept ;
|
|
11
12
|
skos:prefLabel ?prefLabel ;
|
|
12
13
|
skos:altLabel ?altLabel;
|
|
13
14
|
skos:scopeNote ?scopeNote ;
|
|
14
|
-
skos:related ?related_uri
|
|
15
|
+
skos:related ?related_uri ;
|
|
16
|
+
skos:exactMatch ?exactMatch_uri .
|
|
15
17
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
18
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
16
19
|
} WHERE {
|
|
17
20
|
?search a luc-index:straten_index ;
|
|
18
21
|
luc:query ?query ;
|
|
19
22
|
luc:entities ?uri .
|
|
20
23
|
|
|
21
24
|
FILTER (STRSTARTS(STR(?uri), "https://n2t.net/ark:/60537/"))
|
|
22
|
-
|
|
25
|
+
|
|
23
26
|
?uri sdo:name ?prefLabel ;
|
|
24
27
|
luc:score ?score .
|
|
25
28
|
|
|
@@ -27,13 +30,13 @@ CONSTRUCT {
|
|
|
27
30
|
?uri gtm:genoemdNaar ?genoemdNaar .
|
|
28
31
|
}
|
|
29
32
|
|
|
30
|
-
BIND (
|
|
31
|
-
CONCAT(
|
|
33
|
+
BIND (
|
|
34
|
+
CONCAT(
|
|
32
35
|
IF ( EXISTS { ?entity omeka:item_set <https://n2t.net/ark:/60537/bd75pg> }, "Verdwenen straat", "Straat" ),
|
|
33
36
|
IF ( BOUND(?genoemdNaar), CONCAT(" in Gouda, genoemd naar ", ?genoemdNaar )," in Gouda" )
|
|
34
|
-
)
|
|
37
|
+
)
|
|
35
38
|
AS ?scopeNote )
|
|
36
|
-
|
|
39
|
+
|
|
37
40
|
OPTIONAL { ?uri sdo:alternateName ?altLabel . }
|
|
38
41
|
|
|
39
42
|
OPTIONAL {
|
|
@@ -42,4 +45,9 @@ CONSTRUCT {
|
|
|
42
45
|
sdo:name ?related_prefLabel .
|
|
43
46
|
FILTER (STRSTARTS(STR(?related_uri), "https://n2t.net/ark:/60537/") && ?uri != ?related_uri )
|
|
44
47
|
}
|
|
45
|
-
|
|
48
|
+
|
|
49
|
+
OPTIONAL {
|
|
50
|
+
?uri owl:sameAs ?exactMatch_uri .
|
|
51
|
+
?exactMatch_uri sdo:name ?exactMatch_prefLabel .
|
|
52
|
+
}
|
|
53
|
+
} ORDER BY DESC(?score) LIMIT 100
|
|
@@ -12,10 +12,12 @@ CONSTRUCT {
|
|
|
12
12
|
skos:broader ?broader_uri ;
|
|
13
13
|
skos:narrower ?narrower_uri ;
|
|
14
14
|
skos:related ?related_uri ;
|
|
15
|
+
skos:exactMatch ?exactMatch_uri ;
|
|
15
16
|
vrank:simpleRank ?score .
|
|
16
17
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
17
18
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
18
19
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
20
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
19
21
|
}
|
|
20
22
|
WHERE {
|
|
21
23
|
(?uri ?score) text:query (skos:prefLabel skos:altLabel skos:hiddenLabel ?query) .
|
|
@@ -54,6 +56,11 @@ WHERE {
|
|
|
54
56
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
55
57
|
FILTER(LANG(?related_prefLabel) = "nl")
|
|
56
58
|
}
|
|
59
|
+
OPTIONAL {
|
|
60
|
+
?uri skos:exactMatch ?exactMatch_uri .
|
|
61
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
62
|
+
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
|
63
|
+
}
|
|
57
64
|
}
|
|
58
65
|
ORDER BY DESC(?score)
|
|
59
66
|
LIMIT 10
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
1
2
|
PREFIX schema: <http://schema.org/>
|
|
2
3
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
3
4
|
PREFIX som: <https://data.muziekschatten.nl/som/>
|
|
@@ -6,7 +7,8 @@ CONSTRUCT {
|
|
|
6
7
|
?uri a skos:Concept;
|
|
7
8
|
skos:prefLabel ?schema_name;
|
|
8
9
|
skos:scopeNote ?scopeNote;
|
|
9
|
-
skos:broader ?broader_uri
|
|
10
|
+
skos:broader ?broader_uri ;
|
|
11
|
+
skos:exactMatch ?exactMatch_uri .
|
|
10
12
|
?broader_uri skos:prefLabel ?broader_schema_name .
|
|
11
13
|
}
|
|
12
14
|
WHERE {
|
|
@@ -40,5 +42,6 @@ WHERE {
|
|
|
40
42
|
)
|
|
41
43
|
|
|
42
44
|
?uri som:BASIS "1" .
|
|
45
|
+
OPTIONAL { ?uri skos:exactMatch ?exactMatch_uri } # Has no labels.
|
|
43
46
|
}
|
|
44
47
|
LIMIT 1000
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
1
2
|
PREFIX schema: <http://schema.org/>
|
|
2
3
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
3
4
|
PREFIX som: <https://data.muziekschatten.nl/som/>
|
|
@@ -24,7 +25,8 @@ CONSTRUCT {
|
|
|
24
25
|
?uri a skos:Concept;
|
|
25
26
|
skos:prefLabel ?prefLabel ;
|
|
26
27
|
skos:altLabel ?schema_alternateName ;
|
|
27
|
-
skos:scopeNote ?schema_hasOccupation
|
|
28
|
+
skos:scopeNote ?schema_hasOccupation ;
|
|
29
|
+
skos:exactMatch ?exactMatch_uri .
|
|
28
30
|
}
|
|
29
31
|
WHERE {
|
|
30
32
|
?uri a schema:Person .
|
|
@@ -59,5 +61,6 @@ WHERE {
|
|
|
59
61
|
) AS ?dates
|
|
60
62
|
)
|
|
61
63
|
BIND(CONCAT(?name, IF(?dates != "", CONCAT(" (", ?dates, ")"), "")) AS ?prefLabel)
|
|
64
|
+
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
62
65
|
}
|
|
63
66
|
LIMIT 1000
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
PREFIX muziekweb: <https://data.muziekweb.nl/vocab/>
|
|
2
|
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
2
3
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
3
4
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
4
5
|
|
|
5
6
|
CONSTRUCT {
|
|
6
7
|
?uri a skos:Concept ;
|
|
7
8
|
skos:prefLabel ?rdfs_label ;
|
|
8
|
-
skos:scopeNote ?rdfs_comment
|
|
9
|
-
|
|
9
|
+
skos:scopeNote ?rdfs_comment ;
|
|
10
|
+
skos:broader ?broader_uri ;
|
|
11
|
+
skos:narrower ?narrower_uri ;
|
|
12
|
+
skos:exactMatch ?exactMatch_uri .
|
|
10
13
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
11
|
-
?uri skos:narrower ?narrower_uri .
|
|
12
14
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
13
15
|
}
|
|
14
16
|
WHERE {
|
|
@@ -25,5 +27,6 @@ WHERE {
|
|
|
25
27
|
?narrower_uri rdfs:label ?narrower_prefLabel
|
|
26
28
|
}
|
|
27
29
|
OPTIONAL { ?uri rdfs:comment ?rdfs_comment }
|
|
30
|
+
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
28
31
|
}
|
|
29
32
|
LIMIT 1000
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
1
2
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
2
3
|
PREFIX schema: <http://schema.org/>
|
|
3
4
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
@@ -7,7 +8,8 @@ CONSTRUCT {
|
|
|
7
8
|
skos:prefLabel ?prefLabel ;
|
|
8
9
|
skos:altLabel ?altLabel ;
|
|
9
10
|
skos:hiddenLabel ?hiddenLabel ;
|
|
10
|
-
skos:scopeNote ?schema_description
|
|
11
|
+
skos:scopeNote ?schema_description ;
|
|
12
|
+
skos:exactMatch ?exactMatch_uri .
|
|
11
13
|
}
|
|
12
14
|
WHERE {
|
|
13
15
|
?uri a schema:MusicGroup ;
|
|
@@ -19,5 +21,6 @@ WHERE {
|
|
|
19
21
|
OPTIONAL { ?uri skos:altLabel ?altLabel }
|
|
20
22
|
OPTIONAL { ?uri skos:hiddenLabel ?hiddenLabel }
|
|
21
23
|
OPTIONAL { ?uri schema:description ?schema_description }
|
|
24
|
+
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
22
25
|
}
|
|
23
26
|
LIMIT 1000
|
|
@@ -5,10 +5,11 @@ CONSTRUCT {
|
|
|
5
5
|
skos:prefLabel ?prefLabel ;
|
|
6
6
|
skos:altLabel ?altLabel ;
|
|
7
7
|
skos:hiddenLabel ?hiddenLabel ;
|
|
8
|
-
skos:scopeNote ?scopeNote
|
|
9
|
-
|
|
8
|
+
skos:scopeNote ?scopeNote ;
|
|
9
|
+
skos:broader ?broader_uri ;
|
|
10
|
+
skos:narrower ?narrower_uri ;
|
|
11
|
+
skos:exactMatch ?exactMatch_uri .
|
|
10
12
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
11
|
-
?uri skos:narrower ?narrower_uri .
|
|
12
13
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
13
14
|
}
|
|
14
15
|
WHERE {
|
|
@@ -36,5 +37,8 @@ WHERE {
|
|
|
36
37
|
?uri skos:narrower ?narrower_uri .
|
|
37
38
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
38
39
|
}
|
|
40
|
+
OPTIONAL {
|
|
41
|
+
?uri skos:exactMatch ?exactMatch_uri . # Has no labels.
|
|
42
|
+
}
|
|
39
43
|
}
|
|
40
44
|
LIMIT 1000
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
2
|
+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
1
3
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
4
|
+
PREFIX schema: <http://schema.org/>
|
|
2
5
|
|
|
3
6
|
CONSTRUCT {
|
|
4
7
|
?uri a skos:Concept ;
|
|
5
8
|
skos:prefLabel ?rdfs_label ;
|
|
6
9
|
skos:altLabel ?schema_name ;
|
|
7
10
|
skos:altLabel ?schema_alternateName ;
|
|
8
|
-
skos:scopeNote ?schema_description
|
|
11
|
+
skos:scopeNote ?schema_description ;
|
|
12
|
+
skos:exactMatch ?exactMatch_uri .
|
|
13
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
9
14
|
}
|
|
10
15
|
WHERE {
|
|
11
16
|
?uri schema:mainEntityOfPage/schema:isPartOf <http://data.bibliotheken.nl/id/dataset/persons> ;
|
|
@@ -17,5 +22,12 @@ WHERE {
|
|
|
17
22
|
OPTIONAL { ?uri schema:name ?schema_name }
|
|
18
23
|
OPTIONAL { ?uri schema:alternateName ?schema_alternateName }
|
|
19
24
|
OPTIONAL { ?uri schema:description ?schema_description }
|
|
25
|
+
OPTIONAL {
|
|
26
|
+
?uri ?matchPredicate ?exactMatch_uri .
|
|
27
|
+
VALUES ?matchPredicate { owl:sameAs schema:sameAs }
|
|
28
|
+
OPTIONAL {
|
|
29
|
+
?exactMatch_uri rdfs:label ?exactMatch_prefLabel .
|
|
30
|
+
}
|
|
31
|
+
}
|
|
20
32
|
}
|
|
21
33
|
LIMIT 1000
|
|
@@ -8,10 +8,12 @@ CONSTRUCT {
|
|
|
8
8
|
skos:scopeNote ?scopeNote ;
|
|
9
9
|
skos:broader ?broader_uri ;
|
|
10
10
|
skos:narrower ?narrower_uri ;
|
|
11
|
-
skos:related ?related_uri
|
|
11
|
+
skos:related ?related_uri ;
|
|
12
|
+
skos:exactMatch ?exactMatch_uri .
|
|
12
13
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
13
14
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
14
15
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
16
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
15
17
|
}
|
|
16
18
|
WHERE {
|
|
17
19
|
?uri ?predicate ?label .
|
|
@@ -49,5 +51,12 @@ WHERE {
|
|
|
49
51
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
50
52
|
FILTER(LANG(?related_prefLabel) = "nl")
|
|
51
53
|
}
|
|
54
|
+
OPTIONAL {
|
|
55
|
+
?uri skos:exactMatch ?exactMatch_uri .
|
|
56
|
+
OPTIONAL {
|
|
57
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
58
|
+
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
|
59
|
+
}
|
|
60
|
+
}
|
|
52
61
|
}
|
|
53
62
|
LIMIT 1000
|
|
@@ -8,7 +8,8 @@ CONSTRUCT {
|
|
|
8
8
|
skos:prefLabel ?rdfs_label ;
|
|
9
9
|
skos:altLabel ?schema_name ;
|
|
10
10
|
skos:altLabel ?schema_alternateName ;
|
|
11
|
-
skos:scopeNote ?scopeNote
|
|
11
|
+
skos:scopeNote ?scopeNote ;
|
|
12
|
+
skos:exactMatch ?exactMatch_uri .
|
|
12
13
|
}
|
|
13
14
|
WHERE {
|
|
14
15
|
?uri schema:mainEntityOfPage/schema:isPartOf <http://data.bibliotheken.nl/id/dataset/stcn/printers> ;
|
|
@@ -24,10 +25,13 @@ WHERE {
|
|
|
24
25
|
# http://data.bibliotheken.nl/id/thes/p075556251 for Plantijn working in Leiden
|
|
25
26
|
# http://data.bibliotheken.nl/id/thes/p338012834 for Plantijn working in Antwerp
|
|
26
27
|
# The original source (STCN) shows also a time period, this data currently not available in the LOD version.
|
|
27
|
-
OPTIONAL {
|
|
28
|
-
?uri schema:location/schema:address/schema:addressLocality ?scopeNote
|
|
28
|
+
OPTIONAL {
|
|
29
|
+
?uri schema:location/schema:address/schema:addressLocality ?scopeNote
|
|
29
30
|
}
|
|
30
31
|
OPTIONAL { ?uri schema:name ?schema_name }
|
|
31
32
|
OPTIONAL { ?uri schema:alternateName ?schema_alternateName }
|
|
33
|
+
OPTIONAL {
|
|
34
|
+
?uri schema:sameAs ?exactMatch_uri . # Has no labels.
|
|
35
|
+
}
|
|
32
36
|
}
|
|
33
|
-
LIMIT 1000
|
|
37
|
+
LIMIT 1000
|
|
@@ -6,7 +6,8 @@ CONSTRUCT {
|
|
|
6
6
|
skos:prefLabel ?prefLabel ;
|
|
7
7
|
skos:altLabel ?altLabel ;
|
|
8
8
|
skos:scopeNote ?scopeNote ;
|
|
9
|
-
skos:broader ?broader_uri
|
|
9
|
+
skos:broader ?broader_uri ;
|
|
10
|
+
skos:exactMatch ?exactMatch_uri .
|
|
10
11
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
11
12
|
}
|
|
12
13
|
WHERE {
|
|
@@ -34,5 +35,7 @@ WHERE {
|
|
|
34
35
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
35
36
|
FILTER(LANG(?broader_prefLabel) = "nl")
|
|
36
37
|
}
|
|
38
|
+
|
|
39
|
+
OPTIONAL { ?uri skos:exactMatch ?exactMatch_uri } # Has no labels.
|
|
37
40
|
}
|
|
38
41
|
LIMIT 1000
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
PREFIX bd: <http://www.bigdata.com/rdf#>
|
|
2
2
|
PREFIX mwapi: <https://www.mediawiki.org/ontology#API/>
|
|
3
|
+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
3
4
|
PREFIX schema: <http://schema.org/>
|
|
4
5
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
5
6
|
PREFIX wikibase: <http://wikiba.se/ontology#>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
PREFIX bd: <http://www.bigdata.com/rdf#>
|
|
2
2
|
PREFIX mwapi: <https://www.mediawiki.org/ontology#API/>
|
|
3
|
+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
3
4
|
PREFIX schema: <http://schema.org/>
|
|
4
5
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
5
6
|
PREFIX wikibase: <http://wikiba.se/ontology#>
|
|
@@ -7,7 +7,8 @@ CONSTRUCT {
|
|
|
7
7
|
skos:hiddenLabel ?hiddenLabel ;
|
|
8
8
|
skos:scopeNote ?scopeNote ;
|
|
9
9
|
skos:broader ?broader_uri ;
|
|
10
|
-
skos:narrower ?narrower_uri
|
|
10
|
+
skos:narrower ?narrower_uri ;
|
|
11
|
+
skos:exactMatch ?exactMatch_uri .
|
|
11
12
|
?broader_uri skos:prefLabel ?broader_prefLabel .
|
|
12
13
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
13
14
|
}
|
|
@@ -46,5 +47,8 @@ WHERE {
|
|
|
46
47
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
47
48
|
FILTER(LANG(?narrower_prefLabel) = "nl")
|
|
48
49
|
}
|
|
50
|
+
OPTIONAL {
|
|
51
|
+
?uri skos:exactMatch ?exactMatch_uri . # Has no labels.
|
|
52
|
+
}
|
|
49
53
|
}
|
|
50
54
|
LIMIT 1000
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netwerk-digitaal-erfgoed/network-of-terms-catalog",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Catalog of Network of Terms datasets",
|
|
6
6
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@comunica/core": "^2.7.0",
|
|
32
32
|
"@comunica/types": "^2.8.2",
|
|
33
33
|
"@types/n3": "^1.16.4",
|
|
34
|
-
"@types/rdf-ext": "^2.
|
|
34
|
+
"@types/rdf-ext": "^2.5.0",
|
|
35
35
|
"gts": "^5.2.0",
|
|
36
36
|
"jsonld-streaming-parser": "^3.3.0",
|
|
37
37
|
"rdf-data-factory": "^1.1.2",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"homepage": "https://github.com/netwerk-digitaal-erfgoed/network-of-terms-catalog#readme",
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@comunica/bindings-factory": "^2.7.0",
|
|
47
|
-
"@comunica/query-sparql-rdfjs": "^2.10.
|
|
48
|
-
"@netwerk-digitaal-erfgoed/network-of-terms-query": "
|
|
49
|
-
"globby": "^14.0.
|
|
50
|
-
"rdf-parse": "^2.3.
|
|
47
|
+
"@comunica/query-sparql-rdfjs": "^2.10.2",
|
|
48
|
+
"@netwerk-digitaal-erfgoed/network-of-terms-query": "5.0.0",
|
|
49
|
+
"globby": "^14.0.1",
|
|
50
|
+
"rdf-parse": "^2.3.3",
|
|
51
51
|
"rdf-store-stream": "^2.0.0"
|
|
52
52
|
}
|
|
53
53
|
}
|