@netwerk-digitaal-erfgoed/network-of-terms-catalog 6.1.0 → 6.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.
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@context": "https://schema.org/docs/jsonldcontext.jsonld",
|
|
3
|
+
"@id": "https://data.brabantcloud.nl/gebouwen",
|
|
4
|
+
"@type": "Dataset",
|
|
5
|
+
"name": [
|
|
6
|
+
{
|
|
7
|
+
"@language": "nl",
|
|
8
|
+
"@value": "Brabantse gebouwen"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"creator": [
|
|
12
|
+
{
|
|
13
|
+
"@id": "https://www.erfgoedbrabant.nl"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"url": [
|
|
17
|
+
"https://data.brabantcloud.nl/id/ark:15052/"
|
|
18
|
+
],
|
|
19
|
+
"distribution": [
|
|
20
|
+
{
|
|
21
|
+
"@id": "https://data.brabantcloud.nl/gebouwen/query/",
|
|
22
|
+
"@type": "DataDownload",
|
|
23
|
+
"contentUrl": "https://data.brabantcloud.nl/gebouwen/query/",
|
|
24
|
+
"encodingFormat": "application/sparql-query",
|
|
25
|
+
"potentialAction": [
|
|
26
|
+
{
|
|
27
|
+
"@type": "SearchAction",
|
|
28
|
+
"query": "file://catalog/queries/search/brabantse-gebouwen.rq"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"@type": "FindAction",
|
|
32
|
+
"query": "file://catalog/queries/lookup/brabantse-gebouwen.rq"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"@type": "Action",
|
|
36
|
+
"target": {
|
|
37
|
+
"@type": "EntryPoint",
|
|
38
|
+
"actionApplication": {
|
|
39
|
+
"@id": "https://reconciliation-api.github.io/specs/latest/",
|
|
40
|
+
"@type": "SoftwareApplication"
|
|
41
|
+
},
|
|
42
|
+
"urlTemplate": "https://termennetwerk-api.netwerkdigitaalerfgoed.nl/reconcile/{distribution}"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -72,6 +72,12 @@
|
|
|
72
72
|
"@type": "Organization",
|
|
73
73
|
"name": "Stichting AdamNet",
|
|
74
74
|
"alternateName": "AdamNet"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"@id": "https://www.erfgoedbrabant.nl",
|
|
78
|
+
"@type": "Organization",
|
|
79
|
+
"name": "Erfgoed Brabant",
|
|
80
|
+
"alternateName": "Erfgoed Brabant"
|
|
75
81
|
}
|
|
76
82
|
]
|
|
77
83
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
PREFIX schema: <https://schema.org/>
|
|
2
|
+
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
3
|
+
|
|
4
|
+
CONSTRUCT {
|
|
5
|
+
?uri a skos:Concept ;
|
|
6
|
+
skos:prefLabel ?schema_name ;
|
|
7
|
+
skos:altLabel ?schema_alternateName ;
|
|
8
|
+
skos:scopeNote ?schema_description,
|
|
9
|
+
?buildingTypeScopeNote,
|
|
10
|
+
?addressScopeNote .
|
|
11
|
+
}
|
|
12
|
+
WHERE {
|
|
13
|
+
# For example:
|
|
14
|
+
# Huize Boschlust: <https://data.brabantcloud.nl/id/ark:15052/62dd4e81-b7d6-4fc2-9473-5f4b17226105>
|
|
15
|
+
# Mariaklooster: <https://data.brabantcloud.nl/id/ark:15052/0963f6bb-4b84-4e37-a087-31bbabfda4bb>
|
|
16
|
+
VALUES ?uri { ?uris }
|
|
17
|
+
|
|
18
|
+
?uri a schema:LandmarksOrHistoricalBuildings .
|
|
19
|
+
OPTIONAL { ?uri schema:name ?schema_name }
|
|
20
|
+
OPTIONAL { ?uri schema:alternateName ?schema_alternateName }
|
|
21
|
+
OPTIONAL { ?uri schema:description ?schema_description }
|
|
22
|
+
OPTIONAL {
|
|
23
|
+
?uri schema:additionalType <http://vocab.getty.edu/aat/300000641> .
|
|
24
|
+
BIND("Type: kloostergebouw" AS ?buildingTypeScopeNote)
|
|
25
|
+
}
|
|
26
|
+
OPTIONAL {
|
|
27
|
+
?uri schema:address ?address .
|
|
28
|
+
OPTIONAL { ?address schema:streetAddress ?streetAddress }
|
|
29
|
+
OPTIONAL { ?address schema:addressLocality ?addressLocality }
|
|
30
|
+
OPTIONAL { ?address schema:addressRegion ?addressRegion }
|
|
31
|
+
BIND(
|
|
32
|
+
COALESCE(
|
|
33
|
+
IF(?streetAddress && ?addressLocality && ?addressRegion, CONCAT("Adres: ", ?streetAddress, ", ", ?addressLocality, ", ", ?addressRegion), ?noAddress),
|
|
34
|
+
IF(?streetAddress && ?addressLocality, CONCAT("Adres: ", ?streetAddress, ", ", ?addressLocality), ?noAddress),
|
|
35
|
+
IF(?streetAddress, CONCAT("Adres: ", ?streetAddress), ?noAddress)
|
|
36
|
+
) AS ?addressScopeNote
|
|
37
|
+
)
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
LIMIT 1000
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
PREFIX schema: <https://schema.org/>
|
|
2
|
+
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
3
|
+
|
|
4
|
+
CONSTRUCT {
|
|
5
|
+
?uri a skos:Concept ;
|
|
6
|
+
skos:prefLabel ?schema_name ;
|
|
7
|
+
skos:altLabel ?schema_alternateName ;
|
|
8
|
+
skos:scopeNote ?schema_description,
|
|
9
|
+
?buildingTypeScopeNote,
|
|
10
|
+
?addressScopeNote .
|
|
11
|
+
}
|
|
12
|
+
WHERE {
|
|
13
|
+
?uri a schema:LandmarksOrHistoricalBuildings .
|
|
14
|
+
?uri ?predicate ?label .
|
|
15
|
+
VALUES ?predicate { schema:name schema:alternateName }
|
|
16
|
+
FILTER(CONTAINS(LCASE(?label), LCASE(?query)))
|
|
17
|
+
OPTIONAL { ?uri schema:name ?schema_name }
|
|
18
|
+
OPTIONAL { ?uri schema:alternateName ?schema_alternateName }
|
|
19
|
+
OPTIONAL { ?uri schema:description ?schema_description }
|
|
20
|
+
OPTIONAL {
|
|
21
|
+
?uri schema:additionalType <http://vocab.getty.edu/aat/300000641> .
|
|
22
|
+
BIND("Type: kloostergebouw" AS ?buildingTypeScopeNote)
|
|
23
|
+
}
|
|
24
|
+
OPTIONAL {
|
|
25
|
+
?uri schema:address ?address .
|
|
26
|
+
OPTIONAL { ?address schema:streetAddress ?streetAddress }
|
|
27
|
+
OPTIONAL { ?address schema:addressLocality ?addressLocality }
|
|
28
|
+
OPTIONAL { ?address schema:addressRegion ?addressRegion }
|
|
29
|
+
BIND(
|
|
30
|
+
COALESCE(
|
|
31
|
+
IF(?streetAddress && ?addressLocality && ?addressRegion, CONCAT("Adres: ", ?streetAddress, ", ", ?addressLocality, ", ", ?addressRegion), ?noAddress),
|
|
32
|
+
IF(?streetAddress && ?addressLocality, CONCAT("Adres: ", ?streetAddress, ", ", ?addressLocality), ?noAddress),
|
|
33
|
+
IF(?streetAddress, CONCAT("Adres: ", ?streetAddress), ?noAddress)
|
|
34
|
+
) AS ?addressScopeNote
|
|
35
|
+
)
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
LIMIT 1000
|