关于数据模型与数据格式之间的区别 [英] On the difference between a data model vs data format

查看:31
本文介绍了关于数据模型与数据格式之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近不得不向听众解释数据模型和数据格式之间的区别.他们想解释为什么我们不使用 xml 来做我们使用 RDF 做的基本事情.虽然我可以解释很多东西,例如分布式数据模型,推理等等.但我有点能够解释数据模型和数据格式之间的区别.

I recently had to explain to an audience what is the difference between a data model and a data format. They wanted to explain why we just don't use xml to do the basic thing we do with RDF. Although i could explain a bunch of things, such as a distributed data model, reasoning and etc.. I was somewhat enable to explain the difference between a data model and a data format.

有人可以提供一个简单的快速答案吗?我认为与其给出很多点,就像我所做的那样,对于一个简单的用户来说不容易理解,它会清楚地揭示,为什么我们需要一个基于简单 XML 的数据模型.然后可以继续解释任何数据模型.

Can someone provide with a simple quick answer to this. I think instead of giving many points, like i did and that are not easy to understand for a simple user, it would clearly expose, why we need a data model over simply XML. Then one could go on and explain not any data model.

非常感谢,

丹妮

推荐答案

数据模型定义了计算机系统中使用的概念及其与外部世界概念的语义关系.例如:HOTEL 实体表示旅客可以在其中预订住宿的单个酒店、旅馆或游轮.

A data model defines concepts used in the computer system and their semantic relationship to concepts in the world outside. For example: The HOTEL entity represents a single hotel, hostel, or cruise ship where travellers can book accommodation.

数据格式定义了计算机系统中这些概念如何使用位和字节表示(可能通过 XML 或 JSON 等中间层,因为如果您根据 XML 或 JSON 定义它,那么位和字节表示是隐含的).例如:HOTEL 实体表示为名为 , ...

A data format defines how these concepts in the computer system are represented using bits and bytes (perhaps via intermediate layers such as XML or JSON, because if you define it in terms of XML or JSON, then the representation in bits and bytes is implicit). For example: the HOTEL entity is represented as an XML element named <t:hotel>, ...

这篇关于关于数据模型与数据格式之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