SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
Open Annotation Data Model:
  Multiplicity and Publishing Modules

                                               Robert Sanderson
                                                    azaroth42@gmail.com
                                                    Los Alamos National Laboratory
                                                    @azaroth42

                                               Paolo Ciccarese
                                                    paolo.ciccarese@gmail.com
                                                    Harvard Medical School
                                                    @paolociccarese

                                               (Community Group Co-Chairs)




      Open Annotation Community Group         West Coast Open Annotation Rollout
http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   1
Multiplicity

The Data Model allows for multiple bodies and multiple targets
   •  Easiest: Multiple instances of hasBody, hasTarget
   •  Issue: What are the semantics?

Multiples of hasBody/hasTarget: Treated individually

Requirements:
   •  Choice: Only one resource needs to be displayed
   •  Composite: All resources are required together, as a set
   •  List: All resources are required together, with order




              Open Annotation Community Group            West Coast Open Annotation Rollout
        http://www.w3.org/community/openannotation/       April 9th 2013, Stanford, CA, USA   2
Multiplicity: Choice




Choice: Rendering agent should choose one resource to display
oa:default: The default resource of the Annotation’s producer
oa:item: Another possible resource


              Open Annotation Community Group         West Coast Open Annotation Rollout
        http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   3
Multiplicity: Choice




      Open Annotation Community Group         West Coast Open Annotation Rollout
http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   4
Multiplicity: Composite




Composite: A set of resources, all of which are required to understand the
Annotation correctly


              Open Annotation Community Group         West Coast Open Annotation Rollout
        http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   5
Multiplicity: Composite




      Open Annotation Community Group         West Coast Open Annotation Rollout
http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   6
Multiplicity: List




      Open Annotation Community Group         West Coast Open Annotation Rollout
http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   7
Multiplicity: List




      Open Annotation Community Group         West Coast Open Annotation Rollout
http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   8
Publishing Annotations

The Data Model is only a model, not a protocol:
   •  Does not specify interactions between client/server
   •  Does not limit additional descriptive features
   •  Does not specify annotation search, retrieval or management



Some aspects related to publishing are important:
   •  Serialization of the model
   •  Embedding resources
       •  Including other graphs
   •  Equivalence of resources




              Open Annotation Community Group         West Coast Open Annotation Rollout
        http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   9
Publishing: JSON-LD Serialization

JSON-LD is the latest RDF serialization:
   http://json-ld.org/spec/latest/json-ld/

Open Annotation recommends its use over RDF/XML:
   •  Easier for developers
   •  More web application friendly
   •  Looks like JSON (with appropriate context)
       •  So special parser not required
   •  Easy to generate without special libraries

RDF/XML and Turtle are also recommended, if content negotiation is
supported.




               Open Annotation Community Group         West Coast Open Annotation Rollout
         http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   10
Publishing: JSON-LD Context

JSON-LD has a Context description which maps JSON object keys to
RDF predicates, and assigns namespace prefixes:

{“@context”:{
    “oa”:              “http://www.w3.org/ns/oa#”,
    “cnt”:             “http://www.w3.org/2011/content#”,
    “dc”:              “http://purl.org/dc/elements/1.1/”,
    …
    “hasBody”:         {“@type”:”@id”, “@id”:”oa:hasBody”},
    “hasTarget”:       {“@type”:”@id”, “@id”:”oa:hasTarget”},
    …
    “chars”:           “cnt:chars”,
    “format”:          “dc:format”,
    “when”:            “oa:when”
    …
    }
}

              Open Annotation Community Group         West Coast Open Annotation Rollout
        http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   11
Publishing: JSON-LD Example

Reuse of the Context definition makes simple annotations simple:

{
  “@context”:      “http://www.w3.org/ns/oa-context-20130208.json”,
  “@type”:         “oa:Annotation”,
  “hasBody”:       “http://www.youtube.com/watch?v=fgg2tpUVbXQ”,
  ”hasTarget”:     ”http://zebu.uoregon.edu/hudf/hudf_300dpi.jpg”
}




              Open Annotation Community Group         West Coast Open Annotation Rollout
        http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   12
