« | October 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | |
|
|
回复:rdf:about和rdf:resource |
dongjj(游客)发表评论于2007/10/30 12:14:14 |
Have you looked at the RDF Primer (and specifically, Example 4 inSection 3.1 and its explanation, which is where this is discussed)?Basically, rdf:about is for expressing the *subject* of an RDF statementin RDF/XML. rdf:resource is for expressing the *object* of an RDFstatement in RDF/XML, when the object is another resource rather than aliteral value. Does that help? If you have some particular example inmind that you are trying to express, could you provide it?--FrankFrank说得十分清楚,根据Frank的话,我的进一步理解是:1) 一个角度rdf:about & rdf:ID is for expressing the *subject* of an RDF statement in RDF/XML. rdf:resource is for expressing the *object* of an RDF statement in RDF/XML, when the object is another resource rather than a literal value. 2) 另一个角度rdf:ID is for introducing and expressing a new resource.rdf:about is for expressing or extending a existing resource. rdf:resource is for referencing a existing resource. | |
|
回复:rdf:about和rdf:resource |
这话好像是我写的(不过忘记是写在哪里的了)。
现在看来,这个说法是容易引起误解的。
为此,引用nybon所引用的一句话作为补充:
{{ URL:http://bbs.w3china.org/dispbbs.asp?BoardID=2&id=11536&replyID=28071&star=2&skin=0
按照Frank的说法,rdf:about用来表示statement的主体,rdf:resource在statement的客体是一个资源而不是文字值时用来表示客体
}} | |
|
» 1 »
|
|
统计 |
blog名称:ChouBIll 日志总数:10 评论数量:18 留言数量:0 访问次数:107295 建立时间:2004年11月3日 | |