Overview� Step by Step� Vocabulary� Benefits�
QA�Homepage� Latest News� QA�Resources� QA�IG� QA�WG� QA�Calendar�
The Matrix is a page which gives information about the W3C specifications, featuring a synthetic table with information useful for specification implementors. At first, it was managed using an XML vocabulary, but is now managed using an RDF system, allowing both a better design of the semantics involved and an easier maintenance, relying on the Technical Reports Management Automation.
This document describes the process and steps involved in the maintenance of this document.
The Matrix is maintained by adding any new information received on a given technical report to an existing base of knowledge formatted in Notation3 (N3), an easy-to-write syntax for RDF. This knowledge base uses a specially crafted RDF Schema.
This knowledge base is then merged with the base of knowledge about W3C Technical Reports, maintained by the Webmaster, to generate an RDF view of the Matrix, which is then transformed into its main XHTML view through XSLT.
To manage the Matrix, you need the following tools installed on your system:
make
utility installedBesides, you need to have the following data (publicly accessible on the W3C site) on your filesystem, in a hierarchy similar to the one used on the site:
Besides, it is necessary that the maintainer has a basic understanding of the N3 syntax.
To update the knowledge base, simply add at the end of the file a line such as <http://www.w3.org/TR/qaframe-spec/> :hasConformanceSection <http://www.w3.org/TR/qaframe-spec/#conformance>.
(the first URI being the latest version URI of the said specification, the :hasConformanceSection
one of the property defined in the schema, and the second URI the object of this property.
Once the knowledge base updated (or if you want to bring the Matrix up to date with regard to the Technical Reports list), use the following command line: cwm QA/2002/10/merge-tr-matrix.n3 --think QA/2002/10/matrix-base.n3 --rdf 2002/01/tr-automation/tr.rdf --filter=QA/2002/10/filter-matrixdata.n3 --rdf > QA/TheMatrix.rdf (or simply use the relevant Makefile rule).
This command line has for effect to:
merge-tr-matrix.n3
)--filter=QA/2002/10/filter-matrixdata.n3
)TheMatrix.rdf
Never edit directly the file /QA/TheMatrix.html. This file is created when you run the xsl stylesheet.
The command to run the xslt stylesheet is (as described in the Makefile: xsltproc QA/TheMatrix.rdf QA/2002/10/toMatrix.xsl > QA/TheMatrix.html
The knowledge base uses a specially crafted RDF Schema in a Notation3 syntax. While this schema is self-describing (and human readable through a client-side XSLT if your user agent supports it), this document quickly describes its most important properties (assuming that the mat
prefix is bound to http://www.w3.org/2002/05/matrix/vocab#
namespace):
mat:hasConformanceSection
mat:hasErrata
mat:hasFeedbackML
mat:hasImplReport
mat:hasInteropReport
mat:hasLCIssues
mat:hasRequirements
mat:hasTestSuite
mat:hasTranslations
mat:hasValidator
Besides these properties, the knowledge base uses vocabulary from the Dublin Core Schema, used to describe simple bibliographic data.
The fact that the Matrix is now managed through an RDF vocabulary, and more generally with Semantic-Web enabled technologies bring the following benefits:
For more details on this topic, see why we're using RDF to manage the matrix.