I want to explain that educationalRole
, which is my own tag, is related to the existing class EducationalAudience
in LRMI Metadata Terms in RDF.
I have write the following RDF/XML notation:
<?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>
The W3C validator returns:
Error: {E201} rdf:resource not allowed as attribute here.
I am fairly new to learn this. Can anyone help me?