-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added 3 new configurations for the heritageflix. * Add names * Remove unused images * Move * Deploy new instances --------- Co-authored-by: David de Boer <[email protected]>
- Loading branch information
Showing
10 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name": "Modemuze: materiaal" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"baseUrl": "https://api.data.netwerkdigitaalerfgoed.nl/datasets/modemuze/kg-v1/services/kg-v1/sparql", | ||
"categoryQuery": "prefix xsd: <http://www.w3.org/2001/XMLSchema#> prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix schema: <https://schema.org/> prefix skos: <http://www.w3.org/2004/02/skos/core#> select ?id ?name (count(?heritageObject) as ?numberOfHeritageObjects) where { ?heritageObject a schema:CreativeWork ; schema:dateCreated ?startJaar ; schema:material/skos:broader ?id . ?id skos:prefLabel ?name . filter(lang(?name) = 'nl') } order by ?name LIMIT _LIMIT_", | ||
"itemsQuery": "prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix schema: <https://schema.org/> prefix xsd: <http://www.w3.org/2001/XMLSchema#> prefix skos: <http://www.w3.org/2004/02/skos/core#> select distinct * where { select ?heritageObject ?name ?description ?imageURI ?imageLicenseURI ?imageLicenseName ?materialName ?publisherURI ?publisherName where { bind(<_CATEGORYID_> as ?materialURI) ?heritageObject a schema:CreativeWork ; schema:name ?name ; schema:description ?description ; schema:material/skos:broader ?materialURI ; schema:material/skos:broader/skos:prefLabel ?materialName ; schema:image ?image ; schema:image/schema:contentUrl ?imageURI ; schema:image/schema:license ?imageLicenseURI ; schema:publisher ?publisherURI ; schema:publisher/schema:name ?publisherName . filter(lang(?materialName) = 'nl') BIND('license unknown' AS ?imageLicenseName) } } order by ?materialName LIMIT _LIMIT_ OFFSET _OFFSET_" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name": "Modemuze: stijlperiodes" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"baseUrl": "https://api.data.netwerkdigitaalerfgoed.nl/datasets/modemuze/kg-v1/services/kg-v1/sparql", | ||
"categoryQuery": "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX schema: <https://schema.org/> SELECT Distinct ?id ?startDate (COUNT(?heritageObject) AS ?numberOfHeritageObjects) (?category AS ?name) WHERE { ?heritageObject a schema:CreativeWork ; schema:dateCreated ?startYear . BIND(xsd:integer(SUBSTR(STR(REPLACE(?startYear, '[^0-9]', '')), 1, 4)) AS ?year) BIND( IF( COALESCE(xsd:integer(?year), 0) <= 1599, 'renaissance'@nl, IF( COALESCE(xsd:integer(?year), 0) <= 1749, 'barok'@nl, IF( COALESCE(xsd:integer(?year), 0) <= 1859, 'classicisme'@nl, IF( COALESCE(xsd:integer(?year), 0) <= 1889, 'impressionistisch'@nl, IF( COALESCE(xsd:integer(?year), 0) <= 1969, 'modernistisch'@nl, IF( COALESCE(xsd:integer(?year), 0) >= 1970, 'postmodern'@nl, '' ) ) ) ) ) ) AS ?category) BIND( IF( COALESCE(?category, '') = 'renaissance'@nl, uri(<http://vocab.getty.edu/aat/300021140>), IF( COALESCE(?category,'') = 'barok'@nl, uri(<http://vocab.getty.edu/aat/300021147>), IF( COALESCE(?category, '') = 'classicisme'@nl, uri(<http://vocab.getty.edu/aat/300056513>), IF( COALESCE(?category, '') = 'impressionistisch'@nl, uri(<http://vocab.getty.edu/aat/300021503>), IF( COALESCE(?category, '') = 'modernistisch'@nl, uri(<http://vocab.getty.edu/aat/300021474>), IF( COALESCE(?category, '') = 'postmodern'@nl, uri(<http://vocab.getty.edu/aat/300022208>), '' ) ) ) ) ) ) AS ?id) BIND( IF( COALESCE(?category, '') = 'renaissance'@nl, xsd:integer('1450'), IF( COALESCE(?category,'') = 'barok'@nl, xsd:integer('1600'), IF( COALESCE(?category, '') = 'classicisme'@nl, xsd:integer('1750'), IF( COALESCE(?category, '') = 'impressionistisch'@nl, xsd:integer('1860'), IF( COALESCE(?category, '') = 'modernistisch'@nl, xsd:integer('1890'), IF( COALESCE(?category, '') = 'postmodern'@nl, xsd:integer('1970'), '' ) ) ) ) ) ) AS ?startDate) } ORDER BY ?startDate LIMIT _LIMIT_", | ||
"itemsQuery": "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX schema: <https://schema.org/> SELECT ?heritageObject ?name ?dateCreated ?stijlperiode ?publisherName ?publisherURI ?publisherHomepage ?creators ?creatorNames ?description ?imageURI ?imageLicenseName ?imageLicenseURI WHERE { BIND(<_CATEGORYID_> AS ?period) { ?heritageObject a schema:CreativeWork ; schema:name ?name ; schema:description ?description ; schema:dateCreated ?date ; schema:image/schema:contentUrl ?imageURI ; schema:image/schema:license ?imageLicenseURI ; schema:publisher ?publisherHomepage ; schema:publisher/schema:name ?publisherName . OPTIONAL { ?heritageObject schema:publisher/schema:mainEntityOfPage ?publisherURI } BIND(xsd:integer(substr(str(replace(?date, '[^0-9]', '')), 1, 4)) as ?dateCreated) BIND(if(regex(str(coalesce(?imageLicenseURI, '')), '.*creativecommons.*1\\.0.*', 'i'), 'Creative Commons 1.0', 'niet beschikbaar') as ?imageLicenseName) BIND('onbekend' as ?creators) BIND('onbekend' as ?creatorNames) BIND(if(coalesce(?dateCreated, 0) <= 1599,'renaissance'@nl, if(coalesce(?dateCreated, 0) <= 1749, 'barok'@nl, if(coalesce(?dateCreated, 0) <= 1859,'classicisme'@nl, if(coalesce(?dateCreated, 0) <= 1889, 'impressionistisch'@nl, if(coalesce(?dateCreated, 0) <= 1969, 'modernistisch'@nl, if(coalesce(?dateCreated, 0) >= 1970, 'postmodern'@nl, '' ) ) ) ) ) ) as ?stijlperiode) BIND(if(coalesce(?stijlperiode, '') = 'renaissance'@nl, uri(<http://vocab.getty.edu/aat/300021140>), if(coalesce(?stijlperiode,'') = 'barok'@nl, uri(<http://vocab.getty.edu/aat/300021147>), if(coalesce(?stijlperiode, '') = 'classicisme'@nl, uri(<http://vocab.getty.edu/aat/300056513>), if(coalesce(?stijlperiode, '') = 'impressionistisch'@nl, uri(<http://vocab.getty.edu/aat/300021503>), if(coalesce(?stijlperiode, '') = 'modernistisch'@nl, uri(<http://vocab.getty.edu/aat/300021474>), if(coalesce(?stijlperiode, '') = 'postmodern'@nl, uri(<http://vocab.getty.edu/aat/300022208>), '' ) ) ) ) ) ) as ?period) } } ORDER BY ?dateCreated ?stijlperiode LIMIT _LIMIT_ OFFSET _OFFSET_" | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name": "Zuiderzeemuseum: locaties" | ||
} |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"baseUrl": "https://api.data.netwerkdigitaalerfgoed.nl/datasets/zuiderzeemuseum/waterland/sparql", | ||
"categoryQuery": "PREFIX schema: <http://schema.org/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT (COUNT(?heritageObject) AS ?numberOfHeritageObjects) ?id ?name ?description ?startDate ?endDate WHERE { ?heritageObject a schema:CreativeWork ; schema:contentLocation ?id ; schema:contentLocation/rdfs:label ?name . } Group by ?id ?name ?description ?endDate ?startDate order by ?name LIMIT _LIMIT_", | ||
"itemsQuery": "prefix xsd: <http://www.w3.org/2001/XMLSchema#> prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix schema: <http://schema.org/> select distinct * where { select ?heritageObject ?name ?description ?dateCreated ?imageURI ?imageLicenseURI ?imageLicenseName ?publisherURI ?publisherName ?publisherHomepage ?creators ?creatorNames where { bind(<_CATEGORYID_> as ?contentLocationURIs) ?heritageObject a schema:CreativeWork ; schema:name ?name ; schema:description ?description ; schema:dateCreated ?date ; schema:creator ?creators ; schema:contentLocation ?contentLocationURIs ; schema:contentLocation/rdfs:label ?labelID ; schema:image ?imageURI . ?creators rdfs:label ?creatorNames . bind(xsd:integer(?date) as ?dateCreated) bind('unavailable' as ?imageLicenseURI) bind('unavailable' as ?imageLicenseName) bind('https://www.zuiderzeemuseum.nl/' as ?publisherURI) bind('Zuiderzeemuseum' as ?publisherName) bind(uri('https://www.zuiderzeemuseum.nl/') as ?publisherHomepage) } order by ?labelID } LIMIT _LIMIT_ OFFSET _OFFSET_" | ||
} |