simplifying the mechanics toward building a biodiversity knowledge graph david p. shorthouse...
TRANSCRIPT
![Page 1: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/1.jpg)
Simplifying the mechanics toward building a Biodiversity
Knowledge Graph
David P. ShorthouseChristian Gendreau
Université de Montréal / Canadensys
@dpsSpiders, @christgendreau
![Page 2: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/2.jpg)
Biodiversity Knowledge Graph
![Page 3: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/3.jpg)
RESTful & Resourceful APIs
![Page 4: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/4.jpg)
JSON (JavaScript Object Notation)
![Page 5: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/5.jpg)
![Page 6: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/6.jpg)
![Page 7: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/7.jpg)
![Page 8: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/8.jpg)
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
![Page 9: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/9.jpg)
OpenURL
• Version 0.1 http://resolver.example.edu/cgi?genre=book&isbn=0836218310&title=The+Far+Side+Gallery+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+Side+Gallery+3
![Page 10: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/10.jpg)
COinS (Content in Spans) in HTML
<span class="Z3988" title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fmendeley.com%2Fmendeley&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.date=2014&rft.pages=n%2Fa-n%2Fa&rft.atitle=Three+decades+of+vegetation+changes+in+peatlands+isolated+in+an+agricultural+landscape&rft.jtitle=Applied+Vegetation+Science&rft.title=Applied+Vegetation+Science&rft.aulast=Pasquet&rft.aufirst=Salom%C3%A9&rft.au=Pellerin%2C+St%C3%A9phanie&rft.au=Poulin%2C+Monique&rft_id=info%3Adoi%2F10.1111%2Favsc.12142&rft.issn=14022001"><!--COinS--></span>
![Page 11: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/11.jpg)
![Page 12: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/12.jpg)
http://www.biodiversitylibrary.org/openurlhelp.aspx
![Page 13: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/13.jpg)
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
![Page 14: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/14.jpg)
OpenURL
Well-specified query parametersVersioning is explicit
![Page 15: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/15.jpg)
Are there Canadidate Query Parameters in Our Community?
![Page 16: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/16.jpg)
![Page 17: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/17.jpg)
What About the Response Structure?
![Page 18: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/18.jpg)
Vascular Plants of Canada
http://data.canadensys.net/vascan/api
![Page 19: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/19.jpg)
![Page 20: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/20.jpg)
http://eol.org/api/pages/1.0/1045608.json
![Page 21: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/21.jpg)
http://www.itis.gov/…/…/getFullRecordFromTSN?tsn=202384
![Page 22: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/22.jpg)
JSON-LD
![Page 23: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/23.jpg)
JSON-LD
• 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
![Page 24: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/24.jpg)
Example
Encyclopedia of Life TraitBank®
![Page 25: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/25.jpg)
JSON-LD
Well-specified semantics and structure for the content
![Page 26: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/26.jpg)
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
![Page 27: Simplifying the mechanics toward building a Biodiversity Knowledge Graph David P. Shorthouse Christian Gendreau Université de Montréal / Canadensys @dpsSpiders,](https://reader036.vdocuments.us/reader036/viewer/2022062515/56649c7c5503460f9492ffae/html5/thumbnails/27.jpg)
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