Back to basics.

Dear RDFers,

After those nice discussions about Xlink, URI's for variables and
databases that are keeping the list busy the last days, I'd like to do a
step back to basics.

I'm trying to put together a RDF "core" system (read, write, store,
manipulate... just what we all would like to do with it at the most
abstract level...) and to start I'm looking for a parser.
I've tried some of them, including an (self-) modified version of SiRPAC
and I get systematically different results.
There seem to be trouble with the Bag support among them.
Here is a dump of the 'simple' example at the "SiRPAC online" (example
2)
--- example2.rdf ------
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:DC="http://purl.org/metadata/dublin_core/">
 <Bag ID="pages">
   <li resource="http://foo.org/foo.html" />
   <li resource="http://bar.org/bar.html" />
 </Bag>
 <Description aboutEach="#pages">
   <DC:Creator>Ora Lassila</DC:Creator>
 </Description>
</RDF>

---- SiRPAC Download Version 1.14 ----
triple("http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"file:D:\Program\java\RDF\SiRPAC-1.14\lassila-example-2.rdf.txt#pages",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag").
triple("http://www.w3.org/1999/02/22-rdf-syntax-ns_1",
"file:D:\Program\java\RDF\SiRPAC-1.14\lassila-example-2.rdf.txt#pages",
"http://foo.org/foo.html").
triple("http://www.w3.org/1999/02/22-rdf-syntax-ns_2",
"file:D:\Program\java\RDF\SiRPAC-1.14\lassila-example-2.rdf.txt#pages",
"http://bar.org/bar.html").
triple("http://purl.org/metadata/dublin_core/Creator","http://foo.org/foo.html","Ora
Lassila").
triple("http://purl.org/metadata/dublin_core/Creator","http://bar.org/bar.html","Ora
Lassila").

----- Modified Version of SiRPAC ---------
triple("http://www.w3.org/1999/02/22-rdf-syntax-ns#type","pages",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag").
triple("http://www.w3.org/1999/02/22-rdf-syntax-ns_1","pages","http://foo.org/foo.html").

triple("http://www.w3.org/1999/02/22-rdf-syntax-ns_2","pages","http://bar.org/bar.html").

triple("http://purl.org/metadata/dublin_core/Creator","genid1","Ora
Lassila").

----- RDF FILTER -----
{http://www.w3.org/1999/02/22-rdf-syntax-ns#type, #pages,
http://www.w3.org/1999
/02/22-rdf-syntax-ns#Bag}
{http://www.w3.org/1999/02/22-rdf-syntax-ns#_1, #pages,
http://foo.org/foo.html}
{http://www.w3.org/1999/02/22-rdf-syntax-ns#_2, #pages,
http://bar.org/bar.html}
{http://purl.org/metadata/dublin_core/Creator, #pages, "Ora Lassila"
(lang=null)}

------ SiRPAC OnLine  -------
triple('http://www.w3.org/1999/02/22-rdf-syntax-ns#type','online#pages',

       'http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag').
triple('http://www.w3.org/1999/02/22-rdf-syntax-ns#_1','online#pages',
       'http://foo.org/foo.html').
triple('http://www.w3.org/1999/02/22-rdf-syntax-ns#_2','online#pages',
       'http://bar.org/bar.html').
triple('http://purl.org/metadata/dublin_core/Creator','http://foo.org/foo.html',

       'Ora Lassila').
triple('http://purl.org/metadata/dublin_core/Creator','http://bar.org/bar.html',

       'Ora Lassila').

----- RDF API: ParseAndSerialize -----
Exception in thread "main" aboutEach and aboutEachPrefix are not
supported in the stream mode

---------- end copy&paste ------

In the specific case of the enumeration, which is the right syntax?
http://www.w3.org/1999/02/22-rdf-syntax-ns#_1   or
http://www.w3.org/1999/02/22-rdf-syntax-ns_1

Any comments about a 'good'  point to start??

Thanks a lot!!

Gerard.

Received on Tuesday, 16 May 2000 11:39:42 UTC