- From: Thomas Baker <tom@tombaker.org>
- Date: Tue, 22 May 2012 00:35:31 -0400
- To: public-rdfa <public-rdfa@w3.org>
- Cc: Mitsuharu Nagamori <nagamori@slis.tsukuba.ac.jp>, Shigeo Sugimoto <sugimoto@slis.tsukuba.ac.jp>
On Mon, May 21, 2012 at 06:05:08PM -0400, Tom Baker wrote: > Jon and I are working hard to get DCMI Metadata Terms published ASAP. We are > currently focusing on content negotiation. We plan to redirect all PURLs to a > directory such as http://dublincore.org/2012-05-21. Jon has written an > .htaccess file for that directory that would direct incoming requests for the > four "namespace" schemas -- Turtle by default, RDF/XML by request -- and > requests for HTML to /documents/dcmi-terms/. Jon is working on some > Javascript, to be embedded in http://dublincore.org/documents/dcmi-terms/, > which would take the browser to the spot in the document where the requested > term is described. The .htaccess can be seen at [1], and the Javascript at [2], invoked in index.shtml in the "tabletags" branch at [3]. [1] https://github.com/dublincore/website/blob/tabletags/build/.htaccess [2] https://github.com/dublincore/website/blob/tabletags/build/html/dcmi-terms/jump2location.js [3] https://github.com/dublincore/website/blob/tabletags/build/html/dcmi-terms/index.shtml#L8322 > This will take some additional testing before it goes live, but we're > optimistic. > > In the meantime, we would appreciate some help in fixing three little problems > in the scripts that generate the RDF schemas [1]: > > -- One triple, not yet supported by the scripts, is missing: > <http://purl.org/dc/terms/creator> owl:equivalentProperty <http://xmlns.com/foaf/0.1/maker> > > The source that would need to be supported is at [2], the script that > needs fixing is (I think!) at [3]. Mitsuharu has fixed this and the datatype problem (below) with fixes to [4] and [5]. The results can be seen in the schemas at [6]. [4] https://github.com/dublincore/website/blob/master/web/xsl/common-templates.xsl [5] https://github.com/dublincore/website/blob/master/web/xsl/dcterms.xsl [6] https://github.com/dublincore/website/tree/tabletags/build > -- Dates are not fully qualified with datatypes (as they are in the RDFa/HTML document. > For example, the schemas say: > > <http://purl.org/dc/terms/valid> dcterms:issued "2000-07-11" . > > instead of > > <http://purl.org/dc/terms/valid> dcterms:issued "2000-07-11"^^<http://www.w3.org/2001/XMLSchema#date> . Fixed! See above. > -- Two of the RDF schemas generated from the scripts express redundant triples (see > below). This problem appears to have two aspects: > > 1) The script is apparently outputting malformed XML (look closely at line 16 in > dcam.rdf) [8] but neither Jon nor I know XSL well enough to see why. > > 2) In both dcelements.rdf and dcam.rdf, the RDF/XML says: > > <rdf:Property rdf:about="http://purl.org/dc/elements/1.1/creator"> > <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/> > > whereas in dctype.rdf and dcterms.rdf, the RDF/XML says: > > <rdf:Description rdf:about="http://purl.org/dc/terms/creator"> > <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/> > > This would account for the "redundant triples", but neither Jon nor I can see how > the scripts are leading to these different results. Mitsuharu is working on this. Thank you, Mitsuharu! Tom > We would much appreciate help in this. > > Many thanks, > Tom > > [1] https://github.com/dublincore/website/tree/master/build > [2] https://github.com/dublincore/website/blob/master/2012-05-21/xmldata/dcterms-properties.xml#L64 > [3] https://github.com/dublincore/website/blob/master/web/xsl/dcelements.xsl > [4] https://github.com/dublincore/website/blob/master/build/dcelements.rdf > [5] https://github.com/dublincore/website/blob/master/build/dcam.rdf > [6] https://github.com/dublincore/website/blob/master/build/dcelements.rdf > [7] http://rdf.greggkellogg.net/distiller?format=ntriples&in_fmt=rdfxml&uri=https://raw.github.com/dublincore/website/master/build/dcelements.rdf > [8] https://github.com/dublincore/website/blob/master/build/dcam.rdf#L16 > > > ---------------------------------------------------------------------- > Redundant triples generated from [4] > > <http://purl.org/dc/dcam/VocabularyEncodingScheme> rdf:type rdfs:Class . > <http://purl.org/dc/dcam/memberOf> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/contributor> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/coverage> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/creator> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/date> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/description> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/format> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/identifier> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/language> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/publisher> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/relation> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/rights> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/source> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/subject> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/title> rdf:type rdf:Property . > <http://purl.org/dc/elements/1.1/type> rdf:type rdf:Property . > > > -- > Tom Baker <tom@tombaker.org> -- Tom Baker <tom@tombaker.org>
Received on Tuesday, 22 May 2012 04:36:26 UTC