<commit_before>---
layout: post
title: Models in Fashion
date: 2018-08-16
categories:
- bioinformatics
- biology
- ecology
- open data
- species interactions
tags: []
status: published
type: post
published: true
---


<div class="figure figure-globi left"><a href="https://www.inaturalist.org/observations/786129" target="_blank"><img
        src="https://static.inaturalist.org/photos/275923/medium.jpg?1363705043" alt="Desert Island"/></a>

    <div class="figcaption">
        <p>This photo of an Eastern Pondhawk (<a href="https://www.inaturalist.org/taxa/61495" target="_blank"><em>Erythemis simplicicollis</em></a>) <a href="https://www.inaturalist.org/observation_fields/3011" target="_blank">preying on</a> a Narrow-winged Damselfly (<a href="https://www.inaturalist.org/taxa/47925" target="_blank"><em>Family Coenagrionidae</em></a>) was found by GloBI using a <a href="#json">JSON</a>-based integration with <a href="https://inaturalist.org" target="_blank">iNaturalist</a>. Photo 987870 © <a href="https://www.inaturalist.org/people/greglasley" target="_blank">greglasley</a>, some rights reserved (CC BY-NC), uploaded by <NAME>. 
        </p>
    </div>
</div>

GloBI adapts to whatever contributors decided to express their digital data in and currently supports over 40+ flavors of species interaction data formats. This makes GloBI both fashionable and unfashionable – newer, hipper formats/models are supported as well as those that have been around for a while. Being fashionable has the advantage of appealing to the new hip kids in town. Supporting the older formats, however, might actually be crucial to preserve valuable datasets from previous generations. 

In this post, I’ll give some examples of formats currently used to share species interaction datasets. To help navigate through the various approaches, examplar datasets are described that fit into the following categories: [single tabular text file](#single-tabular-text-files), [multi-tabular text files](#multi-tabular-text-files), [json](#json), [rdf/owl/json-ld](#rdfowljson-ld), and [Darwin Core Archives](#darwin-core-archives). And, I'll end with sharing some [closing thoughts](#closing-thoughts).<commit_msg>add a note about GloBIs internal data model to blog post. fyi @cmungall<commit_after>---
layout: post
title: Models in Fashion
date: 2018-08-16
categories:
- bioinformatics
- biology
- ecology
- open data
- species interactions
tags: []
status: published
type: post
published: true
---


<div class="figure figure-globi left"><a href="https://www.inaturalist.org/observations/786129" target="_blank"><img
        src="https://static.inaturalist.org/photos/275923/medium.jpg?1363705043" alt="Desert Island"/></a>

    <div class="figcaption">
        <p>This photo of an Eastern Pondhawk (<a href="https://www.inaturalist.org/taxa/61495" target="_blank"><em>Erythemis simplicicollis</em></a>) <a href="https://www.inaturalist.org/observation_fields/3011" target="_blank">preying on</a> a Narrow-winged Damselfly (<a href="https://www.inaturalist.org/taxa/47925" target="_blank"><em>Family Coenagrionidae</em></a>) was found by GloBI using a <a href="#json">JSON</a>-based integration with <a href="https://inaturalist.org" target="_blank">iNaturalist</a>. Photo 987870 © <a href="https://www.inaturalist.org/people/greglasley" target="_blank">greglasley</a>, some rights reserved (CC BY-NC), uploaded by <NAME>. 
        </p>
    </div>
</div>

GloBI adapts to whatever contributors decided to express their digital data in and currently supports over 40+ flavors of species interaction data formats. This makes GloBI both fashionable and unfashionable – newer, hipper formats/models are supported as well as those that have been around for a while. Being fashionable has the advantage of appealing to the new hip kids in town. Supporting the older formats, however, might actually be crucial to preserve valuable datasets from previous generations. Note that GloBI uses an internal representation to help link heterogeneous datasets. While this [internal data model](https://speakerdeck.com/jhpoelen592/global-biotic-interactions-a-catalyst?slide=5) (see [here](https://speakerdeck.com/jhpoelen592/global-biotic-interactions-a-catalyst?slide=5)) may inspire others to capture their species interaction data, the model is expected to continue to evolve to meet our integration needs. 

In this post, I’ll give some examples of formats currently used to share species interaction datasets. To help navigate through the various approaches, examplar datasets are described that fit into the following categories: [single tabular text file](#single-tabular-text-files), [multi-tabular text files](#multi-tabular-text-files), [json](#json), [rdf/owl/json-ld](#rdfowljson-ld), and [Darwin Core Archives](#darwin-core-archives). And, I'll end with sharing some [closing thoughts](#closing-thoughts).
{'fraction_non_alphanumeric': 0.12004089979550102, 'fraction_numerical': 0.022903885480572598, 'mean_word_length': 5.198986058301648, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 16, 'lorem ipsum': 0, 'www.': 10, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3296712', 'n_tokens_mistral': 1519, 'n_tokens_neox': 1365, 'n_words': 486}