name: inverse layout: true class: center, middle, inverse --- # GBIF Multimedia Support SPNHC-TDWG 2018 Dunedin, New Zealand Matthew Blissett ⧸ mblissett@gbif.org --- layout: false class: normal # Multimedia in GBIF.org - 1 billion occurrences. - 27 million have multimedia — but 95 million multimedia items. .squash[![NZ](./gallery-nz.jpg)] https://www.gbif.org/occurrence/gallery?country=NZ ??? Hi everyone, I'm going to talk about GBIF's use of the Darwin Core multimedia extensions. It's two years since the "new" GBIF website was previewed, and a year since it replaced the old one, and the gallery views on search results and species pages have caused many more data providers to map multimedia to their occurrences. --- class: normal # Three supported extensions GBIF handles three multimedia extensions: 1. Images (deprecated) 2. Simple multimedia 3. Audubon Media Description --- class: normal # Images extension `http://rs.gbif.org/extension/gbif/1.0/images.xml` - Used by 58 datasets - It will continue to work - Deprecated — don't use it for anything new ??? It's still used by 58 datasets, but don't use it for anything new. Once we support something, we don't remove support until all datasets have migrated away from it -- which is probably never. --- class: normal # Simple multimedia extension `http://rs.gbif.org/extension/gbif/1.0/multimedia.xml` - Used by about 1000 datasets - All terms supported by GBIF - Fine for many use cases ??? All the terms defined in the extension are added to the GBIF index This is fully supported by the GBIF indexing thing. This is fine for many straightforward cases, like a picture of a pressed herbarium specimen, but only provides the minimal information -- the image location (or locations), license, format, title, description and so on. --- class: normal # Audobon Media Description `http://rs.gbif.org/extension/ac/audubon.xml` - Partial support was added in June 2016. - [🦋🐝🐞🐜🐛](https://github.com/gbif/occurrence/issues/59)! - Used by about 150 datasets. - Lots more we can do with this standard. ??? Support for this extension was supposed to be equivalent to the "simple multimedia" extension, but in preparing this presentation I've found there are some gaps. I'll get these fixed fairly soon. --- class: normal # Potential improvements using AC Audobon Core includes many new terms, and GBIF isn't yet using any of them. Here's some things we could add: --- class: normal ## `ac:variant` - Used to mark different resolutions/qualities of images, e.g. with `BestQuality` and `Thumbnail`. .pull-left[![Kiwi](https://api.gbif.org/v1/image/unsafe/http%3A%2F%2Fmczbase.mcz.harvard.edu%2Fspecimen_images%2Fornithology%2Flarge%2FMCZ29914_Apteryx_sp_1.jpg)] .pull-right[![KiwiThumb](https://api.gbif.org/v1/image/unsafe/http%3A%2F%2Fmczbase.mcz.harvard.edu%2Fspecimen_images%2Fornithology%2Fthumbnails%2FMCZ29914_Apteryx_sp_1.jpg)]
https://www.gbif.org/occurrence/997649940 - Validation? ??? That's already fairly well defined, but we should add some validation (only one BestQuality?). --- class: normal ## `Text` type We have the [MediaTypes](https://gbif.github.io/gbif-api/apidocs/org/gbif/api/vocabulary/MediaType.html#enum.constant.summary) `StillImage`, `MovingImage` and `Sound`. - Add `Text` for multimedia representations of text, such as a specimen label, collecting permit or field notes. .squash[![Gallery labels](./gallery-labels.jpg)] https://www.gbif.org/occurrence/gallery?dataset_key=005eb8d8-ed94-41be-89cf-e3115a9058e4 ??? We can then show the specimen, rather than its label, in search results. https://www.gbif.org/occurrence/gallery?dataset_key=005eb8d8-ed94-41be-89cf-e3115a9058e4 I'm not sure if anyone's using this, but people are providing labels, collecting permits, field notes; sometimes in PDF/document format, sometimes images. --- class: normal ## `ac:subjectOrientation` - No-one is providing this. - Set to values like `dorsal`, `ventral`, `frontal` .squash[![Ants](./gallery-ants.jpg)] https://www.gbif.org/occurrence/gallery?dataset_key=13b70480-bd69-11dd-b15f-b8a03c50a862 ??? This should be good for showing the frontal view of all these ants, which makes it easier to compare them. --- class: normal ## `ac:subjectPart`, `ac:sex`, `ac:lifeStage` - Not controlled vocabularies, but neither are the occurrence terms. - Search for "adult male skull, frontal view". .squash[![Butterflies](./gallery-butterflies.jpg)] https://www.gbif.org/occurrence/gallery?taxon_key=1919712 --- class: normal ## `ac:serviceExpectation` - Tells us when a URI points to an access page for a resource, rather than the resource itself. - Suggested value `authenticate`, but not for an intermediate page .squash[![Broken](./gallery-broken.png)] --- class: normal # Mapping using the IPT This is done in the same way as any other extension. .squash[![IPT](./ipt-mapping-ac.png)] --- class: center, middle, inverse # Questions?
→ Feedback button 🗩
→ or [GitHub](https://github.com/gbif/)
→ the mailing lists [lists.gbif.org](https://lists.gbif.org)
→ and [helpdesk@gbif.org](mailto:helpdesk@gbif.org)
Matthew Blissett ⧸ mblissett@gbif.org / [gbif.org](https://www.gbif.org/)
![CC0](https://mirrors.creativecommons.org/presskit/buttons/80x15/svg/cc-zero.svg) https://labs.gbif.org/~mblissett/2018/08/gbif-multimedia-support/
Slideshow created using [remark](https://remarkjs.com/).