Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

Open Annotation RDFa using Hypothes.is JSON

By bigbluehat | 15 October, 2014

The Open Annotation Core Data Model is something we’re keen to include in future Hypothes.is releases. We’re exploring using it via JSON-LD natively in AnnotatorJS. Along the way, we’re experimenting and growing our understanding of the specification.

RDFa allows us to mix the Open Annotation Core Data Model into existing HTML markup. In an effort to understand how this all might work, I built a small RequireBin to see how far I could get using the existing Hypothes.is/AnnotatorJS JSON object.

Here’s the result (or view it on RequireBin):

The <textarea> contents are the most interesting part (so far). There some minimal HTML markup with some explanatory RDFa attributes that use the Open Annotation Core Data Model to “explain” the data in the markup.

If you’re curious what this might look like visualized as a graph or represented in Turtle, copy and paste the contents of that text area into RDFa Play.

Feedback extremely welcome!

It’s early days yet, so any and all input is welcome. Feel free to send an email to bigbluehat@hypothes.is or ping me on Twitter @bigbluehat.

Cheers!

Share this article