Publishing: JSON-LD Example

And complex annotations still (somewhat) readable:

{
  “@context”: “http://www.w3.org/ns/oa-context-20130208.json”,
  “@id”:       “http://www.example.org/annotations/1.json”,
  “@type”:     “oa:Annotation”,

  “annotatedAt”: “2012-11-10T09:08:07”,
  “annotatedBy”: {
        “@id” : “http://www.example.com/people/rsanderson”,
        “@type”: “foaf:Person”,
        “mbox”: “rsanderson@example.com”},

  “hasBody”:   “http://www.youtube.com/watch?v=fgg2tpUVbXQ”,

   …



              Open Annotation Community Group         West Coast Open Annotation Rollout
        http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   13
Publishing: JSON-LD Example (cont)


  ”hasTarget”: {
    ”@id”:    ”urn:uuid:1d823e02-60a1-47ae-bc872081729c”,
    ”@type”: ”oa:SpecificResource”,    
    ”hasSelector”: {
        ”@id”:        ”urn:uuid:6e353e12-30c2-98a3-39ff2081729c”,
        ”@type”:      ”oa:FragmentSelector”,
        ”conformsTo”: ”http://www.w3.org/TR/media-frags”,
        ”value”:      ”xywh=10,10,5,5”
    }    
    ”hasSource”: {
        ”@id”:      ”http://zebu.uoregon.edu/hudf/hudf_300dpi.jpg”,
        ”@type”:    ”dcterms:Image”
    }
}




              Open Annotation Community Group         West Coast Open Annotation Rollout
        http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   14
Publishing: Embedding Resources

Resources other than the body can benefit from being embedded:
   •  SVG Selector
   •  CSS Style



Potentially other resources:
    •  When the resource is offline, and being sent along with the
       annotation to a publishing server
    •  For preservation
    •  To include the exact representation, perhaps otherwise un-
       obtainable




              Open Annotation Community Group         West Coast Open Annotation Rollout
        http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   15
Publishing: Embedding Resources
The Content in RDF specification is reused:




              Open Annotation Community Group         West Coast Open Annotation Rollout
        http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   16
Publishing: Embedding Resources




      Open Annotation Community Group         West Coast Open Annotation Rollout
http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   17
Publishing: Embedding RDF Graphs
It is useful to embed RDF graphs within the Annotation.
Prefer to use Content in RDF approach, but if Trig/Trix is requested:




              Open Annotation Community Group         West Coast Open Annotation Rollout
        http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   18
Publishing: Embedding RDF Graphs




      Open Annotation Community Group         West Coast Open Annotation Rollout
http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   19
Publishing: Equivalent Resources
Useful to know that Annotations (and other resources) have been
duplicated between systems:




              Open Annotation Community Group         West Coast Open Annotation Rollout
        http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   20
Publishing: Equivalent Resources




      Open Annotation Community Group         West Coast Open Annotation Rollout
http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   21
Extending Motivations
The Data Model defines only a few core Motivations

Intent is for communities to extend as necessary:
    1.  Create a new ConceptScheme (vocabulary/taxonomy)
    2.  Create a new instance of oa:Motivation
    3.  Link new instance to at least one existing Motivation if possible
    4.  Assign labels and other information to describe its use




              Open Annotation Community Group         West Coast Open Annotation Rollout
        http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   22
Extending Motivations




      Open Annotation Community Group         West Coast Open Annotation Rollout
http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   23
Extending Motivations




      Open Annotation Community Group         West Coast Open Annotation Rollout
http://www.w3.org/community/openannotation/    April 9th 2013, Stanford, CA, USA   24
Thank You



                                                      Robert Sanderson
                                                           azaroth42@gmail.com
                                                           Los Alamos National Laboratory
                                                           @azaroth42

                                                      Paolo Ciccarese
                                                           paolo.ciccarese@gmail.com
                                                           Harvard Medical School
                                                           @paolociccarese

                                                      (Community Group Co-Chairs)

http://www.flickr.com/photos/hinkeb/5232293964/


               http://www.w3.org/community/openannotation/
                       http://www.openannotation.org/

            Open Annotation Community Group           West Coast Open Annotation Rollout
      http://www.w3.org/community/openannotation/      April 9th 2013, Stanford, CA, USA   25

Weitere ähnliche Inhalte

Was ist angesagt?

DBpedia Archive using Memento, Triple Pattern Fragments, and HDT
DBpedia Archive using Memento, Triple Pattern Fragments, and HDTDBpedia Archive using Memento, Triple Pattern Fragments, and HDT
DBpedia Archive using Memento, Triple Pattern Fragments, and HDT
Herbert Van de Sompel
 
Forging New Links: Libraries in the Semantic Web
Forging New Links: Libraries in the Semantic WebForging New Links: Libraries in the Semantic Web
Forging New Links: Libraries in the Semantic Web
Gillian Byrne
 
Lecture linked data cloud & sparql
Lecture linked data cloud & sparqlLecture linked data cloud & sparql
Lecture linked data cloud & sparql
Dhavalkumar Thakker
 
Creating web applications with LODSPeaKr
Creating web applications with LODSPeaKrCreating web applications with LODSPeaKr
Creating web applications with LODSPeaKr
Alvaro Graves
 
Linked Open Data Fundamentals for Libraries, Archives and Museums
Linked Open Data Fundamentals for Libraries, Archives and MuseumsLinked Open Data Fundamentals for Libraries, Archives and Museums
Linked Open Data Fundamentals for Libraries, Archives and Museums
trevorthornton
 

Was ist angesagt? (20)

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
 
RDF data model
RDF data modelRDF data model
RDF data model
 
DBpedia Archive using Memento, Triple Pattern Fragments, and HDT
DBpedia Archive using Memento, Triple Pattern Fragments, and HDTDBpedia Archive using Memento, Triple Pattern Fragments, and HDT
DBpedia Archive using Memento, Triple Pattern Fragments, and HDT
 
Forging New Links: Libraries in the Semantic Web
Forging New Links: Libraries in the Semantic WebForging New Links: Libraries in the Semantic Web
Forging New Links: Libraries in the Semantic Web
 
Thinking of Linking
Thinking of LinkingThinking of Linking
Thinking of Linking
 
RDA and the semantic Web
RDA and the semantic WebRDA and the semantic Web
RDA and the semantic Web
 
GDG Meets U event - Big data & Wikidata - no lies codelab
GDG Meets U event - Big data & Wikidata -  no lies codelabGDG Meets U event - Big data & Wikidata -  no lies codelab
GDG Meets U event - Big data & Wikidata - no lies codelab
 
Lecture linked data cloud & sparql
Lecture linked data cloud & sparqlLecture linked data cloud & sparql
Lecture linked data cloud & sparql
 
RDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic RepositoriesRDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic Repositories
 
Creating web applications with LODSPeaKr
Creating web applications with LODSPeaKrCreating web applications with LODSPeaKr
Creating web applications with LODSPeaKr
 
Connections that work: Linked Open Data demystified
Connections that work: Linked Open Data demystifiedConnections that work: Linked Open Data demystified
Connections that work: Linked Open Data demystified
 
Intro to Linked Open Data in Libraries Archives & Museums.
Intro to Linked Open Data in Libraries Archives & Museums.Intro to Linked Open Data in Libraries Archives & Museums.
Intro to Linked Open Data in Libraries Archives & Museums.
 
Maass mass-omaha
Maass mass-omahaMaass mass-omaha
Maass mass-omaha
 
Semantic Web Applications in Libraries: The Road to BIBFRAME
Semantic Web Applications in Libraries: The Road to BIBFRAMESemantic Web Applications in Libraries: The Road to BIBFRAME
Semantic Web Applications in Libraries: The Road to BIBFRAME
 
Datalift a-catalyser-for-the-web-of-data-fosdem-05-02-2011
Datalift a-catalyser-for-the-web-of-data-fosdem-05-02-2011Datalift a-catalyser-for-the-web-of-data-fosdem-05-02-2011
Datalift a-catalyser-for-the-web-of-data-fosdem-05-02-2011
 
20110728 datalift-rpi-troy
20110728 datalift-rpi-troy20110728 datalift-rpi-troy
20110728 datalift-rpi-troy
 
when the link makes sense
when the link makes sensewhen the link makes sense
when the link makes sense
 
Memento 101
Memento 101Memento 101
Memento 101
 
Linked Open Data Fundamentals for Libraries, Archives and Museums
Linked Open Data Fundamentals for Libraries, Archives and MuseumsLinked Open Data Fundamentals for Libraries, Archives and Museums
Linked Open Data Fundamentals for Libraries, Archives and Museums
 
Year of the Monkey: Lessons from the first year of SearchMonkey
Year of the Monkey: Lessons from the first year of SearchMonkeyYear of the Monkey: Lessons from the first year of SearchMonkey
Year of the Monkey: Lessons from the first year of SearchMonkey
 

Ähnlich wie Multiplicity and Publishing in Open Annotation (tutorial)

自由資訊
自由資訊自由資訊
自由資訊
maolins
 
自由資訊
自由資訊自由資訊
自由資訊
maolins
 
Scholarly Communication May 12-13, 2009
Scholarly Communication May 12-13, 2009Scholarly Communication May 12-13, 2009
Scholarly Communication May 12-13, 2009
Joseph Kraus
 

Ähnlich wie Multiplicity and Publishing in Open Annotation (tutorial) (20)

iAnnotate 2013 Introduction
iAnnotate 2013 IntroductioniAnnotate 2013 Introduction
iAnnotate 2013 Introduction
 
Open Annotation Model
Open Annotation ModelOpen Annotation Model
Open Annotation Model
 
KESW2012 Hackathon St Petersburg
KESW2012 Hackathon St PetersburgKESW2012 Hackathon St Petersburg
KESW2012 Hackathon St Petersburg
 
SSHELCO 2016 metadata workshop
SSHELCO 2016 metadata workshopSSHELCO 2016 metadata workshop
SSHELCO 2016 metadata workshop
 
自由資訊
自由資訊自由資訊
自由資訊
 
自由資訊
自由資訊自由資訊
自由資訊
 
Open Research Data: Licensing | Standards | Future
Open Research Data: Licensing | Standards | FutureOpen Research Data: Licensing | Standards | Future
Open Research Data: Licensing | Standards | Future
 
Plays Well with Others: Getting Your Digital Collection Metadata Ready for th...
Plays Well with Others: Getting Your Digital Collection Metadata Ready for th...Plays Well with Others: Getting Your Digital Collection Metadata Ready for th...
Plays Well with Others: Getting Your Digital Collection Metadata Ready for th...
 
Open Annotation: Bridging the Divide?
Open Annotation: Bridging the Divide?Open Annotation: Bridging the Divide?
Open Annotation: Bridging the Divide?
 
Exploring the Semantic Web
Exploring the Semantic WebExploring the Semantic Web
Exploring the Semantic Web
 
IFMSA EuRegMe Workshop 2015
IFMSA EuRegMe Workshop 2015IFMSA EuRegMe Workshop 2015
IFMSA EuRegMe Workshop 2015
 
Creating Shareable Metadata
Creating Shareable MetadataCreating Shareable Metadata
Creating Shareable Metadata
 
Linked dataresearch
Linked dataresearchLinked dataresearch
Linked dataresearch
 
The Neuroscience Information Framework: A Scalable Platform for Information E...
The Neuroscience Information Framework: A Scalable Platform for Information E...The Neuroscience Information Framework: A Scalable Platform for Information E...
The Neuroscience Information Framework: A Scalable Platform for Information E...
 
Open Source Software and Libraries: Practical Applications [panel discussion]
Open Source Software and Libraries: Practical Applications [panel discussion]  Open Source Software and Libraries: Practical Applications [panel discussion]
Open Source Software and Libraries: Practical Applications [panel discussion]
 
Linked Open Data
Linked Open DataLinked Open Data
Linked Open Data
 
Scholarly Communication May 12-13, 2009
Scholarly Communication May 12-13, 2009Scholarly Communication May 12-13, 2009
Scholarly Communication May 12-13, 2009
 
Sadler niso-apr13
Sadler niso-apr13Sadler niso-apr13
Sadler niso-apr13
 
Open Annotation, Specifiers and Specific Resources tutorial
Open Annotation, Specifiers and Specific Resources tutorialOpen Annotation, Specifiers and Specific Resources tutorial
Open Annotation, Specifiers and Specific Resources tutorial
 
Digital Library Federation, Fall 07, Connotea Presentation
Digital Library Federation, Fall 07, Connotea PresentationDigital Library Federation, Fall 07, Connotea Presentation
Digital Library Federation, Fall 07, Connotea Presentation
 

Mehr von Robert Sanderson

Mehr von Robert Sanderson (20)

Understanding Linked Art
Understanding Linked ArtUnderstanding Linked Art
Understanding Linked Art
 
LUX - Cross Collections Cultural Heritage at Yale
LUX - Cross Collections Cultural Heritage at YaleLUX - Cross Collections Cultural Heritage at Yale
LUX - Cross Collections Cultural Heritage at Yale
 
Zoom as a Paradigm for Linked Open Usable Data
Zoom as a Paradigm for Linked Open Usable DataZoom as a Paradigm for Linked Open Usable Data
Zoom as a Paradigm for Linked Open Usable Data
 
Provenance and Uncertainty in Linked Art
Provenance and Uncertainty in Linked ArtProvenance and Uncertainty in Linked Art
Provenance and Uncertainty in Linked Art
 
Data is our Product: Thoughts on LOD Sustainability
Data is our Product: Thoughts on LOD SustainabilityData is our Product: Thoughts on LOD Sustainability
Data is our Product: Thoughts on LOD Sustainability
 
A Perspective on Wikidata: Ecosystems, Trust, and Usability
A Perspective on Wikidata: Ecosystems, Trust, and UsabilityA Perspective on Wikidata: Ecosystems, Trust, and Usability
A Perspective on Wikidata: Ecosystems, Trust, and Usability
 
Linked Art: Sustainable Cultural Knowledge through Linked Open Usable Data
Linked Art: Sustainable Cultural Knowledge through Linked Open Usable DataLinked Art: Sustainable Cultural Knowledge through Linked Open Usable Data
Linked Art: Sustainable Cultural Knowledge through Linked Open Usable Data
 
Illusions of Grandeur: Trust and Belief in Cultural Heritage Linked Open Data
Illusions of Grandeur: Trust and Belief in Cultural Heritage Linked Open DataIllusions of Grandeur: Trust and Belief in Cultural Heritage Linked Open Data
Illusions of Grandeur: Trust and Belief in Cultural Heritage Linked Open Data
 
Structural Metadata in RDF (IS575)
Structural Metadata in RDF (IS575)Structural Metadata in RDF (IS575)
Structural Metadata in RDF (IS575)
 
Sanderson CNI 2020 Keynote - Cultural Heritage Research Data Ecosystem
Sanderson CNI 2020 Keynote - Cultural Heritage Research Data EcosystemSanderson CNI 2020 Keynote - Cultural Heritage Research Data Ecosystem
Sanderson CNI 2020 Keynote - Cultural Heritage Research Data Ecosystem
 
Tiers of Abstraction and Audience in Cultural Heritage Data Modeling
Tiers of Abstraction and Audience in Cultural Heritage Data ModelingTiers of Abstraction and Audience in Cultural Heritage Data Modeling
Tiers of Abstraction and Audience in Cultural Heritage Data Modeling
 
The Importance of being LOUD
The Importance of being LOUDThe Importance of being LOUD
The Importance of being LOUD
 
Introduction to Linked Art Model
Introduction to Linked Art ModelIntroduction to Linked Art Model
Introduction to Linked Art Model
 
Standards and Communities: Connected People, Consistent Data, Usable Applicat...
Standards and Communities: Connected People, Consistent Data, Usable Applicat...Standards and Communities: Connected People, Consistent Data, Usable Applicat...
Standards and Communities: Connected People, Consistent Data, Usable Applicat...
 
Strong Opinions, Weakly Held
Strong Opinions, Weakly HeldStrong Opinions, Weakly Held
Strong Opinions, Weakly Held
 
IIIF Discovery Walkthrough
IIIF Discovery WalkthroughIIIF Discovery Walkthrough
IIIF Discovery Walkthrough
 
Linked Art: An Art Museum Profile for CIDOC-CRM
Linked Art: An Art Museum Profile for CIDOC-CRMLinked Art: An Art Museum Profile for CIDOC-CRM
Linked Art: An Art Museum Profile for CIDOC-CRM
 
Euromed2018 Keynote: Usability over Completeness, Community over Committee
Euromed2018 Keynote: Usability over Completeness, Community over CommitteeEuromed2018 Keynote: Usability over Completeness, Community over Committee
Euromed2018 Keynote: Usability over Completeness, Community over Committee
 
Linked Art - Our Linked Open Usable Data Model
Linked Art - Our Linked Open Usable Data ModelLinked Art - Our Linked Open Usable Data Model
Linked Art - Our Linked Open Usable Data Model
 
EuropeanaTech Keynote: Shout it out LOUD
EuropeanaTech Keynote: Shout it out LOUDEuropeanaTech Keynote: Shout it out LOUD
EuropeanaTech Keynote: Shout it out LOUD
 

Kürzlich hochgeladen

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Kürzlich hochgeladen (20)

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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Multiplicity and Publishing in Open Annotation (tutorial)

  • 1. Open Annotation Data Model: Multiplicity and Publishing Modules Robert Sanderson azaroth42@gmail.com Los Alamos National Laboratory @azaroth42 Paolo Ciccarese paolo.ciccarese@gmail.com Harvard Medical School @paolociccarese (Community Group Co-Chairs) Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 1
  • 2. Multiplicity The Data Model allows for multiple bodies and multiple targets •  Easiest: Multiple instances of hasBody, hasTarget •  Issue: What are the semantics? Multiples of hasBody/hasTarget: Treated individually Requirements: •  Choice: Only one resource needs to be displayed •  Composite: All resources are required together, as a set •  List: All resources are required together, with order Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 2
  • 3. Multiplicity: Choice Choice: Rendering agent should choose one resource to display oa:default: The default resource of the Annotation’s producer oa:item: Another possible resource Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 3
  • 4. Multiplicity: Choice Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 4
  • 5. Multiplicity: Composite Composite: A set of resources, all of which are required to understand the Annotation correctly Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 5
  • 6. Multiplicity: Composite Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 6
  • 7. Multiplicity: List Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 7
  • 8. Multiplicity: List Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 8
  • 9. Publishing Annotations The Data Model is only a model, not a protocol: •  Does not specify interactions between client/server •  Does not limit additional descriptive features •  Does not specify annotation search, retrieval or management Some aspects related to publishing are important: •  Serialization of the model •  Embedding resources •  Including other graphs •  Equivalence of resources Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 9
  • 10. Publishing: JSON-LD Serialization JSON-LD is the latest RDF serialization: http://json-ld.org/spec/latest/json-ld/ Open Annotation recommends its use over RDF/XML: •  Easier for developers •  More web application friendly •  Looks like JSON (with appropriate context) •  So special parser not required •  Easy to generate without special libraries RDF/XML and Turtle are also recommended, if content negotiation is supported. Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 10
  • 11. Publishing: JSON-LD Context JSON-LD has a Context description which maps JSON object keys to RDF predicates, and assigns namespace prefixes: {“@context”:{ “oa”: “http://www.w3.org/ns/oa#”, “cnt”: “http://www.w3.org/2011/content#”, “dc”: “http://purl.org/dc/elements/1.1/”, … “hasBody”: {“@type”:”@id”, “@id”:”oa:hasBody”}, “hasTarget”: {“@type”:”@id”, “@id”:”oa:hasTarget”}, … “chars”: “cnt:chars”, “format”: “dc:format”, “when”: “oa:when” … } } Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 11
  • 12. Publishing: JSON-LD Example Reuse of the Context definition makes simple annotations simple: { “@context”: “http://www.w3.org/ns/oa-context-20130208.json”, “@type”: “oa:Annotation”, “hasBody”: “http://www.youtube.com/watch?v=fgg2tpUVbXQ”, ”hasTarget”: ”http://zebu.uoregon.edu/hudf/hudf_300dpi.jpg” } Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 12
  • 13. Publishing: JSON-LD Example And complex annotations still (somewhat) readable: { “@context”: “http://www.w3.org/ns/oa-context-20130208.json”, “@id”: “http://www.example.org/annotations/1.json”, “@type”: “oa:Annotation”, “annotatedAt”: “2012-11-10T09:08:07”, “annotatedBy”: { “@id” : “http://www.example.com/people/rsanderson”, “@type”: “foaf:Person”, “mbox”: “rsanderson@example.com”}, “hasBody”: “http://www.youtube.com/watch?v=fgg2tpUVbXQ”, … Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 13
  • 14. Publishing: JSON-LD Example (cont) ”hasTarget”: { ”@id”: ”urn:uuid:1d823e02-60a1-47ae-bc872081729c”, ”@type”: ”oa:SpecificResource”, ”hasSelector”: { ”@id”: ”urn:uuid:6e353e12-30c2-98a3-39ff2081729c”, ”@type”: ”oa:FragmentSelector”, ”conformsTo”: ”http://www.w3.org/TR/media-frags”, ”value”: ”xywh=10,10,5,5” } ”hasSource”: { ”@id”: ”http://zebu.uoregon.edu/hudf/hudf_300dpi.jpg”, ”@type”: ”dcterms:Image” } } Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 14
  • 15. Publishing: Embedding Resources Resources other than the body can benefit from being embedded: •  SVG Selector •  CSS Style Potentially other resources: •  When the resource is offline, and being sent along with the annotation to a publishing server •  For preservation •  To include the exact representation, perhaps otherwise un- obtainable Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 15
  • 16. Publishing: Embedding Resources The Content in RDF specification is reused: Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 16
  • 17. Publishing: Embedding Resources Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 17
  • 18. Publishing: Embedding RDF Graphs It is useful to embed RDF graphs within the Annotation. Prefer to use Content in RDF approach, but if Trig/Trix is requested: Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 18
  • 19. Publishing: Embedding RDF Graphs Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 19
  • 20. Publishing: Equivalent Resources Useful to know that Annotations (and other resources) have been duplicated between systems: Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 20
  • 21. Publishing: Equivalent Resources Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 21
  • 22. Extending Motivations The Data Model defines only a few core Motivations Intent is for communities to extend as necessary: 1.  Create a new ConceptScheme (vocabulary/taxonomy) 2.  Create a new instance of oa:Motivation 3.  Link new instance to at least one existing Motivation if possible 4.  Assign labels and other information to describe its use Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 22
  • 23. Extending Motivations Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 23
  • 24. Extending Motivations Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 24
  • 25. Thank You Robert Sanderson azaroth42@gmail.com Los Alamos National Laboratory @azaroth42 Paolo Ciccarese paolo.ciccarese@gmail.com Harvard Medical School @paolociccarese (Community Group Co-Chairs) http://www.flickr.com/photos/hinkeb/5232293964/ http://www.w3.org/community/openannotation/ http://www.openannotation.org/ Open Annotation Community Group West Coast Open Annotation Rollout http://www.w3.org/community/openannotation/ April 9th 2013, Stanford, CA, USA 25