Hands-on with Fedora 4 - WordPress.comHands-on with Fedora 4 Content modeling, search, and discovery...
Transcript of Hands-on with Fedora 4 - WordPress.comHands-on with Fedora 4 Content modeling, search, and discovery...
Hands-on with Fedora 4Content modeling, search, and discovery
David Wilcox, DuraSpace@d_wilcox
http://goo.gl/drcd0r
Understand the basics of linked data
Learn how to create and and manage content using Fedora 4
Understand how content is indexed for search and discovery
Learning Outcomes
Linked Data Rules
1. Use URIs as names
2. Use HTTP URIs so that people can look up names
3. When someone looks up a URI, provide useful information, using
the standards (RDF*, SPARQL)
4. Include links to other URIs, so that they can discover more things.
Making Assertions with Triples
Subject(Noun)
Object(Noun)
Predicate
(Verb)
An Example
is a part of is a part of
Establishing identity with URIshttps://en.wikipedia.org/wiki/Hanover
http://dbpedia.org/page/Germany
http://en.wikipedia.org/wiki/Europe
http://dbpedia.org/page/Hanover
https://en.wikipedia.org/wiki/Germany
http://dbpedia.org/resource/Europe
Vocabularies
Controlled list of authorities, each with a URI
Well-known vocabularies:
● DBpedia● Library of Congress Subject Headings, Names● Virtual International Authority File● Getty vocabularies (AAT, ULAN, TGN)● GeoNames
Ontologies
Ontologies are formal specifications of shared conceptualizations
Well-known RDF ontologies:
● Dublin Core, FOAF, schema.org, SKOS
Less well-known RDF ontologies:
● BIBFRAME, MODS/MADS, Fedora
Descriptive Metadata
● Lots of different standards/communities
● Aim to share code, or at least data
● Use common ontologies and vocabularies
● Domain-specific and local supplements
Content Modeling
Modeling Examples
Books with multiple editions
Books with internal structure
Books with annotations at the page, book, character, or pixel level
Image collections
Images with annotations at the pixel level
Serials
Audio or video with transcriptions or other annotations on time slices
Toolkits - Modeling & InteroperabilityPCDM - https://github.com/duraspace/pcdm/wiki
Rights Metadata recommendations - https://wiki.duraspace.org/display/hydra/Rights+Metadata+Recommendation
Technical Metadata recommendations - https://wiki.duraspace.org/display/hydra/Technical+Metadata+Application+Profile
File use recommendations - https://wiki.duraspace.org/display/hydra/File+Use+Vocabulary
Web Annotations - https://www.w3.org/annotation/
IIIF - http://iiif.io/
LDP Tutorial - https://github.com/projecthydra/hydra/wiki/LDP-Containers-for-the-perplexed
LDP Spec - https://www.w3.org/TR/ldp/
Portland Common Data Model
pcdm:Collection
pcdm:Object pcdm:File
pcdm:hasMember (m:m)pcdm:hasRelatedObject (m:m)
pcdm:hasMember (m:m)pcdm:hasRelatedObject (m:m)
pcdm:hasMember (m:m)
pcdm:hasFile (0:m)
DA
DA A TB
Bitstream
D
A
T
B
Access
Descriptive
Technical
http://demo.fcrepo.org:8080/fcrepo/
Create, Read, Update, Delete
INSERT {<> dc:title "The Story of My Life" .}WHERE { }
INSERT {<> dc:creator "David Wilcox" .}WHERE { }
INSERT {<> dc:subject <http://id.loc.gov/authorities/subjects/sh85133147> .}WHERE { }
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX pcdm: <http://pcdm.org/models#>
INSERT {
<> rdf:type pcdm:Object .
<> pcdm:hasMember </fcrepo/rest/david-wilcox/book-collection/book1/page1>.
} WHERE { }
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX pcdm: <http://pcdm.org/models#>
INSERT {
<> a pcdm:Object .
<> pcdm:hasMember </fcrepo/rest/david-wilcox/book-collection/book1/page1>.
} WHERE { }
The same thing, but shorter:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX pcdm: <http://pcdm.org/models#>
INSERT {
<> a pcdm:Object ;
pcdm:hasMember </fcrepo/rest/david-wilcox/book-collection/book1/page1>.
} WHERE { }
The same thing, but shorter:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX pcdm: <http://pcdm.org/models#>
INSERT {
<> a pcdm:Object ;
pcdm:hasFile </fcrepo/rest/david-wilcox/book-collection/book1/page1/page1.tiff>.
} WHERE { }
Versioning
DELETE {<> dc:creator "David Wilcox" .}WHERE { }
Transactions
Search and Discovery
Additional Resources
Linked Data Platform specification
http://www.w3.org/TR/ldp/
LDP Containers for the Perplexed
https://github.com/projecthydra/hydra/wiki/LDP-Containers-for-the-perplexed