http://demo.sharedname.org/n/r/ncbi_gene/24866
Match this pattern to the URI: http://purl.org/commons/record/ncbi_gene/(\d+) Respond with a 303 response redirecting to http://demo.sharedname.org/n/about/commons/record/ncbi_gene/24866 . 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://purl.org/commons/record/ncbi_gene/24866 names Entrez Gene record 24866.
The following documents are encodings of this record in specific formats:
The page you are seeing now (http://purl.org/about/commons/record/ncbi_gene/24866) is an HTML rendering of the RDF description of the Entrez Gene record. 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 wiki CommonsPurl:Record/Ncbi_gene from the script wiki303.pl. For more information, see URI explanation, Common Naming Project, and CommonsPurl.
RDF Response
<?xml version="1.0" encoding="UTF-8"?>
<!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/Ncbi_gene"/>
<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/Ncbi_gene"/>
<owl:Thing rdf:about="http://purl.org/about/commons/record/ncbi_gene/24866&show=html"/>
<owl:Thing rdf:about="http://svn.neurocommons.org/svn/trunk/product/303/commons/wiki303.pl"/>
<sc:record rdf:about="http://purl.org/commons/html/ncbi_gene/24866">
<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://purl.org/commons/record/ncbi_gene/24866">
<sc:has_encoding rdf:resource="http://purl.org/commons/html/ncbi_gene/24866"/>
<sc:has_encoding rdf:resource="http://purl.org/commons/xml/ncbi_gene/24866"/>
<sc:has_encoding rdf:resource="http://purl.org/commons/asn/ncbi_gene/24866"/>
<foaf:page rdf:resource="http://purl.org/about/commons/record/ncbi_gene/24866&show=html"/>
</sc:record>
<sc:record rdf:about="http://purl.org/commons/xml/ncbi_gene/24866">
<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://purl.org/commons/asn/ncbi_gene/24866">
<sc:is_encoded_as_mime_type rdf:datatype="&xsd;string">text/asn</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 redirect is currently to an html record page with a link rel=meta to the RDF. This will be inverted, with RDF served as primary and the html produced by a stylesheet trick. (Note: The html is already linked to from the RDF, via the foaf:page property.) The text/asn mime type isn't real.
