Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,

  • Published on
    14-Dec-2015

  • View
    213

  • Download
    0

Embed Size (px)

Transcript

  • Slide 1

Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Universit de Montral / Canadensys @dpsSpiders, @christgendreau Slide 2 Biodiversity Knowledge Graph Slide 3 RESTful & Resourceful APIs Slide 4 JSON (JavaScript Object Notation) Slide 5 Slide 6 Slide 7 Slide 8 OpenURL Created by librarian at University of Ghent in 1990s Used by libraries to connect patrons to subscription content Assists with the resolution of a request for a web resource ANSI/NISO Z39.88 standard Base URL + structured query string Slide 9 OpenURL Version 0.1 http://resolver.example.edu/cgi?genre=book& isbn=0836218310&title=The+Far+Side+Galler y+3 Version 1.0 http://resolver.example.edu/cgi?url_ver=Z39. 88- 2004&rft_val_fmt=info:ofi/fmt:kev:mtx:book &rft.isbn=0836218310&rft.btitle=The+Far+Sid e+Gallery+3 Slide 10 COinS (Content in Spans) in HTML Slide 11 Slide 12 http://www.biodiversitylibrary.org/openurlhelp.aspx Slide 13 Problems with OpenURL Never fully satisfied anyone Search vs. find Granularity of linking (journal? article? page?) Lazy exposure of known holdings Output does not have a specified format Slide 14 OpenURL Well-specified query parameters Versioning is explicit Slide 15 Are there Canadidate Query Parameters in Our Community? Slide 16 Slide 17 What About the Response Structure? Slide 18 Vascular Plants of Canada http://data.canadensys.net/vascan/api Slide 19 Slide 20 http://eol.org/api/pages/1.0/1045608.json Slide 21 http://www.itis.gov///getFullRecordFromTSN?tsn=202384 Slide 22 JSON-LD Slide 23 W3C Recommendation, January 2014 Allows specification of @contexts What the terms mean & what are their characteristics Allows specification of @id May not break existing API responses Transformation tools to express as RDF Slide 24 Example Encyclopedia of Life TraitBank Slide 25 JSON-LD Well-specified semantics and structure for the content Slide 26 Take Home Messages We should express versioning in our APIs We should reuse DwC terms as API query parameters We should use JSON-LD for API responses Consumers can use services with (greater) confidence Documentation can be shared It may be possible to inch toward a simple, effective biodiversity knowledge graph without breaking existing JSON-based APIs Slide 27 How Do We Get There? Workflow and Services Interest Group Develop a common set of requirements Early adopters Proofs-of-concept, client applications Libraries of code to consume A name and a web presence

Recommended

View more >