SlideShare una empresa de Scribd logo
1 de 40
Use Case 1.2:
Tag Scholarly Information Resources
to Support Reuse
LD 4L W ORK S HOP
STA NFORD U NIV E RS ITY
FE B RUA RY 23, 2015
Naomi Dushay / ndushay@stanford.edu
“… As a librarian, I would like to tag resources into curated
lists … so that I can feed these these lists into subject guides,
course reserves, or reference collections.
“I'd like these lists to be portable (into Drupal, LibGuides, etc.)
and durable.
“I'd like these lists/tags to selectively feed back into the
discovery environment without having to modify the catalog
records.”
(shortened …)
Spoiler:
SearchWorks & Triannon
Demo
Spoiler:
Requirements:
• Create and manage tags/annotations in any client or environment
• Retrieve tags/annotations to display in any client
• Chosen identifiers, not necessarily catalog ids
Need:
• A model for annotations
• A format to serialize them into
• A protocol to transfer the serializations between systems
• Storage for tags/annotations
• Restful searching for tags/annotations
• Implementations!
Triannon: Back End Annotation Store
Model: Open Annotation
http://www.openannotation.org/spec/core/
http://www.w3.org/TR/annotation-model/ (beta)
Serialization Format: JSON-LD (or turtle or …)
{
"@context": "http://www.w3.org/ns/oa-context-20130208.json",
"@id": "http://triannon.stanford.edu/annotations/123",
"@type": "oa:Annotation”,
"motivatedBy":"oa:commenting",
"hasBody": {
"@type": "cnt:ContentAsText",
"chars": ”Linked Data is the future",
"format": "text/plain"
},
"hasTarget": [
"http://searchworks.stanford.edu/view/10594400",
"http://worldcat.org/entity/work/id/872987681"
]
}
Transfer Protocol: Linked Data Platform
• Triples?
• Graph Object?
• Groups of Triples?
“Linked Data Platform (LDP) defines a set of rules for HTTP
operations on web resources, some based on RDF, to provide
an architecture for read-write Linked Data on the web.”
http://www.w3.org/TR/LDP/
https://flic.kr/p/5UNWTt
LDP:
LDP: Reality is More Complex
In Reality ...
• Multiple resources to manage, each requires a POST
• Binary or external resources with descriptions tricky
• Multiple JSON-LD contexts complex (IIIF, OA, ...)
Want:
• Ease of use/implementation for annotation client
• Ability to swap back-end to other LDP system
• Integration with Rails environment
• Search with Solr (easy) not SPARQL (less easy)
It’s the Graph, Baby!
Triannon
Triannon: Implementation Goals
• Rapid Development
• Modular
• Re-Usable
• Deployable
• Maintainable
Triannon: Rails Engine Gem
REST over
HTTP
Create POST jsonld, turtle, rdfxml
Read GET "
Update PUT/PATC
H
"
Delete DELETE (id)
Model ActiveRecord ActiveModel LDP
View (for apps and developers) jsonld, turtle, rdfxml
Controller
http://github.com/sul-dlss/triannon
Triannon (Rails engine gem)
triple store
(in memory)
RDF (gems)
Triannon
Rails App
Triannon Client: Search and Display
Triannon (Solr)Client App
http://triannon/by_target?url=purl.stanford.edu/bd136jk4522
http://triannon/by_tag?tag=food+sustainability
http://triannon/search?q=dragons
'response'=>{'numFound'=>3,'start'=>0,'maxScore'=>1.0,'docs'=>[
{
'id'=>'98206ec8-4def-44b8-b190-648d8224ce1c’,
'anno_jsonld'=>'{"@context":"http://www.w3.org/ns/oa.jsonld","@graph":[{"@id":"_:g700389243
72700","@type":["dctypes:Text","cnt:ContentAsText"], "format":"text/plain”, "chars":”Linked Data
is Awesome. Also Dragons”},{"@id":"https://triannon-
dev.stanford.edu/annotations/98206ec8-4def-44b8-b190-
648d8224ce1c","@type":"oa:Annotation","hasBody":"_:g70038924372700","hasTarget":"http://purl.stanford.
edu/bd136jk4522","motivatedBy":"oa:commenting"}]}',
...},
{
'id'=>'f691b921-6f54-415b-9dfb-0d017f0d8ada',
...
It’s the Graph, Baby!
Triannon Client App
ActiveTriples
ld4l-open_annotation_rdf
triple store
(in memory)
RDF
Triannon Client: Create, Update, Delete
Triannon
id
html
form
jsonld from
RDF::Graph
• User Authentication/Authorization
• Broader Types of Annotations
• Easy Way to Include Tagged Collections Elsewhere
(e.g. research guides in Drupal)
• Cross Institutional Data, Searching
• Search text of tags and comments with other
metadata in SearchWorks
• Ordered Lists
Remaining Work
• Chris Beer: Fedora 4, LDP for Fedora 4
• Naomi Dushay: Triannon, Solr, SearchWorks
• Christopher Jesudurai: SearchWorks UI
• Willy Mene: Triannon  LDP
• Rob Sanderson: Architecture, Specs, Cat Herding
Contributors (Stanford)
Thank You!
ndushay@stanford.edu
UC1 Bibliographic & Curation Data:
Ontologies Discussion
LD4L W ORK S HOP
STA NFORD U NIV E RS ITY
FE B RUA RY 2 3
Rob Sanderson / azaroth@stanford.edu / @azaroth42
Requirements Refresher
• Annotations on digital content
• Annotations on abstract "Works"
• Ordered lists of "Works"
• ... created from Annotations
Open Annotation
http://www.openannotation.org/spec/core/
http://www.w3.org/TR/annotation-model/ (beta)
Open Annotation: Comments
*
*ContentAsText and chars replaced in W3C's FPWD
Open Annotation: Tags
Open Annotation: Semantic Tags
*
*model changes slightly in W3C's FPWD
Open Annotation: Motivations
Motivation Description
oa:bookmarking Recording a resource or point of interest
oa:classifying Assigning a class to a resource
oa:commenting Providing a review or comment
oa:describing Describing the resource
oa:editing Requesting a change to the resource
oa:highlighting Region or span of interest to highlight
oa:identifying Assigning an identifier to a resource
oa:linking Linking another resource to the target
oa:moderating Assignment of value or quality
oa:questioning Asking a question about the resource
oa:replying Replying to previous statement or question
oa:tagging Tagging a resource
Open Annotation: Provenance
OAI-ORE: Sets
OAI-ORE: Proxies
OAI-ORE: Ordering
OAI-ORE: Multiple Orders
Option 2: rdf:List
Option 3: Collections Ontology
Thank You!
February 23rd, 2015
azaroth@stanford.edu
JSON-LD Annotation Format
{
"@context": "http://www.w3.org/ns/oa-context-20130208.json",
"@id": "http://www.example.org/annotations/1",
"@type": "oa:Annotation”,
"motivatedBy":"oa:commenting",
"hasBody": {
"@type": "cnt:ContentAsText",
"chars": "I love this book!",
"format": "text/plain"
},
"hasTarget": "http://purl.stanford.edu/bd136jk4522"
}

Más contenido relacionado

La actualidad más candente

Java input output package
Java input output packageJava input output package
Java input output package
Sujit Kumar
 
Character stream classes introd .51
Character stream classes introd  .51Character stream classes introd  .51
Character stream classes introd .51
myrajendra
 
Character stream classes .52
Character stream classes .52Character stream classes .52
Character stream classes .52
myrajendra
 

La actualidad más candente (20)

NAMED ENTITY RECOGNITION
NAMED ENTITY RECOGNITIONNAMED ENTITY RECOGNITION
NAMED ENTITY RECOGNITION
 
Datat and donuts: how to write a data management plan
Datat and donuts: how to write a data management planDatat and donuts: how to write a data management plan
Datat and donuts: how to write a data management plan
 
Data Archiving and Sharing
Data Archiving and SharingData Archiving and Sharing
Data Archiving and Sharing
 
Data Management for librarians
Data Management for librariansData Management for librarians
Data Management for librarians
 
Natural Language Search in Solr
Natural Language Search in SolrNatural Language Search in Solr
Natural Language Search in Solr
 
Java input output package
Java input output packageJava input output package
Java input output package
 
Reproducible research
Reproducible researchReproducible research
Reproducible research
 
Names, Things, and Open Identifier Infrastructure: N2T and ARKs
Names, Things, and Open Identifier Infrastructure: N2T and ARKsNames, Things, and Open Identifier Infrastructure: N2T and ARKs
Names, Things, and Open Identifier Infrastructure: N2T and ARKs
 
Jayse farrell resume
Jayse farrell resumeJayse farrell resume
Jayse farrell resume
 
31cs
31cs31cs
31cs
 
Reading and Writing Files
Reading and Writing FilesReading and Writing Files
Reading and Writing Files
 
Building a real time, solr-powered recommendation engine
Building a real time, solr-powered recommendation engineBuilding a real time, solr-powered recommendation engine
Building a real time, solr-powered recommendation engine
 
Apache Tika: 1 point Oh!
Apache Tika: 1 point Oh!Apache Tika: 1 point Oh!
Apache Tika: 1 point Oh!
 
File handling
File handlingFile handling
File handling
 
Python 45 minutes hangout #3
Python 45 minutes hangout #3Python 45 minutes hangout #3
Python 45 minutes hangout #3
 
30csharp
30csharp30csharp
30csharp
 
32sql server
32sql server32sql server
32sql server
 
Open nlp presentationss
Open nlp presentationssOpen nlp presentationss
Open nlp presentationss
 
Character stream classes introd .51
Character stream classes introd  .51Character stream classes introd  .51
Character stream classes introd .51
 
Character stream classes .52
Character stream classes .52Character stream classes .52
Character stream classes .52
 

Destacado

W6 7 organizational design-structure
W6 7 organizational design-structureW6 7 organizational design-structure
W6 7 organizational design-structure
novas agita
 
Chapter 10 Organizational Structure And Design Ppt10
Chapter 10 Organizational Structure And Design Ppt10Chapter 10 Organizational Structure And Design Ppt10
Chapter 10 Organizational Structure And Design Ppt10
D
 
A Comparison of five popular Organization Design Models
A Comparison of five popular Organization Design ModelsA Comparison of five popular Organization Design Models
A Comparison of five popular Organization Design Models
PeopleWiz Consulting
 

Destacado (6)

W6 7 organizational design-structure
W6 7 organizational design-structureW6 7 organizational design-structure
W6 7 organizational design-structure
 
action research model
action research modelaction research model
action research model
 
Organizational change-model
Organizational change-modelOrganizational change-model
Organizational change-model
 
Organizational Change Models
Organizational Change ModelsOrganizational Change Models
Organizational Change Models
 
Chapter 10 Organizational Structure And Design Ppt10
Chapter 10 Organizational Structure And Design Ppt10Chapter 10 Organizational Structure And Design Ppt10
Chapter 10 Organizational Structure And Design Ppt10
 
A Comparison of five popular Organization Design Models
A Comparison of five popular Organization Design ModelsA Comparison of five popular Organization Design Models
A Comparison of five popular Organization Design Models
 

Similar a Ld4 l triannon

SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
Rinke Hoekstra
 
20080917 Rev
20080917 Rev20080917 Rev
20080917 Rev
charper
 
Cornell20080516
Cornell20080516Cornell20080516
Cornell20080516
charper
 
Swap For Dummies Rsp 2007 11 29
Swap For Dummies Rsp 2007 11 29Swap For Dummies Rsp 2007 11 29
Swap For Dummies Rsp 2007 11 29
Julie Allinson
 
Ifla swsig meeting - Puerto Rico - 20110817
Ifla swsig meeting - Puerto Rico - 20110817Ifla swsig meeting - Puerto Rico - 20110817
Ifla swsig meeting - Puerto Rico - 20110817
Figoblog
 
RDA Presentation
RDA PresentationRDA Presentation
RDA Presentation
jendibbern
 
Digital Library Applications Of Social Networking Jeju Intl Conference
Digital Library Applications Of Social Networking Jeju Intl ConferenceDigital Library Applications Of Social Networking Jeju Intl Conference
Digital Library Applications Of Social Networking Jeju Intl Conference
guestbba8ac
 

Similar a Ld4 l triannon (20)

SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
 
20080917 Rev
20080917 Rev20080917 Rev
20080917 Rev
 
Cornell20080516
Cornell20080516Cornell20080516
Cornell20080516
 
ontology.ppt
ontology.pptontology.ppt
ontology.ppt
 
Longwell final ppt
Longwell final pptLongwell final ppt
Longwell final ppt
 
Learning W3C Linked Data Platform with examples
Learning W3C Linked Data Platform with examplesLearning W3C Linked Data Platform with examples
Learning W3C Linked Data Platform with examples
 
SKOS - 2007 Open Forum on Metadata Registries - NYC
SKOS - 2007 Open Forum on Metadata Registries - NYCSKOS - 2007 Open Forum on Metadata Registries - NYC
SKOS - 2007 Open Forum on Metadata Registries - NYC
 
Publishing and Using Linked Open Data - Day 2
Publishing and Using Linked Open Data - Day 2Publishing and Using Linked Open Data - Day 2
Publishing and Using Linked Open Data - Day 2
 
Swap For Dummies Rsp 2007 11 29
Swap For Dummies Rsp 2007 11 29Swap For Dummies Rsp 2007 11 29
Swap For Dummies Rsp 2007 11 29
 
Hack U Barcelona 2011
Hack U Barcelona 2011Hack U Barcelona 2011
Hack U Barcelona 2011
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 
Ifla swsig meeting - Puerto Rico - 20110817
Ifla swsig meeting - Puerto Rico - 20110817Ifla swsig meeting - Puerto Rico - 20110817
Ifla swsig meeting - Puerto Rico - 20110817
 
RDA Presentation
RDA PresentationRDA Presentation
RDA Presentation
 
Publishing and Using Linked Open Data - Day 1
Publishing and Using Linked Open Data - Day 1 Publishing and Using Linked Open Data - Day 1
Publishing and Using Linked Open Data - Day 1
 
Digital Library Applications Of Social Networking Jeju Intl Conference
Digital Library Applications Of Social Networking Jeju Intl ConferenceDigital Library Applications Of Social Networking Jeju Intl Conference
Digital Library Applications Of Social Networking Jeju Intl Conference
 
Digital Library Applications Of Social Networking
Digital Library Applications Of Social Networking  Digital Library Applications Of Social Networking
Digital Library Applications Of Social Networking
 
Linked data and voyager
Linked data and voyagerLinked data and voyager
Linked data and voyager
 
114 sem 3_j-walker
114 sem 3_j-walker114 sem 3_j-walker
114 sem 3_j-walker
 
Resource discovery and information sharing: reaching the 2.0 turn
Resource discovery and information sharing: reaching the 2.0 turnResource discovery and information sharing: reaching the 2.0 turn
Resource discovery and information sharing: reaching the 2.0 turn
 
Usage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application ScenariosUsage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application Scenarios
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

Ld4 l triannon

  • 1. Use Case 1.2: Tag Scholarly Information Resources to Support Reuse LD 4L W ORK S HOP STA NFORD U NIV E RS ITY FE B RUA RY 23, 2015 Naomi Dushay / ndushay@stanford.edu
  • 2. “… As a librarian, I would like to tag resources into curated lists … so that I can feed these these lists into subject guides, course reserves, or reference collections. “I'd like these lists to be portable (into Drupal, LibGuides, etc.) and durable. “I'd like these lists/tags to selectively feed back into the discovery environment without having to modify the catalog records.” (shortened …)
  • 6. Requirements: • Create and manage tags/annotations in any client or environment • Retrieve tags/annotations to display in any client • Chosen identifiers, not necessarily catalog ids Need: • A model for annotations • A format to serialize them into • A protocol to transfer the serializations between systems • Storage for tags/annotations • Restful searching for tags/annotations • Implementations! Triannon: Back End Annotation Store
  • 8. Serialization Format: JSON-LD (or turtle or …) { "@context": "http://www.w3.org/ns/oa-context-20130208.json", "@id": "http://triannon.stanford.edu/annotations/123", "@type": "oa:Annotation”, "motivatedBy":"oa:commenting", "hasBody": { "@type": "cnt:ContentAsText", "chars": ”Linked Data is the future", "format": "text/plain" }, "hasTarget": [ "http://searchworks.stanford.edu/view/10594400", "http://worldcat.org/entity/work/id/872987681" ] }
  • 9. Transfer Protocol: Linked Data Platform • Triples? • Graph Object? • Groups of Triples? “Linked Data Platform (LDP) defines a set of rules for HTTP operations on web resources, some based on RDF, to provide an architecture for read-write Linked Data on the web.” http://www.w3.org/TR/LDP/ https://flic.kr/p/5UNWTt
  • 10. LDP:
  • 11. LDP: Reality is More Complex
  • 12. In Reality ... • Multiple resources to manage, each requires a POST • Binary or external resources with descriptions tricky • Multiple JSON-LD contexts complex (IIIF, OA, ...) Want: • Ease of use/implementation for annotation client • Ability to swap back-end to other LDP system • Integration with Rails environment • Search with Solr (easy) not SPARQL (less easy)
  • 15. Triannon: Implementation Goals • Rapid Development • Modular • Re-Usable • Deployable • Maintainable
  • 16. Triannon: Rails Engine Gem REST over HTTP Create POST jsonld, turtle, rdfxml Read GET " Update PUT/PATC H " Delete DELETE (id) Model ActiveRecord ActiveModel LDP View (for apps and developers) jsonld, turtle, rdfxml Controller http://github.com/sul-dlss/triannon
  • 17. Triannon (Rails engine gem) triple store (in memory) RDF (gems) Triannon Rails App
  • 18.
  • 19. Triannon Client: Search and Display Triannon (Solr)Client App http://triannon/by_target?url=purl.stanford.edu/bd136jk4522 http://triannon/by_tag?tag=food+sustainability http://triannon/search?q=dragons 'response'=>{'numFound'=>3,'start'=>0,'maxScore'=>1.0,'docs'=>[ { 'id'=>'98206ec8-4def-44b8-b190-648d8224ce1c’, 'anno_jsonld'=>'{"@context":"http://www.w3.org/ns/oa.jsonld","@graph":[{"@id":"_:g700389243 72700","@type":["dctypes:Text","cnt:ContentAsText"], "format":"text/plain”, "chars":”Linked Data is Awesome. Also Dragons”},{"@id":"https://triannon- dev.stanford.edu/annotations/98206ec8-4def-44b8-b190- 648d8224ce1c","@type":"oa:Annotation","hasBody":"_:g70038924372700","hasTarget":"http://purl.stanford. edu/bd136jk4522","motivatedBy":"oa:commenting"}]}', ...}, { 'id'=>'f691b921-6f54-415b-9dfb-0d017f0d8ada', ...
  • 21. Triannon Client App ActiveTriples ld4l-open_annotation_rdf triple store (in memory) RDF Triannon Client: Create, Update, Delete Triannon id html form jsonld from RDF::Graph
  • 22. • User Authentication/Authorization • Broader Types of Annotations • Easy Way to Include Tagged Collections Elsewhere (e.g. research guides in Drupal) • Cross Institutional Data, Searching • Search text of tags and comments with other metadata in SearchWorks • Ordered Lists Remaining Work
  • 23. • Chris Beer: Fedora 4, LDP for Fedora 4 • Naomi Dushay: Triannon, Solr, SearchWorks • Christopher Jesudurai: SearchWorks UI • Willy Mene: Triannon  LDP • Rob Sanderson: Architecture, Specs, Cat Herding Contributors (Stanford)
  • 25. UC1 Bibliographic & Curation Data: Ontologies Discussion LD4L W ORK S HOP STA NFORD U NIV E RS ITY FE B RUA RY 2 3 Rob Sanderson / azaroth@stanford.edu / @azaroth42
  • 26. Requirements Refresher • Annotations on digital content • Annotations on abstract "Works" • Ordered lists of "Works" • ... created from Annotations
  • 28. Open Annotation: Comments * *ContentAsText and chars replaced in W3C's FPWD
  • 30. Open Annotation: Semantic Tags * *model changes slightly in W3C's FPWD
  • 31. Open Annotation: Motivations Motivation Description oa:bookmarking Recording a resource or point of interest oa:classifying Assigning a class to a resource oa:commenting Providing a review or comment oa:describing Describing the resource oa:editing Requesting a change to the resource oa:highlighting Region or span of interest to highlight oa:identifying Assigning an identifier to a resource oa:linking Linking another resource to the target oa:moderating Assignment of value or quality oa:questioning Asking a question about the resource oa:replying Replying to previous statement or question oa:tagging Tagging a resource
  • 39. Thank You! February 23rd, 2015 azaroth@stanford.edu
  • 40. JSON-LD Annotation Format { "@context": "http://www.w3.org/ns/oa-context-20130208.json", "@id": "http://www.example.org/annotations/1", "@type": "oa:Annotation”, "motivatedBy":"oa:commenting", "hasBody": { "@type": "cnt:ContentAsText", "chars": "I love this book!", "format": "text/plain" }, "hasTarget": "http://purl.stanford.edu/bd136jk4522" }