Data exchange explained

Data exchange is the process of taking data structured under a source schema and transforming it into a target schema, so that the target data is an accurate representation of the source data.[1] Data exchange allows data to be shared between different computer programs.

It is similar to the related concept of data integration except that data is actually restructured (with possible loss of content) in data exchange. There may be no way to transform an instance given all of the constraints. Conversely, there may be numerous ways to transform the instance (possibly infinitely many), in which case a "best" choice of solutions has to be identified and justified.

Single-domain data exchange

In some domains, a few dozen different source and target schema (proprietary data formats) may exist. An "exchange" or "interchange format" is often developed for a single domain, and then necessary routines (mappings) are written to (indirectly) transform/translate each and every source schema to each and every target schema by using the interchange format as an intermediate step.[2] That requires a lot less work than writing and debugging the hundreds of different routines that would be required to directly translate each and every source schema directly to each and every target schema.

Examples of these transformative interchange formats include:

Data exchange methods

There are two types of data exchange: broadcast data exchange vs peer-to-peer (unicast) data exchange.[9]

In a broadcast network, data is transmitted simultaneously to all participants. Just as a conference call, all participants get the exact same information from the speaker at the same time. [10]

In a peer-to-peer (unicast) data exchange model, data is sent only to the targeted receiver defined by a specific address. Just as a telephone call or a email, information only flows between two network participants. [11]

Data exchange languages

See also: Modeling language. A data interchange (or exchange) language/format is a language that is domain-independent and can be used for data from any kind of discipline.[12] They have "evolved from being markup and display-oriented to further support the encoding of metadata that describes the structural attributes of the information."[13]

Practice has shown that certain types of formal languages are better suited for this task than others, since their specification is driven by a formal process instead of particular software implementation needs. For example, XML is a markup language that was designed to enable the creation of dialects (the definition of domain-specific sublanguages).[14] However, it does not contain domain-specific dictionaries or fact types. Beneficial to a reliable data exchange is the availability of standard dictionaries-taxonomies and tools libraries such as parsers, schema validators, and transformation tools.

Popular languages used for data exchange

The following is a partial list of popular generic languages used for data exchange in multiple domains.

Name/AbbreviationSchemasFlexibleSemantic verificationDictionaryInformation ModelSynonyms and homonymsDialectingWeb standardTransformationsLightweightHuman readableCompatibility
class="table-rh" RDFSubset of Semantic web
class="table-rh" XMLsubset of SGML, HTML
class="table-rh" AtomXML dialect
class="table-rh" JSONsubset of YAML
class="table-rh" YAMLsuperset of JSON
class="table-rh" REBOL
class="table-rh" GellishISOSQL, RDF/XML, OWL

Nomenclature

Notes:

  1. RDF is a schema-flexible language.
  2. The schema of XML contains a very limited grammar and vocabulary.
  3. Available as an extension.
  4. In the default format, not the compact syntax.
  5. The syntax is fairly simple (the language was designed to be human-readable); the dialects may require domain knowledge.
  6. The standardized fact types are denoted by standardized English phrases, which interpretation and use needs some training.
  7. The Parse dialect is used to specify, validate, and transform dialects.
  8. The English version includes a Gellish English Dictionary-Taxonomy that also includes standardized fact types (= kinds of relations).

XML for data exchange

The popularity of XML for data exchange on the World Wide Web has several reasons. First of all, it is closely related to the preexisting standards Standard Generalized Markup Language (SGML) and Hypertext Markup Language (HTML), and as such a parser written to support these two languages can be easily extended to support XML as well. For example, XHTML has been defined as a format that is formal XML, but understood correctly by most (if not all) HTML parsers.

YAML for data exchange

YAML is a language that was designed to be human-readable (and as such to be easy to edit with any standard text editor). Its notion often is similar to reStructuredText or a Wiki syntax, who also try to be readable both by humans and computers. YAML 1.2 also includes a shorthand notion that is compatible with JSON, and as such any JSON document is also valid YAML; this however does not hold the other way.[16]

REBOL for data exchange

REBOL is a language that was designed to be human-readable and easy to edit using any standard text editor. To achieve that it uses a simple free-form syntax with minimal punctuation and a rich set of datatypes. REBOL datatypes like URLs, emails, date and time values, tuples, strings, tags, etc. respect the common standards. REBOL is designed to not need any additional meta-language, being designed in a metacircular fashion. The metacircularity of the language is the reason why, e.g., the Parse dialect used (not exclusively) for definitions and transformations of REBOL dialects is also itself a dialect of REBOL.[17] REBOL was used as a source of inspiration for JSON.[18]

