@netwerk-digitaal-erfgoed/network-of-terms-catalog 6.0.3 → 6.1.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.
@@ -0,0 +1,51 @@
1
+ {
2
+ "@context": "https://schema.org/docs/jsonldcontext.jsonld",
3
+ "@id": "https://www.goudatijdmachine.nl/id/straten",
4
+ "@type": "Dataset",
5
+ "name": [
6
+ {
7
+ "@language": "nl",
8
+ "@value": "Goudse straten"
9
+ }
10
+ ],
11
+ "creator": [
12
+ {
13
+ "@id": "https://www.goudatijdmachine.nl",
14
+ "@type": "http://schema.org/Organization",
15
+ "name": "Gouda Tijdmachine",
16
+ "alternateName": "GTM"
17
+ }
18
+ ],
19
+ "url": [
20
+ "https://n2t.net/ark:/60537/"
21
+ ],
22
+ "distribution": [
23
+ {
24
+ "@id": "https://www.goudatijdmachine.nl/id/straten#streets",
25
+ "@type": "DataDownload",
26
+ "contentUrl": "https://www.goudatijdmachine.nl/sparql/repositories/gtm",
27
+ "encodingFormat": "application/sparql-query",
28
+ "potentialAction": [
29
+ {
30
+ "@type": "SearchAction",
31
+ "query": "file://catalog/queries/search/goudatijdmachine-straten.rq"
32
+ },
33
+ {
34
+ "@type": "FindAction",
35
+ "query": "file://catalog/queries/lookup/goudatijdmachine-straten.rq"
36
+ },
37
+ {
38
+ "@type": "Action",
39
+ "target": {
40
+ "@type": "EntryPoint",
41
+ "actionApplication": {
42
+ "@id": "https://reconciliation-api.github.io/specs/latest/",
43
+ "@type": "SoftwareApplication"
44
+ },
45
+ "urlTemplate": "https://termennetwerk-api.netwerkdigitaalerfgoed.nl/reconcile/{distribution}"
46
+ }
47
+ }
48
+ ]
49
+ }
50
+ ]
51
+ }
@@ -0,0 +1,37 @@
1
+ PREFIX dcterms: <http://purl.org/dc/terms/>
2
+ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
3
+ PREFIX gtm: <https://www.goudatijdmachine.nl/def#>
4
+ PREFIX schema: <https://schema.org/>
5
+ PREFIX hg: <http://rdf.histograph.io/>
6
+
7
+ CONSTRUCT {
8
+ ?uri a skos:Concept ;
9
+ skos:prefLabel ?prefLabel ;
10
+ skos:altLabel ?altLabel ;
11
+ skos:scopeNote ?scopeNote ;
12
+ skos:related ?related_uri .
13
+ ?related_uri skos:prefLabel ?related_prefLabel .
14
+ } WHERE {
15
+ # For example:
16
+ # Vuilsteeg: <https://n2t.net/ark:/60537/bIwfWk>
17
+ # Kapelstraat: <https://n2t.net/ark:/60537/b4ApaO>
18
+ VALUES ?uri { ?uris }
19
+ ?uri a gtm:Straat ;
20
+ dcterms:identifier ?identifier ;
21
+ skos:prefLabel ?prefLabel .
22
+ FILTER (CONTAINS(STR(?uri), "ark:"))
23
+ OPTIONAL {
24
+ ?uri skos:altLabel ?altLabel
25
+ }
26
+ OPTIONAL {
27
+ ?uri hg:liesIn/schema:sameAs <http://sws.geonames.org/2755419/> # Gouda
28
+ BIND("Straat in Gouda" AS ?scopeNote)
29
+ }
30
+ OPTIONAL {
31
+ ?uri hg:absorbedBy|hg:absorbed ?related_uri .
32
+ ?related_uri a gtm:Straat ;
33
+ skos:prefLabel ?related_prefLabel .
34
+ FILTER (CONTAINS(STR(?related_uri), "ark:") && ?uri != ?related_uri )
35
+ }
36
+ }
37
+ LIMIT 100
@@ -0,0 +1,25 @@
1
+ PREFIX dcterms: <http://purl.org/dc/terms/>
2
+ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
3
+ PREFIX gtm: <https://www.goudatijdmachine.nl/def#>
4
+ PREFIX schema: <https://schema.org/>
5
+ PREFIX hg: <http://rdf.histograph.io/>
6
+
7
+ CONSTRUCT {
8
+ ?uri a skos:Concept ;
9
+ skos:prefLabel ?prefLabel ;
10
+ skos:altLabel ?altLabel;
11
+ skos:scopeNote ?scopeNote .
12
+ }
13
+ WHERE {
14
+ ?uri a gtm:Straat ;
15
+ dcterms:identifier ?identifier ;
16
+ skos:prefLabel ?prefLabel .
17
+ OPTIONAL { ?uri skos:altLabel ?altLabel . }
18
+ OPTIONAL {
19
+ ?uri hg:liesIn/schema:sameAs <http://sws.geonames.org/2755419/> # Gouda
20
+ BIND("Straat in Gouda" AS ?scopeNote)
21
+ }
22
+ FILTER (CONTAINS(STR(?uri), "ark:"))
23
+ FILTER (CONTAINS(LCASE(?prefLabel),?query) || CONTAINS(LCASE(?altLabel),?query) )
24
+ }
25
+ LIMIT 100
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netwerk-digitaal-erfgoed/network-of-terms-catalog",
3
- "version": "6.0.3",
3
+ "version": "6.1.0",
4
4
  "type": "module",
5
5
  "description": "Catalog of Network of Terms datasets",
6
6
  "repository": {