一直没太弄清楚rdf或owl语言中经常出现的first, rest 和nil是什么意思,在网上也没找到合适的中文资料。好在还能参考一下英文,为自己解惑。
概述
简而言之,first, rest, nil三个词在rdf中是共存亡的。它们共同表示一个集合。
详细说明
本文以下部分转自W3C,作者不详。原文介绍了rdf中的若干术语,值得参考。
链接如下:https://www.w3.org/TR/rdf-schema/#ch_collectionvocab
5.2 RDF Collections
This section is non-normative.
RDF containers are open in the sense that the core RDF specifications define no mechanism to state that there are no more members. The RDF Collection vocabulary of classes and properties can describe a closed collection, i.e. one that can have no more members.