Skip to content

Instantly share code, notes, and snippets.

Régis Robineau regisrob

Block or report user

Report or block regisrob

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@regisrob
regisrob / exemples-urls-gallica.md
Last active Mar 29, 2019
Exemples d'URLs Gallica (IIIF et non-IIIF)
View exemples-urls-gallica.md

Exemples d'URLs Gallica (IIIF et non-IIIF) :

Niveau "manuscrit" :

https://gallica.bnf.fr/ark:/12148/btv1b8626777x

=> URL du document numérisé (page web). Sert à mentionner la source de la numérisation et à renvoyer l'utilisateur vers la bibliothèque numérique d'origine

https://gallica.bnf.fr/iiif/ark:/12148/btv1b8626777x/manifest.json

=> URL du Manifest IIIF (document JSON conforme à l'API Presentation de IIIF : https://iiif.io/api/presentation/2.1/#manifest). C'est la représentation IIIF du fac-similé numérique.

@regisrob
regisrob / manifest-illuminations_mapping.jsonld
Last active Oct 19, 2018
Manifest IIIF par descripteurs d'enluminures (mapping)
View manifest-illuminations_mapping.jsonld
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://biblissima.fr/iiif/{Descriptor.internal_id}/manifest",
"@type": "sc:Manifest",
"label": "\"{Descriptor.name_bbma}\" - Collection d'images d'enluminures et décors de manuscrits",
"description": "Ce document regroupe toutes les enluminures et décors de manuscrits médiévaux indexés avec le descripteur \"{Descriptor.displayed_title}\" dans les bases iconographiques de Biblissima : Initiale (IRHT-CNRS) et Mandragore (BnF)",
"attribution": "Produit par Biblissima (https://biblissima.fr)",
"thumbnail": "", // image du premier Canvas ? ou random ?
"logo": "https://static.biblissima.fr/images/logo-biblissima-350w.jpg",
"metadata": [
@regisrob
regisrob / sparql-iiif-annotations.txt
Last active Oct 15, 2017
SPARQL query to retrieve and display IIIF image annotations (created with Mirador and SimpleAnnotationServer, stored in Sesame). See http://demos.biblissima-condorcet.fr/ovide-moralise/
View sparql-iiif-annotations.txt
PREFIX exif: <http://www.w3.org/2003/12/exif/ns#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX cnt: <http://www.w3.org/2011/content#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX sc: <http://iiif.io/api/presentation/2#>
PREFIX sc1: <http://www.shared-canvas.org/ns/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX oa: <http://www.w3.org/ns/oa#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
@regisrob
regisrob / rs-schema-feature.json
Created Nov 24, 2016
RS schema.org : Feature
View rs-schema-feature.json
{
"@context": "http://schema.org/",
"@type": "CreativeWork",
"url": "{URL_PAGE_FEATURE}",
"name": "{TITLE_PAGE_FEATURE}",
"description": "{./Book/HasFeature/Caption}",
"genre": "{./Book/HasFeature/FeatureType}",
"thumbnailUrl": "{./Book/HasFeature/Thumbnail}",
"image": "{./Book/HasFeature/DigitalSurrogate}",
"keywords": "{./Book/HasFeature/Descriptor/Name}, {./Book/HasFeature/Descriptor/Name}",
@regisrob
regisrob / rs-schema-inventory.json
Last active Nov 24, 2016
RS schema.org : Inventory
View rs-schema-inventory.json
{
"@context": "http://schema.org/",
"@type": "Book",
"url": "{URL_PAGE_INVENTORY}",
"name": "{./Collection/Inventory/Title}",
"encoding": [
{
"@type": "MediaObject",
"url": "{./Collection/Inventory/DigitalSurrogate}"
},
@regisrob
regisrob / rs-schema-edition.json
Last active Nov 24, 2016
RS schema.org : Edition
View rs-schema-edition.json
{
"@context": "http://schema.org/",
"@type": "CreativeWork",
"url": "{URL_PAGE_EDITION}",
"name": "{TITLE_PAGE_EDITION}",
"alternateName": "{./Manifestation/Text/Title}",
"locationCreated": {
"@type": "Place",
"name": "{./Manifestation/Place/Name}",
"url": "{URL_PAGE_LOCATION}"
@regisrob
regisrob / rs-schema-text.json
Last active Nov 24, 2016
RS schema.org : Text
View rs-schema-text.json
{
"@context": "http://schema.org/",
"@type": "CreativeWork",
"url": "{URL_PAGE_TEXT}",
"name": "{TITLE_PAGE_TEXT}",
"alternateName": "{cw_title}",
"description": "{./Work/Text/Note}",
"inLanguage": "{./Work/Text/Language}",
"author": {
"@type": "Person",
@regisrob
regisrob / rs-schema-work.json
Last active Nov 24, 2016
RS schema.org : Work
View rs-schema-work.json
{
"@context": "http://schema.org/",
"@type": "CreativeWork",
"url": "{URL_PAGE_WORK}",
"name": "{./Work/Title_Bbma}",
"alternativeHeadline": "{./Work/Title}",
"sameAs": "{./Work/Concept}",
"description": "{./Work/Note}",
"author": {
"@type": "Person",
@regisrob
regisrob / rs-schema-location.json
Last active Nov 24, 2016
RS schema.org : Location
View rs-schema-location.json
{
"@context": "http://schema.org/",
"@type": "Place",
"url": "{URL_PAGE_LOCATION}",
"name": "{TITLE_PAGE_LOCATION}",
"alternateName": "{./Place/Name}",
"geo": {
"@type": "GeoCoordinates",
"latitude": "{LAT_LOCATION}",
"longitude": "{LONG_LOCATION}"
@regisrob
regisrob / rs-schema-person.json
Created Nov 15, 2016
RS schema.org : Person
View rs-schema-person.json
{
"@context": "http://schema.org/",
"@type": "Person",
"url": "{URL_PAGE_PERSON}",
"name": "{TITLE_PAGE_PERSON}",
"additionalName": "{./Participant/Name}",
"image": "{URL_IMAGE_PERSON}",
"sameAs": "{./Participant/Concept}",
"description": "{./Participant/Note}",
"birthDate": "{./Participant/Birth/Date/Year}",
You can’t perform that action at this time.