annotation tools (oa european roll out)

15
Annota&on tools and services Anna Gerber ITEE eResearch Group The University of Queensland AustESE Australian Electronic Scholarly Editing

Upload: annagerber

Post on 24-Apr-2015

662 views

Category:

Technology


1 download

DESCRIPTION

AustESE annotation tools and services. Presented at OA Roll Out meeting, Manchester June 2013.

TRANSCRIPT

Page 1: Annotation Tools (OA European Roll Out)

Annota&on  tools  and  services  

Anna  Gerber  

ITEE  eResearch  Group  The  University  of  Queensland    

AustESEAustralian Electronic Scholarly Editing

Page 2: Annotation Tools (OA European Roll Out)

Tools:  lorestore  

lorestore  Annota&on  Repository  

Search,  query,  display,  validate  &  subscribe  to  annotaAons  &  resource  maps  

Web  UI  to  administer  content  and  users  

OpAonally  manage  user  accounts  and  permissions  or  hook  into  exisAng  accounts  system  e.g.  drupal  

Page 3: Annotation Tools (OA European Roll Out)

AnnotaAon  ValidaAon  

•  ValidaAon  service  to  check  constraints  from  the  core  spec  

•  ValidaAon  rules  implemented  as  SPARQL  1.1  queries  

Page 4: Annotation Tools (OA European Roll Out)

ValidaAon  Rules  

{                      "ref":  "2.1.0.  (5)  Body  and  Target  Resources",                      "url":  "hUp://www.openannotaAon.org/spec/core/core.html#BodyTarget",                      "descripAon":  "There  MUST  be  1  or  more  oa:hasTarget  relaAonships  associated  with  an  AnnotaAon.",                      "severity":  "error",                      "precondiAonMessage":  "No  AnnotaAons  idenAfied",                      "precondiAon":  "PREFIX  oa:  <hUp://www.w3.org/ns/oa#>    

       ASK  WHERE  {                                {  ?annotaAon  oa:hasTarget  ?t  }                                UNION  {  ?annotaAon  a  oa:AnnotaAon  }                        }",                      "query":  "PREFIX  oa:  <hUp://www.w3.org/ns/oa#>              SELECT  ?annotaAon  WHERE  {                                ?annotaAon  a  oa:AnnotaAon  .                                FILTER(NOT  EXISTS  {  ?annotaAon  oa:hasTarget  ?t  })                          }"              },  

Page 5: Annotation Tools (OA European Roll Out)

AnnotaAon  views:  textual  

Page 6: Annotation Tools (OA European Roll Out)

AnnotaAon  views:  graphical  

eResearch  Australasia  2012  

Page 7: Annotation Tools (OA European Roll Out)

SPARQL  endpoint  

Page 8: Annotation Tools (OA European Roll Out)

REST  API  

•  REST  API  for  creaAng,  retrieving,  updaAng,  deleAng  and  querying  annotaAons  &  resource  maps  

•  Documented  in  developer  docs  built  into  lorestore  web  UI  

•  Atom  feeds  for  query  results  

eResearch  Australasia  2012  

Page 9: Annotation Tools (OA European Roll Out)

lorestore  implementaAon  

•  Implemented  as  a  Java  web  applicaAon  •  Available  as  a  prebuilt  war  file  or  as  source  (build  using  Apache  Maven)  

•  Configured  via  properAes  files  •  Can  be  customized  using  war  overlays  

Page 10: Annotation Tools (OA European Roll Out)

Tools:  lore  

eResearch  Australasia  2012  

lore  Annota&on  Client  •  Firefox  add-­‐on  &  open  social  gadget  •  create,  edit,  search,  browse  annotaAons  

and  resource  maps  

Page 11: Annotation Tools (OA European Roll Out)

Tools:  Annotator  

AustESE  Annotator  •  JavaScript  AnnotaAon  client  •  Extends  OKFN  Annoator  •  Create,  edit  &  display  basic  

annotaAons  

Page 12: Annotation Tools (OA European Roll Out)

AustESE  Annotator  Plugins  

LoreStore

Maps  the  internal  JSON  data  structure  used  to  represent  annotaAons  in  the  Annotator  system  to  an  equivalent  OA  JSON-­‐LD  serializaAon.  Also  implements  a  protocol  for  communicaAng  with  our  OA-­‐compliant  annotaAon  repository.

Image Enables  the  selecAon  and  annotaAon  of  rectangular  regions  of  images

CharacterRange

Calculates  character  offsets  and  text  selecAons  used  to  idenAfy  the  part  of  the  (text-­‐based)  resource  being  annotated  across  representaAons.

Mo&va&on Allows  users  to  aUach  custom  MoAvaAons  (e.g.  ExplanatoryNote,   TextualNote,   Glossary)   to  annotaAons.

Reply Enables  discussion  between  editors,  scholars  and  readers.

Prov Records  and  displays  provenance  (creator,  creaAon  Ame)  for  an  AnnotaAon.

Page 13: Annotation Tools (OA European Roll Out)

Drupal  Plugin  

•  Drupal  7  plugin  to  integrate  AustESE  annotator  plugins  with  the  AustESE  Workbench  – Loads  and  configures  Annotator  and  plugins  for  all  transcripAons  and  content  images  

– Provides  search  UI  – Adds  HTML5  data  aUributes  to  idenAfy  transcripAons  and  images  (independently  of  format  or  page  URI)  

Page 14: Annotation Tools (OA European Roll Out)

Open  Source  

•  AnnotaAon  server  –  lorestore  

•  hUps://github.com/uq-­‐eresearch/lorestore    

•  AnnotaAon  clients  –  lore  

•  hUps://github.com/uq-­‐eresearch/lore    – AustESE  Annotator  Plugins  

•  hUps://github.com/uq-­‐eresearch/annotator  – Drupal  plugin  

•  hUps://github.com/uq-­‐eresearch/austese_annotaAons  

See  hUp://uq-­‐eresearch.github.io/AustESE/  for  more  detail  

Page 15: Annotation Tools (OA European Roll Out)

Contact  

Anna  Gerber  

[email protected]  

ITEE  eResearch  Group  

The  University  of  Queensland