<!-- 
     Transcription of examples from
       Resource Description Framework (RDF) Model and Syntax
       Ora Lassila and Ralph R. Swick
       Version 0.2, 01-Oct-1997
       http://www.w3.org/Metadata/RDF/Group/9710/WD-rdf-syntax-971002
-->

<!doctype test [

<!entity % rdf-dtd system "rdf.dtd">
%rdf-dtd;

<!element test any>
<!element bib:name (#PCDATA)>
<!attlist bib:name id id #implied>
<!element bib:author ANY>
<!attlist bib:author id id #implied>
<!element bib:phone (#PCDATA)>
<!attlist bib:phone id id #implied>
<!element bib:email (#PCDATA)>
<!attlist bib:email id id #implied>

<!element DSIG:Signature (#PCDATA)>

<!element DC:Creator ANY>
<!element DC:Subject ANY>
<!element DC:Lang ANY>
<!element DC:Scheme ANY>

<!element NIST:Weight any>
<!element NIST:Units empty>
<!attlist NIST:Units
          id id #implied
          href cdata #implied>

]>
<test>
<RDF:serialization> 
       <RDF:assertions href="http://www.bar.com/some.doc"> 
         <bib:author>John Smith</bib:author> 
       </RDF:assertions> 
     </RDF:serialization>

<RDF:serialization> 
       <RDF:assertions href="http://www.bar.com/some.doc"> 
         <bib:author> 
           <RDF:resource id="John_Smith">
             <bib:name>John Smith</bib:name> 
             <bib:email>john@smith.com</bib:email> 
             <bib:phone>+1 (555) 123-4567</bib:phone> 
           </RDF:resource> 
         </bib:author> 
       </RDF:assertions> 
     </RDF:serialization>

<RDF:serialization>
       <RDF:assertions href="http://www.bar.com/some.doc" id="foo"> 
         <DC:Creator>John Smith</DC:Creator> 
       </RDF:assertions> 

       <RDF:assertions href="#foo"> 
         <DSIG:Signature>AKGJOERGHJWEJ348GH4HGEIGH4ROI4</DSIG:Signature> 
       </RDF:assertions>
     </RDF:serialization>

<RDF:serialization> 
       <RDF:seq id="JSPapersByDate"> 
         <RDF:li href="http://www.dogworld.com/Aug96.doc"/> 
         <RDF:li href="http://www.carchat.com/Sept97.html"/> 
         <RDF:li href="http://www.webnuts.net/Jan97.html"/> 
       </RDF:seq> 

       <RDF:seq id="JSPapersBySubj"> 
         <RDF:li href="http://www.carchat.com/Sept97.html"/> 
         <RDF:li href="http://www.dogworld.com/Aug96./doc"/> 
         <RDF:li href="http://www.webnuts.net/Jan97.html"/> 
       </RDF:seq> 
     </RDF:serialization>

<RDF:serialization> 
       <RDF:assertions href="http://www.webnuts.net/Jan97.html"> 
         <DC:subject> 
           <RDF:resource id="subject-001"> <!-- DWC: changed _ to - -->
             <DC:scheme>Dewey Decimal Code</DC:scheme> 
             <DC:lang>English</DC:lang> 
             <RDF:PropValue>020 - Library Science</RDF:PropValue> 
           </RDF:resource> 
         </DC:subject> 
       </RDF:assertions> 
     </RDF:serialization>

<RDF:serialization> 
       <RDF:assertions href="John_Smith"> 
         <NIST:weight> 
           <RDF:resource id="weight_001"> 
             <NIST:units href="#pounds"/> 
             <RDF:PropValue>200</RDF:PropValue> 
           </RDF:resource> 
         </NIST:weight> 
       </RDF:assertions> 
     </RDF:serialization>

</test>

