Anno4j - Idiomatic Access to the W3C Web Annotation Data Model
The Web Annotation Data Model proposes standardised RDF structures to form “Web Annotations”. These annotations are used to express metadata information about digital resources and are designed to be shared, linked, tracked back, as well as searched and discovered across different peers. Although this is an expressive and rich way to create metadata, there exists a barrier for non-RDF and SPARQL experts to create and query such information. We propose Anno4j, a Java-based library, as a solution to this problem. The library supports an Object-RDF mapping that enables users to generate Web Annotations by creating plain old Java objects - concepts they are familiar with - while a path-based querying mechanism allows comprehensive information querying. Anno4j follows natural object-oriented idioms including inheritance, polymorphism, and composition to facilitate the development. While supporting the functionality of the Web Annotation Data Model, the library is implemented in a modular way, enabling developers to add enhancements and use case specific model alterations. Features like plugin functionality, transactions, and input/output methods further decrease the boundary for non-RDF experts.
KeywordsSemantic Web Linked Data Web Annotations Java Developer tool
The presented work was developed within the MICO project partially funded by the EU Seventh Framework Programme, grant agreement number 610480.
- 1.Aichroth, P., Sieland, M., Cuccovillo, L., Köllmer, T.: The mico broker: an orchestration framework for linked data extractors. In: Joint Proceedings of the 4th International Workshop on Linked Media and the 3rd Developers Hackshop (LiME 2016, SemDev 2016), Co-located with 13th Extended Semantic Web Conference ESWC 2016 Heraklion, Crete, Greece, 30 May 2016Google Scholar
- 2.Bizer, C., Heath, T., Berners-Lee, T.: Linked data-the story so far. In: Semantic Services, Interoperability and Web Applications: Emerging Concepts, pp. 205–227 (2009)Google Scholar
- 3.Kurz, T., Schlegel, K., Kosch, H.: Enabling access to linked media with SPARQL-MM. In: Proceedings of the 24nd International Conference on World Wide Web (WWW2015) Companion (LIME15) (2015)Google Scholar
- 4.Manola, F., Miller, E.: RDF primer. W3C Recommendation, W3C, February 2004. http://www.w3.org/TR/2004/REC-rdf-primer-20040210/
- 5.Pyysalo, S., Campos, J., Cejuela, J.M., Ginter, F., Hakala, K., Li, C., Stenetorp, P., Jensen, L.J.: Sharing annotations better: RESTful open annotation. In: ACL-IJCNLP 2015, p. 91 (2015)Google Scholar
- 6.Sanderson, R.: WAP web annotation protocol. W3C Working Draft, W3C (2015). https://www.w3.org/TR/annotation-protocol/
- 7.Sanderson, R., Ciccarese, P., de Sompel, H.V.: OADM open annotation data model. W3C Community Draft, W3C, February 2013. http://www.openannotation.org/spec/core/
- 8.Sanderson, R., Ciccarese, P., Young, B.: WADM web annotation data model. W3C Working draft, W3C, October 2015. https://www.w3.org/TR/annotation-model/
- 9.Schlegel, K., Berndl, E., Granitzer, M., Kosch, H., Kurz, T.: A platform for contextual multimedia data: towards a unified metadata model and querying. In: Proceedings of the 15th International Conference on Knowledge Technologies and Data-Driven Business, i-KNOW 2015, pp. 1:1–1:8. ACM, New York (2015). http://doi.acm.org/10.1145/2809563.2809586
- 10.Speicher, S., Arwe, J., Malhotra, A.: LDP linked data platform 1.0. W3C Recommendation, W3C, February 2015. https://www.w3.org/TR/ldp/