- From: Dan Connolly <connolly@w3.org>
- Date: Wed, 10 Mar 2004 16:43:20 -0600
- To: www-rdf-calendar@w3.org
I proposed a new way of generating the schema a while back...
deriving the schema from the iCalendar RFC
http://lists.w3.org/Archives/Public/www-rdf-calendar/2004Feb/0007.html
After discussion with Paul, Libby, and a few others,
I committed the changes:
http://www.w3.org/2002/12/cal/Makefile v1.15
http://www.w3.org/2002/12/cal/fromIcal.py v2.6
http://www.w3.org/2002/12/cal/ical.n3 v1.4
http://www.w3.org/2002/12/cal/ical.rdf v1.9
http://www.w3.org/2002/12/cal/webize2445.xsl v1.15
The new schema is OWL-DL. Er... oops... hmm... ok, fixed a few
glitches... now it's OWL-DL:
http://www.mindswap.org/cgi-bin/2003/pellet/pelletGet.cgi?inputFile=http%3A%2F%2Fwww.w3.org%2F2002%2F12%2Fcal%2Fical&inputFormat=RDF%2FXML&inputString=&Consistency=true&Classify=true&classifyFormat=TREE&conclusionsFile=&conclusionsFormat=RDF%2FXML&conclusionsString=
This is a measurable improvement in agreement between the
test data and the schema; previously, using
http://www.w3.org/2000/10/swap/util/validate.n3
we could see the following problem:
<http://www.w3.org/2002/12/cal/test/Todos1.rdf> a
val:targetDocument;
val:ERROR_IN_NAMESPACE_ACCESS_FOR
<http://www.w3.org/2002/12/cal/prod/Apple_Comp_273def595c8b3485>;
val:ERROR_PREDICATE_NOT_DECLARED_AS_PROPERTY i:completed,
i:due,
i:lastModified,
i:method,
i:priority,
i:status,
i:url;
val:ERROR_TYPE_NOT_DECLARED_AS_CLASS i:Vtodo;
Those properties are all declared now.
Hmm... we're not bug-free yet; the i:component property
is an artifact of RDF modelling, not something from iCalendar
syntax...
:ERROR_PREDICATE_NOT_DECLARED_AS_PROPERTY i:component,
and the RFC scraping machinery doesn't find a declaration
for this one yet:
:ERROR_TYPE_NOT_DECLARED_AS_CLASS i:Vcalendar;
The new schema has an explicit xml:base
and version info:
<rdf:Description about="">
<dc:source rdf:resource="http://www.ietf.org/rfc/rfc2445.txt"/>
<owl:versionInfo>$Id: ical.rdf,v 1.6 2004/03/10 21:59:31 connolly
Exp $</owl:versionInfo>
<owl:versionInfo>subject to change with notice to
www-rdf-calendar@w3.org</owl:versionInfo>
<rdfs:seeAlso rdf:resource="http://www.w3.org/2002/12/cal/"/>
<rdfs:seeAlso
rdf:resource="http://lists.w3.org/Archives/Public/www-rdf-calendar/"/>
<rdfs:seeAlso rdf:resource="http://esw.w3.org/topic/RdfCalendar"/>
</rdf:Description>
The .n3 version of the schema seems to be missing the
versionInfo bits. odd. Anyway...
This new schema uses strings rather than URIs for enumerated
values, as proposed 11Feb
http://lists.w3.org/Archives/Public/www-rdf-calendar/2004Feb/0010.html
These changes are subject to appeal as usual...
"if anyone screams, within a week or so, we'll back out the
changes (for further discussion)"
-- http://www.w3.org/2002/12/cal/#dev
--
Dan Connolly, W3C http://www.w3.org/People/Connolly/
see you at the WWW2004 in NY 17-22 May?
Received on Wednesday, 10 March 2004 17:42:18 UTC