http://demo.sharedname.org/n/r/pmid/12728276
Match this pattern to the URI: http://purl.org/commons/record/pmid/(\d+) Respond with a 303 response redirecting to http://demo.sharedname.org/n/about/pmid/12728276 . Respond with a 200 request there with the RDF on this page, with a stylesheet transform directive to a script that that produces the HTML on this page.
HTML response
The URI http://demo.sharedname.org/n/r/pmid/12728276 names Pubmed record 12728276.
The following documents are encodings of this record in specific formats:
- HTML representation of the record
- XML representation of the record
- ASN representation of the record
- Medline representation of the record
The record is known in the LSRN registry as PMID:12728276
The page you are seeing now is an HTML rendering of the RDF description of the Pubmed record. To see the RDF, use the view source function of your browser. The URI does not name this text or the RDF description; it names the record.
This page is generated from the template on the Neurocommons Project wiki CommonsPurl:Record/pmid from the scripts wiki303.pl and wiki303.xsl. For more information see CommonsPurl, which although slightly out of date, explains the basics of the approach.
For convenience, the Pubmed web page is included below.
FRAME: http://demo.sharedname.org/n/html/pmid/12728276
RDF Response
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://sw.neurocommons.org/cgi-bin/wiki303.xsl?ref=record/pmid/12728276"?>
<!DOCTYPE rdf:RDF [ <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#"> ]>
<rdf:RDF xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:sc="http://purl.org/science/owl/sciencecommons/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<owl:Ontology rdf:about="">
<dc:source rdf:resource="http://neurocommons.org/page/CommonsPurl:Record/Pmid"/>
<dc:creator rdf:resource="http://svn.neurocommons.org/svn/trunk/product/303/commons/wiki303.pl"/>
</owl:Ontology>
<owl:AnnotationProperty rdf:about="http://purl.org/dc/elements/1.1/creator"/>
<owl:AnnotationProperty rdf:about="http://purl.org/dc/elements/1.1/source"/>
<owl:AnnotationProperty rdf:about="http://xmlns.com/foaf/0.1/page"/>
<owl:Thing rdf:about="http://neurocommons.org/page/CommonsPurl:Record/pmid"/>
<owl:Thing rdf:about="http://purl.org/about/commons/record/pmid/12728276&show=html"/>
<owl:Thing rdf:about="http://svn.neurocommons.org/svn/trunk/product/303/commons/wiki303.pl"/>
<sc:record rdf:about="http://demo.sharedname.org/n/html/pmid/12728276">
<sc:is_encoded_as_mime_type rdf:datatype="&xsd;string">text/html</sc:is_encoded_as_mime_type>
</sc:record>
<sc:record rdf:about="http://demo.sharedname.org/n/record/pmid/12728276">
<sc:has_encoding rdf:resource="http://demo.sharedname.org/n/html/pmid/12728276"/>
<sc:has_encoding rdf:resource="http://demo.sharedname.org/n/xml/pmid/12728276"/>
<sc:has_encoding rdf:resource="http://demo.sharedname.org/n/asn/pmid/12728276"/>
<foaf:page rdf:resource="http://sw.neurocommons.org/cgi-bin/wiki303.xsl?ref=record/pmid/12728276&show=html"/>
<sc:lsrn_id>pmid:12728276</sc:lsrn_id>
</sc:record>
<sc:record rdf:about="http://demo.sharedname.org/n/xml/pmid/12728276">
<sc:is_encoded_as_mime_type rdf:datatype="&xsd;string">application/xml</sc:is_encoded_as_mime_type>
</sc:record>
<sc:record rdf:about="http://demo.sharedname.org/n/asn/pmid/12728276">
<sc:is_encoded_as_mime_type rdf:datatype="&xsd;string">text/asn</sc:is_encoded_as_mime_type>
</sc:record>
<sc:record rdf:about="http://demo.sharedname.org/n/medline/pmid/12728276">
<sc:is_encoded_as_mime_type rdf:datatype="&xsd;string">text/plain</sc:is_encoded_as_mime_type>
</sc:record>
</rdf:RDF>
To be done
This is still pretty early. The RDF will most certainly be rewritten as we settle on an ontology. The text/asn mime type isn't real.
