@netwerk-digitaal-erfgoed/network-of-terms-catalog 9.18.0 → 9.19.1
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.map +1 -1
- package/build/getCatalog.js +8 -3
- package/build/getCatalog.js.map +1 -1
- package/catalog/datasets/aat-materials.jsonld +1 -1
- package/catalog/datasets/aat-processes-and-techniques.jsonld +1 -1
- package/catalog/datasets/aat-styles-and-periods.jsonld +1 -1
- package/catalog/datasets/aat.jsonld +1 -1
- package/catalog/datasets/abr.jsonld +1 -1
- package/catalog/datasets/eurovoc.jsonld +1 -1
- package/catalog/datasets/rkdartists.jsonld +1 -1
- package/catalog/datasets/uitvoeringsmedium.jsonld +1 -1
- package/catalog/datasets/wikidata-entities-all.jsonld +1 -1
- package/catalog/datasets/wikidata-entities-persons.jsonld +1 -1
- package/catalog/datasets/wikidata-entities-places.jsonld +1 -1
- package/catalog/datasets/wikidata-entities-streets.jsonld +1 -1
- package/catalog/queries/search/aat-materials.rq +41 -40
- package/catalog/queries/search/aat-processes-and-techniques.rq +41 -40
- package/catalog/queries/search/aat-styles-and-periods.rq +41 -42
- package/catalog/queries/search/aat.rq +42 -40
- package/catalog/queries/search/adamlink-adressen.rq +11 -9
- package/catalog/queries/search/adamlink-straten.rq +9 -7
- package/catalog/queries/search/brabantse-gebouwen.rq +10 -5
- package/catalog/queries/search/brinkman.rq +12 -7
- package/catalog/queries/search/cht-materials.rq +11 -9
- package/catalog/queries/search/cht-styles-and-periods.rq +11 -9
- package/catalog/queries/search/cht.rq +9 -5
- package/catalog/queries/search/eurovoc.rq +13 -9
- package/catalog/queries/search/geonames.rq +14 -8
- package/catalog/queries/search/goudatijdmachine-straten.rq +7 -4
- package/catalog/queries/search/gtaa.rq +10 -6
- package/catalog/queries/search/iconclass.rq +8 -5
- package/catalog/queries/search/ied.rq +13 -9
- package/catalog/queries/search/muziekschatten-klassiekewerken.rq +12 -6
- package/catalog/queries/search/muziekschatten-onderwerpen.rq +10 -7
- package/catalog/queries/search/muziekschatten-personen.rq +12 -7
- package/catalog/queries/search/mw-genresstijlen.rq +11 -4
- package/catalog/queries/search/mw-personengroepen.rq +9 -5
- package/catalog/queries/search/nmvw.rq +9 -4
- package/catalog/queries/search/nta.rq +9 -5
- package/catalog/queries/search/picot.rq +12 -7
- package/catalog/queries/search/poolparty.rq +10 -6
- package/catalog/queries/search/rijksmonumenten.rq +8 -4
- package/catalog/queries/search/rkdartists.rq +7 -7
- package/catalog/queries/search/stcn-drukkers.rq +11 -7
- package/catalog/queries/search/uitvoeringsmedium.rq +13 -8
- package/catalog/queries/search/wikidata-entities-all.rq +8 -1
- package/catalog/queries/search/wikidata-entities-persons.rq +26 -16
- package/catalog/queries/search/wikidata-entities-places.rq +51 -38
- package/catalog/queries/search/wikidata-entities-streets.rq +44 -26
- package/catalog/queries/search/wo2thesaurus.rq +13 -9
- package/package.json +3 -3
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# Do not remove this prefix - KB data uses old version of SKOS
|
|
2
2
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
3
|
+
PREFIX bif: <http://www.openlinksw.com/schemas/bif#>
|
|
3
4
|
|
|
4
5
|
CONSTRUCT {
|
|
5
6
|
?uri a skos:Concept ;
|
|
@@ -16,12 +17,17 @@ CONSTRUCT {
|
|
|
16
17
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
17
18
|
}
|
|
18
19
|
WHERE {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
{
|
|
21
|
+
SELECT ?uri WHERE {
|
|
22
|
+
?uri a skos:Concept ;
|
|
23
|
+
skos:inScheme <http://data.bibliotheken.nl/id/scheme/brinkman> ;
|
|
24
|
+
?predicate ?label .
|
|
25
|
+
VALUES ?predicate { skos:prefLabel skos:altLabel }
|
|
26
|
+
FILTER(LANG(?label) = "nl")
|
|
27
|
+
?label <bif:contains> ?virtuosoQuery .
|
|
28
|
+
}
|
|
29
|
+
#LIMIT#
|
|
30
|
+
}
|
|
25
31
|
|
|
26
32
|
OPTIONAL {
|
|
27
33
|
?uri skos:prefLabel ?prefLabel .
|
|
@@ -56,4 +62,3 @@ WHERE {
|
|
|
56
62
|
}
|
|
57
63
|
OPTIONAL { ?uri skos:exactMatch ?exactMatch_uri } # Has no labels.
|
|
58
64
|
}
|
|
59
|
-
LIMIT 1000
|
|
@@ -16,14 +16,17 @@ CONSTRUCT {
|
|
|
16
16
|
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
17
17
|
}
|
|
18
18
|
WHERE {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
{
|
|
20
|
+
SELECT * WHERE {
|
|
21
|
+
?uri ?predicate ?label ;
|
|
22
|
+
# limit results to the narrower terms of the toplevel term 'materialen'
|
|
23
|
+
skos:broader+ <https://data.cultureelerfgoed.nl/term/id/cht/aa872ce6-a74c-4f81-96ec-6ee0e717f92a> .
|
|
24
|
+
VALUES ?predicate { skos:prefLabel skos:altLabel }
|
|
25
|
+
FILTER(LANG(?label) = "nl")
|
|
26
|
+
FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
|
|
27
|
+
}
|
|
28
|
+
#LIMIT#
|
|
29
|
+
}
|
|
27
30
|
OPTIONAL {
|
|
28
31
|
?uri skos:prefLabel ?prefLabel .
|
|
29
32
|
FILTER(LANG(?prefLabel) = "nl")
|
|
@@ -65,4 +68,3 @@ WHERE {
|
|
|
65
68
|
}
|
|
66
69
|
}
|
|
67
70
|
}
|
|
68
|
-
LIMIT 1000
|
|
@@ -16,14 +16,17 @@ CONSTRUCT {
|
|
|
16
16
|
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
17
17
|
}
|
|
18
18
|
WHERE {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
{
|
|
20
|
+
SELECT * WHERE {
|
|
21
|
+
?uri ?predicate ?label ;
|
|
22
|
+
# limit results to the narrower terms of the toplevel term 'stijlen en periodes'
|
|
23
|
+
skos:broader+ <https://data.cultureelerfgoed.nl/term/id/cht/63cca950-f545-467a-9d70-db3a2b21bba3> .
|
|
24
|
+
VALUES ?predicate { skos:prefLabel skos:altLabel }
|
|
25
|
+
FILTER(LANG(?label) = "nl")
|
|
26
|
+
FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
|
|
27
|
+
}
|
|
28
|
+
#LIMIT#
|
|
29
|
+
}
|
|
27
30
|
OPTIONAL {
|
|
28
31
|
?uri skos:prefLabel ?prefLabel .
|
|
29
32
|
FILTER(LANG(?prefLabel) = "nl")
|
|
@@ -65,4 +68,3 @@ WHERE {
|
|
|
65
68
|
}
|
|
66
69
|
}
|
|
67
70
|
}
|
|
68
|
-
LIMIT 1000
|
|
@@ -16,10 +16,15 @@ CONSTRUCT {
|
|
|
16
16
|
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
17
17
|
}
|
|
18
18
|
WHERE {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
{
|
|
20
|
+
SELECT * WHERE {
|
|
21
|
+
?uri ?predicate ?label .
|
|
22
|
+
VALUES ?predicate { skos:prefLabel skos:altLabel }
|
|
23
|
+
FILTER(LANG(?label) = "nl")
|
|
24
|
+
FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
|
|
25
|
+
}
|
|
26
|
+
#LIMIT#
|
|
27
|
+
}
|
|
23
28
|
OPTIONAL {
|
|
24
29
|
?uri skos:prefLabel ?prefLabel .
|
|
25
30
|
FILTER(LANG(?prefLabel) = "nl")
|
|
@@ -61,4 +66,3 @@ WHERE {
|
|
|
61
66
|
}
|
|
62
67
|
}
|
|
63
68
|
}
|
|
64
|
-
LIMIT 1000
|
|
@@ -15,14 +15,19 @@ CONSTRUCT {
|
|
|
15
15
|
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
16
16
|
}
|
|
17
17
|
WHERE {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
{
|
|
19
|
+
SELECT * WHERE {
|
|
20
|
+
?uri a eurovoc:ThesaurusConcept ;
|
|
21
|
+
?predicate ?label .
|
|
22
|
+
VALUES ?predicate { skos:prefLabel skos:altLabel }
|
|
23
|
+
FILTER(LANG(?label) = "nl")
|
|
24
|
+
# The http://publications.europa.eu/webapi/rdf/sparql endpoint
|
|
25
|
+
# is based on Virtuoso but it looks like fulltext search support
|
|
26
|
+
# is not enabled therefore fallback to the standard CONTAINS function
|
|
27
|
+
FILTER (CONTAINS(LCASE(STR(?label)), LCASE(?query)))
|
|
28
|
+
}
|
|
29
|
+
#LIMIT#
|
|
30
|
+
}
|
|
26
31
|
OPTIONAL {
|
|
27
32
|
?uri skos:prefLabel ?prefLabel .
|
|
28
33
|
FILTER(LANG(?prefLabel) = "nl")
|
|
@@ -52,4 +57,3 @@ WHERE {
|
|
|
52
57
|
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
|
53
58
|
}
|
|
54
59
|
}
|
|
55
|
-
LIMIT 1000
|
|
@@ -13,17 +13,24 @@ CONSTRUCT {
|
|
|
13
13
|
?broader skos:prefLabel ?broader_prefLabel .
|
|
14
14
|
}
|
|
15
15
|
WHERE {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
{
|
|
17
|
+
SELECT ?uri (MAX(?sc) as ?score) WHERE {
|
|
18
|
+
(?uri ?sc) text:query (gn:name gn:alternateName ?query) .
|
|
19
|
+
?uri a gn:Feature ;
|
|
20
|
+
gn:featureClass ?featureClass ;
|
|
21
|
+
# Limit results to places (P), localities (L), administrative levels (A) and water surfaces (H).
|
|
22
|
+
VALUES ?featureClass { gn:P gn:L gn:A gn:H }
|
|
23
|
+
}
|
|
24
|
+
GROUP BY ?uri
|
|
25
|
+
ORDER BY DESC(?score)
|
|
26
|
+
#LIMIT#
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
?uri gn:name ?prefLabel ;
|
|
20
30
|
gn:countryCode ?countryCode .
|
|
21
31
|
|
|
22
32
|
BIND(CONCAT(?prefLabel," (",UCASE(?countryCode),")") as ?prefLabel_ext)
|
|
23
33
|
|
|
24
|
-
# Limit results to places (P), localities (L), administrative levels (A) and water surfaces (H).
|
|
25
|
-
VALUES ?featureClass { gn:P gn:L gn:A gn:H }
|
|
26
|
-
|
|
27
34
|
OPTIONAL {
|
|
28
35
|
?uri gn:alternateName ?altLabel .
|
|
29
36
|
FILTER(?altLabel != "")
|
|
@@ -41,4 +48,3 @@ WHERE {
|
|
|
41
48
|
?uri gn:featureCode/gn:name ?scopeNote .
|
|
42
49
|
}
|
|
43
50
|
}
|
|
44
|
-
LIMIT 1000
|
|
@@ -7,6 +7,7 @@ PREFIX luc-index: <http://www.ontotext.com/connectors/lucene/instance#>
|
|
|
7
7
|
PREFIX omeka: <http://omeka.org/s/vocabs/o#>
|
|
8
8
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
9
9
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
10
|
+
PREFIX vrank: <http://purl.org/voc/vrank#>
|
|
10
11
|
|
|
11
12
|
CONSTRUCT {
|
|
12
13
|
?piduri a skos:Concept ;
|
|
@@ -14,19 +15,21 @@ CONSTRUCT {
|
|
|
14
15
|
skos:altLabel ?altLabel;
|
|
15
16
|
skos:scopeNote ?scopeNote ;
|
|
16
17
|
skos:related ?related_uri ;
|
|
17
|
-
skos:exactMatch ?exactMatch_uri
|
|
18
|
+
skos:exactMatch ?exactMatch_uri ;
|
|
19
|
+
vrank:simpleRank ?score .
|
|
18
20
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
19
21
|
?exactMatch_uri skos:prefLabel ?exactMatch_label .
|
|
20
22
|
} WHERE {
|
|
21
23
|
?search a luc-index:straten_index ;
|
|
22
24
|
luc:query ?query ;
|
|
25
|
+
luc:limit ?limit ;
|
|
23
26
|
luc:entities ?uri .
|
|
24
27
|
|
|
25
28
|
?uri owl:sameAs ?piduri
|
|
26
29
|
FILTER(STRSTARTS(STR(?piduri), "https://n2t.net"))
|
|
27
30
|
|
|
28
|
-
?uri sdo:name ?prefLabel
|
|
29
|
-
|
|
31
|
+
?uri sdo:name ?prefLabel .
|
|
32
|
+
?uri luc:score ?score .
|
|
30
33
|
|
|
31
34
|
OPTIONAL {
|
|
32
35
|
?uri gtm:genoemdNaar ?genoemdNaar .
|
|
@@ -52,4 +55,4 @@ CONSTRUCT {
|
|
|
52
55
|
?uri rdfs:seeAlso ?exactMatch_uri .
|
|
53
56
|
?exactMatch_uri omeka:label ?exactMatch_label .
|
|
54
57
|
}
|
|
55
|
-
}
|
|
58
|
+
}
|
|
@@ -20,10 +20,16 @@ CONSTRUCT {
|
|
|
20
20
|
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
21
21
|
}
|
|
22
22
|
WHERE {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
{
|
|
24
|
+
SELECT ?uri (MAX(?sc) as ?score) {
|
|
25
|
+
(?uri ?sc) text:query (skos:prefLabel skos:altLabel skos:hiddenLabel ?query) .
|
|
26
|
+
?uri skos:inScheme ?datasetUri ;
|
|
27
|
+
bengthes:status ?status .
|
|
28
|
+
FILTER(?status IN ('approved', 'candidate'))
|
|
29
|
+
}
|
|
30
|
+
GROUP BY ?uri
|
|
31
|
+
#LIMIT#
|
|
32
|
+
}
|
|
27
33
|
|
|
28
34
|
OPTIONAL {
|
|
29
35
|
?uri skos:prefLabel ?prefLabel .
|
|
@@ -62,5 +68,3 @@ WHERE {
|
|
|
62
68
|
FILTER(LANG(?exactMatch_prefLabel) = "nl")
|
|
63
69
|
}
|
|
64
70
|
}
|
|
65
|
-
ORDER BY DESC(?score)
|
|
66
|
-
LIMIT 10
|
|
@@ -12,10 +12,14 @@ CONSTRUCT {
|
|
|
12
12
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
13
13
|
}
|
|
14
14
|
WHERE {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
{
|
|
16
|
+
SELECT * WHERE {
|
|
17
|
+
?uri a skos:Concept ;
|
|
18
|
+
skos:prefLabel ?prefLabel .
|
|
19
|
+
FILTER(CONTAINS(LCASE(?prefLabel), LCASE(?query)))
|
|
20
|
+
}
|
|
21
|
+
#LIMIT#
|
|
22
|
+
}
|
|
19
23
|
|
|
20
24
|
OPTIONAL {
|
|
21
25
|
?uri skos:broader ?broader_uri .
|
|
@@ -30,4 +34,3 @@ WHERE {
|
|
|
30
34
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
31
35
|
}
|
|
32
36
|
}
|
|
33
|
-
LIMIT 1000
|
|
@@ -13,14 +13,19 @@ CONSTRUCT {
|
|
|
13
13
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
14
14
|
}
|
|
15
15
|
WHERE {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
{
|
|
17
|
+
SELECT * WHERE {
|
|
18
|
+
?uri ?predicate ?label .
|
|
19
|
+
# Exclude terms from the 'Technische Lijsten', a concept scheme with terms that should only be used by NOB
|
|
20
|
+
FILTER NOT EXISTS {
|
|
21
|
+
?uri skos:inScheme <https://data.indischherinneringscentrum.nl/ied/100616>
|
|
22
|
+
}
|
|
23
|
+
VALUES ?predicate { skos:prefLabel skos:altLabel }
|
|
24
|
+
FILTER(LANG(?label) = "nl")
|
|
25
|
+
FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
|
|
26
|
+
}
|
|
27
|
+
#LIMIT#
|
|
28
|
+
}
|
|
24
29
|
OPTIONAL {
|
|
25
30
|
?uri skos:prefLabel ?prefLabel .
|
|
26
31
|
FILTER(LANG(?prefLabel) = "nl" )
|
|
@@ -51,4 +56,3 @@ WHERE {
|
|
|
51
56
|
?uri skos:exactMatch ?exactMatch_uri . # Has no labels.
|
|
52
57
|
}
|
|
53
58
|
}
|
|
54
|
-
LIMIT 1000
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
PREFIX bif: <http://www.openlinksw.com/schemas/bif#>
|
|
1
2
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
2
3
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
3
4
|
PREFIX rdaw: <http://rdaregistry.info/Elements/w/>
|
|
@@ -16,12 +17,17 @@ CONSTRUCT {
|
|
|
16
17
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
17
18
|
}
|
|
18
19
|
WHERE {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
{
|
|
21
|
+
SELECT ?uri WHERE {
|
|
22
|
+
?uri a <http://rdaregistry.info/Elements/c/C10001> ;
|
|
23
|
+
?predicate ?label .
|
|
24
|
+
VALUES ?predicate { rdfs:label rdaw:P10086 rdaw:P10223 rdaw:P10333 rdaw:P10335 rdaw:P10047 }
|
|
25
|
+
?label <bif:contains> ?virtuosoQuery .
|
|
26
|
+
}
|
|
27
|
+
#LIMIT#
|
|
28
|
+
}
|
|
22
29
|
|
|
23
|
-
?uri
|
|
24
|
-
rdfs:label ?prefLabel .
|
|
30
|
+
?uri rdfs:label ?prefLabel .
|
|
25
31
|
|
|
26
32
|
OPTIONAL { ?uri rdaw:P10086 ?altLabel } # Varianttitel
|
|
27
33
|
OPTIONAL { ?uri rdaw:P10219 ?eerste_datum }
|
|
@@ -46,4 +52,4 @@ WHERE {
|
|
|
46
52
|
) AS ?scopeNote
|
|
47
53
|
)
|
|
48
54
|
}
|
|
49
|
-
|
|
55
|
+
|
|
@@ -12,11 +12,16 @@ CONSTRUCT {
|
|
|
12
12
|
?broader_uri skos:prefLabel ?broader_schema_name .
|
|
13
13
|
}
|
|
14
14
|
WHERE {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
{
|
|
16
|
+
SELECT DISTINCT ?uri WHERE {
|
|
17
|
+
?uri a skos:Concept ;
|
|
18
|
+
som:BASIS "1" .
|
|
19
|
+
?uri ?predicate ?label .
|
|
20
|
+
VALUES ?predicate { schema:name schema:keywords }
|
|
21
|
+
?label <bif:contains> ?virtuosoQuery .
|
|
22
|
+
}
|
|
23
|
+
#LIMIT#
|
|
24
|
+
}
|
|
20
25
|
|
|
21
26
|
OPTIONAL {
|
|
22
27
|
?uri schema:name ?schema_name .
|
|
@@ -41,7 +46,5 @@ WHERE {
|
|
|
41
46
|
) AS ?scopeNote
|
|
42
47
|
)
|
|
43
48
|
|
|
44
|
-
?uri som:BASIS "1" .
|
|
45
49
|
OPTIONAL { ?uri skos:exactMatch ?exactMatch_uri } # Has no labels.
|
|
46
50
|
}
|
|
47
|
-
LIMIT 1000
|
|
@@ -29,12 +29,17 @@ CONSTRUCT {
|
|
|
29
29
|
skos:exactMatch ?exactMatch_uri .
|
|
30
30
|
}
|
|
31
31
|
WHERE {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
{
|
|
33
|
+
SELECT DISTINCT ?uri WHERE {
|
|
34
|
+
?uri a schema:Person .
|
|
35
|
+
# Require the presence of this property for quality purposes
|
|
36
|
+
?uri som:NDEREC ?nderec ;
|
|
37
|
+
?predicate ?label .
|
|
38
|
+
VALUES ?predicate { schema:name schema:alternateName }
|
|
39
|
+
?label <bif:contains> ?virtuosoQuery .
|
|
40
|
+
}
|
|
41
|
+
#LIMIT#
|
|
42
|
+
}
|
|
38
43
|
|
|
39
44
|
OPTIONAL { ?uri schema:name ?schema_name }
|
|
40
45
|
OPTIONAL { ?uri schema:alternateName ?schema_alternateName }
|
|
@@ -63,4 +68,4 @@ WHERE {
|
|
|
63
68
|
BIND(CONCAT(?name, IF(?dates != "", CONCAT(" (", ?dates, ")"), "")) AS ?prefLabel)
|
|
64
69
|
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
65
70
|
}
|
|
66
|
-
|
|
71
|
+
|
|
@@ -14,9 +14,16 @@ CONSTRUCT {
|
|
|
14
14
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
15
15
|
}
|
|
16
16
|
WHERE {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
{
|
|
18
|
+
SELECT DISTINCT ?uri WHERE {
|
|
19
|
+
?uri a muziekweb:Genre ;
|
|
20
|
+
rdfs:label ?rdfs_label .
|
|
21
|
+
?rdfs_label <bif:contains> ?virtuosoQuery .
|
|
22
|
+
}
|
|
23
|
+
#LIMIT#
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
?uri rdfs:label ?rdfs_label .
|
|
20
27
|
|
|
21
28
|
OPTIONAL {
|
|
22
29
|
?uri skos:broader ?broader_uri .
|
|
@@ -29,4 +36,4 @@ WHERE {
|
|
|
29
36
|
OPTIONAL { ?uri rdfs:comment ?rdfs_comment }
|
|
30
37
|
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
31
38
|
}
|
|
32
|
-
|
|
39
|
+
|
|
@@ -12,10 +12,15 @@ CONSTRUCT {
|
|
|
12
12
|
skos:exactMatch ?exactMatch_uri .
|
|
13
13
|
}
|
|
14
14
|
WHERE {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
{
|
|
16
|
+
SELECT DISTINCT ?uri WHERE {
|
|
17
|
+
?uri a schema:MusicGroup ;
|
|
18
|
+
?predicate ?label .
|
|
19
|
+
VALUES ?predicate { skos:prefLabel skos:altLabel }
|
|
20
|
+
?label <bif:contains> ?virtuosoQuery .
|
|
21
|
+
}
|
|
22
|
+
#LIMIT#
|
|
23
|
+
}
|
|
19
24
|
|
|
20
25
|
OPTIONAL { ?uri skos:prefLabel ?prefLabel }
|
|
21
26
|
OPTIONAL { ?uri skos:altLabel ?altLabel }
|
|
@@ -23,4 +28,3 @@ WHERE {
|
|
|
23
28
|
OPTIONAL { ?uri schema:description ?schema_description }
|
|
24
29
|
OPTIONAL { ?uri owl:sameAs ?exactMatch_uri } # Has no labels.
|
|
25
30
|
}
|
|
26
|
-
LIMIT 1000
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#PREFIX bif: <http://www.openlinksw.com/schemas/bif#>
|
|
1
2
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
2
3
|
|
|
3
4
|
CONSTRUCT {
|
|
@@ -13,9 +14,14 @@ CONSTRUCT {
|
|
|
13
14
|
?narrower_uri skos:prefLabel ?narrower_prefLabel .
|
|
14
15
|
}
|
|
15
16
|
WHERE {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
{
|
|
18
|
+
SELECT DISTINCT ?uri {
|
|
19
|
+
?uri ?predicate ?label .
|
|
20
|
+
VALUES ?predicate { skos:prefLabel skos:altLabel }
|
|
21
|
+
?label <bif:contains> ?virtuosoQuery
|
|
22
|
+
}
|
|
23
|
+
#LIMIT#
|
|
24
|
+
}
|
|
19
25
|
|
|
20
26
|
OPTIONAL {
|
|
21
27
|
?uri skos:prefLabel ?prefLabel .
|
|
@@ -41,4 +47,3 @@ WHERE {
|
|
|
41
47
|
?uri skos:exactMatch ?exactMatch_uri . # Has no labels.
|
|
42
48
|
}
|
|
43
49
|
}
|
|
44
|
-
LIMIT 1000
|
|
@@ -13,10 +13,15 @@ CONSTRUCT {
|
|
|
13
13
|
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
14
14
|
}
|
|
15
15
|
WHERE {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
{
|
|
17
|
+
SELECT DISTINCT ?uri WHERE {
|
|
18
|
+
?uri schema:mainEntityOfPage/schema:isPartOf <http://data.bibliotheken.nl/id/dataset/persons> ;
|
|
19
|
+
?predicate ?label .
|
|
20
|
+
VALUES ?predicate { rdfs:label schema:name schema:alternateName }
|
|
21
|
+
?label <bif:contains> ?virtuosoQuery .
|
|
22
|
+
}
|
|
23
|
+
#LIMIT#
|
|
24
|
+
}
|
|
20
25
|
|
|
21
26
|
OPTIONAL { ?uri rdfs:label ?rdfs_label }
|
|
22
27
|
OPTIONAL { ?uri schema:name ?schema_name }
|
|
@@ -30,4 +35,3 @@ WHERE {
|
|
|
30
35
|
}
|
|
31
36
|
}
|
|
32
37
|
}
|
|
33
|
-
LIMIT 1000
|
|
@@ -16,12 +16,17 @@ CONSTRUCT {
|
|
|
16
16
|
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
17
17
|
}
|
|
18
18
|
WHERE {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
{
|
|
20
|
+
SELECT DISTINCT ?uri WHERE {
|
|
21
|
+
?uri a skos:Concept ;
|
|
22
|
+
skos:inScheme ?datasetUri ;
|
|
23
|
+
?predicate ?label .
|
|
24
|
+
VALUES ?predicate { skos:prefLabel skos:altLabel }
|
|
25
|
+
FILTER(LANG(?label) = "nl")
|
|
26
|
+
FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
|
|
27
|
+
}
|
|
28
|
+
#LIMIT#
|
|
29
|
+
}
|
|
25
30
|
OPTIONAL {
|
|
26
31
|
?uri skos:prefLabel ?prefLabel .
|
|
27
32
|
FILTER(LANG(?prefLabel) = "nl")
|
|
@@ -65,4 +70,4 @@ WHERE {
|
|
|
65
70
|
}
|
|
66
71
|
}
|
|
67
72
|
}
|
|
68
|
-
|
|
73
|
+
|
|
@@ -16,11 +16,16 @@ CONSTRUCT {
|
|
|
16
16
|
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
|
|
17
17
|
}
|
|
18
18
|
WHERE {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
{
|
|
20
|
+
SELECT DISTINCT ?uri WHERE {
|
|
21
|
+
?uri a skos:Concept ;
|
|
22
|
+
?predicate ?label .
|
|
23
|
+
VALUES ?predicate { skos:prefLabel skos:altLabel }
|
|
24
|
+
FILTER(LANG(?label) = "nl")
|
|
25
|
+
FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
|
|
26
|
+
}
|
|
27
|
+
#LIMIT#
|
|
28
|
+
}
|
|
24
29
|
OPTIONAL {
|
|
25
30
|
?uri skos:prefLabel ?prefLabel .
|
|
26
31
|
FILTER(LANG(?prefLabel) = "nl")
|
|
@@ -64,4 +69,3 @@ WHERE {
|
|
|
64
69
|
}
|
|
65
70
|
}
|
|
66
71
|
}
|
|
67
|
-
LIMIT 1000
|
|
@@ -14,9 +14,14 @@ CONSTRUCT {
|
|
|
14
14
|
rdfs:seeAlso ?monument_url .
|
|
15
15
|
}
|
|
16
16
|
WHERE {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
{
|
|
18
|
+
SELECT ?uri WHERE {
|
|
19
|
+
?uri ?predicate ?label .
|
|
20
|
+
FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
|
|
21
|
+
VALUES ?predicate { schema:addressLocality schema:identifier schema:address schema:name schema:addressRegion }
|
|
22
|
+
}
|
|
23
|
+
#LIMIT#
|
|
24
|
+
}
|
|
20
25
|
|
|
21
26
|
?uri schema:identifier ?rijksmonumentnummer ;
|
|
22
27
|
schema:category ?monumentaard ;
|
|
@@ -56,4 +61,3 @@ WHERE {
|
|
|
56
61
|
) AS ?adres_lang
|
|
57
62
|
)
|
|
58
63
|
}
|
|
59
|
-
LIMIT 200
|
|
@@ -10,17 +10,17 @@ CONSTRUCT {
|
|
|
10
10
|
rdfs:seeAlso ?seeAlso .
|
|
11
11
|
}
|
|
12
12
|
WHERE {
|
|
13
|
-
?uri ?predicate ?label .
|
|
14
|
-
?label <bif:contains> ?virtuosoQuery .
|
|
15
|
-
VALUES ?predicate { schema:name schema:alternateName }
|
|
16
|
-
|
|
17
13
|
{
|
|
18
|
-
SELECT ?uri
|
|
14
|
+
SELECT DISTINCT ?uri
|
|
19
15
|
(GROUP_CONCAT(DISTINCT ?schema_description; separator="; ") as ?descriptions)
|
|
20
16
|
(GROUP_CONCAT(DISTINCT ?birthPlace; separator="/") as ?birthPlaces)
|
|
21
17
|
(GROUP_CONCAT(DISTINCT ?deathPlace; separator="/") as ?deathPlaces)
|
|
22
18
|
(GROUP_CONCAT(DISTINCT ?additionalType; separator=", ") as ?additionalTypes)
|
|
23
19
|
WHERE {
|
|
20
|
+
?uri ?predicate ?label .
|
|
21
|
+
?label <bif:contains> ?virtuosoQuery .
|
|
22
|
+
VALUES ?predicate { schema:name schema:alternateName }
|
|
23
|
+
|
|
24
24
|
?uri a ?type .
|
|
25
25
|
VALUES ?type { schema:Person schema:Organization }
|
|
26
26
|
|
|
@@ -32,7 +32,8 @@ WHERE {
|
|
|
32
32
|
OPTIONAL { ?uri schema:additionalType ?additionalType .
|
|
33
33
|
FILTER(langMatches(lang(?additionalType), "nl"))}
|
|
34
34
|
|
|
35
|
-
}
|
|
35
|
+
}
|
|
36
|
+
#LIMIT#
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
OPTIONAL { ?uri schema:name ?prefLabel . }
|
|
@@ -62,4 +63,3 @@ WHERE {
|
|
|
62
63
|
BIND(STRAFTER(STR(?uri), "https://data.rkd.nl/artists/") AS ?identifier)
|
|
63
64
|
BIND(IRI(CONCAT("https://rkd.nl/explore/artists/", ?identifier)) AS ?seeAlso)
|
|
64
65
|
}
|
|
65
|
-
LIMIT 1000
|