Re: RDF:type vs. instanceOf, nextVal

Karsten Düsterloh <[email protected]> Sun, 21 Aug 2005 23:33:43 +0200
Newsgroups gmane.comp.mozilla.devel.rdf
Organization http://tprac.de/
Message-ID <[email protected]>
Axel Hecht aber hob zu reden an und schrieb:
> as indicated already on my blog,

Blogging is actually a way of information *hiding*. :-/
Who can watch all "relevant" blogs? Which blogs *are* relevant? :-(

That's what Usenet was made for: sharing thoughts and information! :)

> https://bugzilla.mozilla.org/show_bug.cgi?id=90566, 

Mnenhy uses constructs like this to get

GetSources(
   GetResource("http://www.w3.org/1999/02/22-rdf-syntax-ns#instanceOf"),
   GetResource("http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq"),
   true
);

to get all (Seq) containers of a datasource. Would rdf:type work already
here?

> https://bugzilla.mozilla.org/show_bug.cgi?id=98392, and 

> I don't think that I can actually create something that is 
> reliably backwards compatible, though I could add some fakage into 
> nsInMemoryDataSource, which may cover quite a few szenarios. I'd really 
> prefer not to, though.
> 
> Opinions?

A "nice" API way for getting (top level) containers would be, well,
nice. ;-)
And GetCount() could return something really useful (eg. the real count
*g*) instead of some nextVal junk...


Karsten
-- 
       Freiheit stirbt        |       Fsayannes SF&F-Bibliothek:
            Mit Sicherheit    |       http://fsayanne.tprac.de/