From bparsia@email.unc.edu Wed Nov  7 00:55:15 2001
Received: from smtpsrv0.isis.unc.edu (smtpsrv0.isis.unc.edu [152.2.1.139])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id fA6NtEt02690
	for <prolog@swi.psy.uva.nl>; Wed, 7 Nov 2001 00:55:14 +0100 (MET)
Received: from login6.isis.unc.edu (bparsia@login6.isis.unc.edu [152.2.1.103])
	by smtpsrv0.isis.unc.edu (8.9.3/8.9.1) with ESMTP id SAA12563
	for <prolog@swi.psy.uva.nl>; Tue, 6 Nov 2001 18:55:12 -0500 (EST)
Received: (from bparsia@localhost)
	by login6.isis.unc.edu (AIX4.3/8.9.3/8.9.3) id SAA56656;
	Tue, 6 Nov 2001 18:55:09 -0500
Date: Tue, 6 Nov 2001 18:55:06 -0500 (EST)
From: Bijan Parsia <bparsia@email.unc.edu>
X-Sender: bparsia@login6.isis.unc.edu
To: prolog@swi.psy.uva.nl
Subject: Re: [SWIPL] [BUG] rdf_db declares bad rdfs namespace
In-Reply-To: <01110615410202.27516@gollem>
Message-ID: <Pine.A41.4.21L1.0111061813360.44290-100000@login6.isis.unc.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Tue, 6 Nov 2001, Jan Wielemaker wrote:

[snip]
> Code on the twiki web should be seen as examples, not maintained
> libraries.

Sure....uhm...does that mean you don't want us to dicuss them here?

Should I avoid pointing to them from articles?

I'm working on a new XML.com article about SWI-Prolog and RDF, called
"Expert System Backed Websites" (if anyone has a project that they'd like
pointed to or highlighted in this article, please drop me a note!). Plan
is to treat RSS1.0 + RDFS as a language for describing semantic networks.
I'm not clear that rdfs.pl is actually going to be useful for this, though
a modified version might be. (I still haven't gotten rdf_instance to
recognize instances of subclasses.)

I note that the cache doesn't refresh if you add a class or subclass via
rdf_assert, nor does it recognize that (just about) everything should be a
member of rdfs:Resource. (All this is ok, this is just sample code, I
know!)

Er...I'm wandering :)

>  So you can copy and modify it to suit your needs.  If
> improve on it, send your patches to the developer or attach a new
> file.

Will do.

> 	Regards --- Jan
> 
> P.s.	I've uploaded new versions of rdf_db.pl and rdfs.pl and added
> 	a topic on validation with attached rdf_validate.pl.  Latter
> 	is really just an example, containing various hacks to deal
> 	with ongoing project constraints and bad habbits.

Thanks! This is interesting. I'm not sure how to interpret the
results. rdf_validate(rdfs:'Class'). gives an ERROR: Resource rdfs:'Class'
has no rdf:type property (this is with the rdfs.rdfs schema loaded).

Now that I've remembered my Twiki password, I guess I'll take it to the
Twiki :)

Cheers,
Bijan Parsia. 

