資源描述框架(RDF)是用來(lái)描述網(wǎng)路資源的 W3C 標(biāo)準(zhǔn),例如網(wǎng)頁(yè)的標(biāo)題、作者、修改日期、內(nèi)容以及版權(quán)資訊。
RDF 集合 語(yǔ)法
RDF 集合用於描述僅包含指定成員的群組。
RDF 集合 範(fàn)例
<?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cd="http://recshop.fake/cd#"> <rdf:Description rdf:about="http://recshop.fake/cd/Beatles"> <cd:artist rdf:parseType="Collection"> <rdf:Description rdf:about="http://recshop.fake/cd/Beatles/George"/> <rdf:Description rdf:about="http://recshop.fake/cd/Beatles/John"/> <rdf:Description rdf:about="http://recshop.fake/cd/Beatles/Paul"/> <rdf:Description rdf:about="http://recshop.fake/cd/Beatles/Ringo"/> </cd:artist> </rdf:Description> </rdf:RDF>