RDF or XML? RDF还是XML?
Q: For a specific application, should I use XML or RDF?
问: 在某一特定应用程式中,我应该使用XML还是RDF呢?
A: It depends…
答: 视乎情况而定…
XML's model is
XML的模组是
a tree, ie, a strong hierarchy
一棵树,即有强大的分层结构
applications may rely on hierarchy position (eg,
li
in HTML)
应用程式可依靠分层结构位置(如: HTML里的
li
)
relatively simple syntax and structure
相对简单的句法和组织
not easy to
combine
trees
并不容易去
合并
这些树
RDF's model is
RDF的模组是
a
loose
collections of relations
一个
随便
的关系组集
applications may do “database”-like search
应用程式可能作出好像“数据库”的搜寻
not easy to recover hierarchy
寻回分层结构并不容易
easy to combine relations in one big collection
容易地在一个组集内合并关系
great for the integration of heterogeneous information
对不同种类信息的汇合是很好的
Ivan Herman
, W3C Head of Offices
Beijing, China, 12 November, 2003
11 (35)