如何使用受控词汇表或分类法来定义 XML 元素名称或属性名称?
我目前正在编写一个 XML 文件,它模拟了一些实验问题。不幸的是,许多相关词都有不同的同义词。
我想做的是拥有一个受控词汇或分类法,它允许将任何同义词用作元素/属性名称,或者至少可以轻松帮助用户/程序解决此问题。
有没有办法实现这一点?
举个例子:
<前体质量 />
这里 PrecursorMass 应该受到受控词汇或分类学条目的约束。
例如 RDF 或 SCOS 可以提供帮助吗?
I am currently writing an XML file which models some experimental issue. Unfortunately, many of the associated words come with various synonyms.
What I would like to do is to have a controlled vocabulary or taxonomy which either allows any of the synonyms to be used as the element/ attribute name or at least will easily help users/ programs to resolve this issue.
Is there a way to achieve this?
As an example:
<dnml>
<PrecursorMass />
</dnml>
Here PrecursorMass should be constrained by a controlled vocabulary or an entry in a taxonomy.
Could for instance RDF or SCOS be of help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 RDFS 或 OWL(或者可能是 OWL)设计本体肯定会有所帮助。有关详细信息,请访问以下网站:
以下软件:
以及以下书籍:
Designing an ontology using RDFS or OWL (or maybe OWL) would definitely help. For more information please see the following sites:
The following software:
And the following books: