Skip to content

Instantly share code, notes, and snippets.

@jlhardes
jlhardes / lunchroom_manners_description.json
Last active May 25, 2018 15:10
Example of descriptive metadata for an Avalon item using IIIF-AV spec.
{
"id":"http://dlib.indiana.edu/iiif_av/canvas/1",
"type":"Manifest",
"label":"Beginning Responsibility: Lunchroom Manners",
"metadata":[
{"label":"Date", "value":"1959"},
{"label":"Main Contributor", "value":"Coronet Films"},
{"label":"Summary", "value":"The rude, clumsy puppet Mr. Bungle shows kids how to behave in the school cafeteria - the assumption being that kids actually want to behave during lunch. This film has a cult following since it appeared on a Pee Wee Herman HBO special."},
{"label":"Publisher", "value":"Coronet Films"},
{"label":"Subjects", "value":"Social engineering; Puppet theater"},
<!DOCTYPE html>
<html lang="en">
<head>
<title> Predicates
- Hydra Vocab Manager</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!DOCTYPE html>
<html lang="en">
<head>
<title> importURL - Hydra Vocab Manager</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link data-turbolinks-track="true" href="http://opaquenamespace.org/assets/application-6eab45fa7a7016e7b32409317bf2b513.css" media="all" rel="stylesheet" />
<!DOCTYPE html>
<html lang="en">
<head>
<title> arkivoChecksum - Hydra Vocab Manager</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link data-turbolinks-track="true" href="http://opaquenamespace.org/assets/application-6eab45fa7a7016e7b32409317bf2b513.css" media="all" rel="stylesheet" />
{
"@context": {
"dcterms": "http://purl.org/dc/terms/",
"ns1": "https://www.w3.org/2000/01/rdf-schema#",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"skos": "http://www.w3.org/2004/02/skos/core#",
"xsd": "http://www.w3.org/2001/XMLSchema#"
},
"@graph": [
#ss:arkivoChecksum example
# Automated information
<http://hydra.vocab.manager/predicate/arkivoChecksum> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> .
<http://hydra.vocab.manager/predicate/arkivoChecksum> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
<http://hydra.vocab.manager/predicate/arkivoChecksum> <http://purl.org/dc/terms/issued> "2016-11-11"^^<http://www.w3.org/2001/XMLSchema#date> .
# Required information
<http://hydra.vocab.manager/predicate/arkivoChecksum> <http://www.w3.org/2000/01/rdf-schema#label> "Arkivo Checksum"@en .
<http://hydra.vocab.manager/predicate/arkivoChecksum> <http://www.w3.org/2000/01/rdf-schema#comment> "An MD5 checksum for a bitstream uploaded by Zotero's subscription service, Arkivo."@en .
<http://hydra.vocab.manager/predicate/arkivoChecksum> <http://www.w3.org/2004/02/skos/core#example> "A repository object has an MD5 checksum generated by Arkivo that should
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ns1: <https://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://hydra.vocab.manager/predicate/arkivoChecksum> a rdf:Property,
rdf:predicate ;
#ss:importURL example
# Automated information
<http://hydra.vocab.manager/predicate/importURL> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Property> .
<http://hydra.vocab.manager/predicate/importURL> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> .
<http://hydra.vocab.manager/predicate/importURL> <http://purl.org/dc/terms/issued> "2016-11-11"^^<http://www.w3.org/2001/XMLSchema#date> .
# Required information
<http://hydra.vocab.manager/predicate/importURL> <http://www.w3.org/2000/01/rdf-schema#label> "Import URL"@en .
<http://hydra.vocab.manager/predicate/importURL> <http://www.w3.org/2000/01/rdf-schema#comment> "The URL from which content hosted in a cloud storage service is imported."@en .
<http://hydra.vocab.manager/predicate/importURL> <http://www.w3.org/2004/02/skos/core#example> "A repository object was imported from Google Drive cloud storage.<br/>&lt;http://example.org/object&gt; &lt;http://hydra
{
"@context": {
"dcterms": "http://purl.org/dc/terms/",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"skos": "http://www.w3.org/2004/02/skos/core#",
"xsd": "http://www.w3.org/2001/XMLSchema#"
},
"@id": "http://hydra.vocab.manager/predicate/importURL",
"@type": [
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://hydra.vocab.manager/predicate/importURL> a rdf:Property,
rdf:predicate ;
rdfs:label "Import URL"@en ;