Hydra for Web Annotations

1,225 views

Published on

Recent activity in adding actions to schema.org and the Hydra CG allow for new mechanisms to automatically provision applications to interact with web services. Coupled with semantic markup of web-pages using RDFa or microdata, actions can provide a mechanism annotating web pages specifically provisioned for this, in cooperation with the publishing service. JSON-LD enables a common language to be used among services, so that clients can have a single format for communicating actions to a service, even if the details vary between different service providers.

Annotating web pages not specifically provisioned for actions may be accomplished in a similar way by using semantic markup inherent in HTML5 documents. Using an operation overlay, annotation operations (and really any other type of action) cold be supported by a third-party annotation service, which implicitly adds markup to a page (using JQuery, for example) which describes alternative service endpoints for sending such operations. When a common overlay service is used by many users, the annotations and other operations performed within a community may become generally available.

Published in: Internet
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,225
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Hydra for Web Annotations

  1. 1. Hydra for Web Annotations Gregg Kellogg W3C Annotation Workshop, San Francisco CA 2 April 2014
  2. 2. What is Hydra? • W3C Community Group for Linked APIs • REST + Linked Data • “At the intersection of web schemas and RESTful web applications” © http://vonwong.com
  3. 3. Automated API Provisioning • Problem: How do I use an API without specifically coding for it? • Answer: Use vocabulary to define operations on classes and properties • Proposition: Annotations are the result of operations on entities or the relationships between entities. • Those results are also entities, which may be operated upon.
  4. 4. Use Case: Q/A • Given profile page for a Sports Personality, how can I interact with that entity? • follow • (dis)like • share • question • suggest relation
  5. 5. Links and Operations • Define operations on entities, types of entities, or their properties. • When does a property link to an entity? • How do you use pagination to reference and collect linked entities? • What operations can I perform on an entity, or property of that entity? • Where does authentication/authorization intersect with generic API interactions?
  6. 6. More Information hydra-cg.com W3C CG Gregg Kellogg @gkellogg gregg@greggkellogg.net http://greggkellogg.net/

×