Gellish for data exchange

Gellish English is a formalized subset of natural English, which includes a simple grammar and a large extensible English Dictionary-Taxonomy that defines the general and domain specific terminology (terms for concepts), whereas the concepts are arranged in a subtype-supertype hierarchy (a taxonomy), which supports inheritance of knowledge and requirements. The Dictionary-Taxonomy also includes standardized fact types (also called relation types). The terms and relation types together can be used to create and interpret expressions of facts, knowledge, requirements and other information. Gellish can be used in combination with SQL, RDF/XML, OWL and various other meta-languages. The Gellish standard is a combination of ISO 10303-221 (AP221) and ISO 15926.[19]

See also

Notes and References

  1. A. Doan, A. Halevy, and Z. Ives. "Principles of data integration", Morgan Kaufmann,s 2012 pp. 276
  2. Book: Foundations of Data Exchange . Arenas, M. . Barceló, P. . Libkin, L. . Murlak, F. . Cambridge University Press . 1–11 . 2014 . 9781107016163 . 25 May 2018.
  3. Book: Advances in CAD/CAM: Case Studies . Chapter 1: Directions for Engineering Data Exchange for Computer Aided Design and Manufacturing . Clancy, J.J. . Wang, P.C.C. . Springer Science & Business Media . 1–36 . 2012 . 9781461328193 . 25 May 2018.
  4. DIF: A format for data exchange between application programs . BYTE Magazine . Kalish, C.E. . Mayer, M.F. . 174 . November 1981.
  5. Web site: About ODF . OpenDoc Society . 25 May 2018.
  6. Book: GIS for Environmental Applications: A practical approach . Zhu, X. . Routledge . 2016 . 9781134094509 . 25 May 2018.
  7. Web site: KML Reference . Google Inc. . 21 January 2016 . 25 May 2018.
  8. Book: Generating Analog IC Layouts with LAYGEN II . Martins, R.M.F. . Lourenço, N.C.C. . Horta, N.C.G. . Springer Science & Business Media . 34 . 2012 . 9783642331466 . 25 May 2018.
  9. Heidarzadeh . A. . Sprintson . A. . 2017-03-30 . Optimal exchange of data over broadcast networks with adversaries . 2016 Information Theory and Applications Workshop (ITA) . 978-1-5090-2529-9 . IEEE.
  10. Web site: 2023-03-20 . What is a Broadcast? . 2024-04-03 . IONOS Digital Guide . en-CA.
  11. Web site: 2023-03-23 . Unicast . 2024-04-03 . IONOS Digital Guide . en-CA.
  12. General Data Interchange Language . ISPRS Archives . Billingsley, F.C. . 27 . B3 . 80–91 . 1988 . 25 May 2018 . The transformation routines will constitute a language and syntax which must be discipline and machine independent..
  13. Comparison of JSON and XML Data Interchange Formats: A Case Study . Scenario . Nurseitov, N. . Paulson, M. . Reynolds, R. . Izurieta, C. . 157–162 . 2009.
  14. Book: AdvancED CSS . Lewis, J. . Moscovitz, M. . APress . 5–6 . 2009 . 9781430219323 . 25 May 2018.
  15. Web site: human-readable . https://web.archive.org/web/20180530035730/https://en.oxforddictionaries.com/definition/us/human-readable . dead . May 30, 2018 . Oxford Dictionaries . Oxford University Press . 29 May 2018.
  16. Web site: JSON is YAML, but YAML is not JSON . Bendersky, E. . Eli Bendersky's website . 22 November 2008 . 29 May 2018.
  17. The REBOL Scripting Language . Dr. Dobb's Journal . Sassenrath, C. . 25 . 314 . 64–8 . 2000 . 29 May 2018.
  18. Web site: On JSON and REBOL . Sassenrath, C. . REBOL.com . 13 December 2012 . 29 May 2018.
  19. A Taxonomy of Functions in Gellish English . Proceedings from the International Conference on Engineering Design 2007 . van Renssen, A. . Vermaas, P.E. . Zwart, S.D. . DS42_P_230 . 2007 . 29 May 2018.