我想解释一下educationalRole
,这是我自己的标签,与EducationalAudience
RDF 中 LRMI 元数据术语中的现有类有关。
我编写了以下 RDF/XML 表示法:
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:exs="http://example.org/schema#"
xmlns:exr="http://example.org#">
<rdf:Description rdf:about="http://www.youtube.com/v/CH6FQhlZn6k">
<dc:title>Napoleon forced to abdicate</dc:title>
<exs:educationalRole>student</exs:educationalRole>
<exs:educationalRole>
<rdfs:subClassOf rdf:resource="http://schema.org/EducationalAudience"/>
</exs:educationalRole>
</rdf:Description>
</rdf:RDF>
W3C 验证器返回:
错误:{E201} rdf:resource 不允许作为此处的属性。
我很新来学习这个。谁能帮我?