[Project_owners] RDF assertions with false truth values

Eric Jung grimholtz at yahoo.com
Thu Jul 7 07:18:30 EDT 2005


Hi,


--- Axel Hecht <axel at pike.org> wrote:

> Eric Jung wrote:
> > Hi,
> > I'm trying to create an assertion with false truth. The code
> executes
> > without any exceptions or javascript errors, but the assertion
> > doesn't appear in my RDF. Anyone know what's happening? Here's my
> > code:
> > 
> > // Create resource from currently selected item in tree
> > var subjectId =
> >   tree.builderView.getItemAtIndex(tree.currentIndex).
> >   getAttribute("id");
> > 
> > var subjectRes = rdfService.GetResource(subjectId);
> > 
> > // Negatively assert
> > datasource.Assert(subjectRes,
> >   rdfService.GetResource("http://passwordmaker.org/rdf#domain"),
> >   rdfService.GetLiteral("ac.cr"), false);
> > 
> > datasourceFlusher.Flush();
> > 
> > Thanks for any help,
> > Eric Jung
> > 
> 
> To make Neil's short story long, negative arcs are a Netscape hack
> to 
> hide arcs from one datasource inside a composite ds.

Yes, I understand that. That is precisely what I needed them for.
However, I need some way to serialize them. Any other suggestions to
hide arcs from one DS in a composite DS? There are specific reasons
NOT to do an Unassert, which I can share with you if you like.


 That is all
> they're 
> supposed to do, and that's roughly working.
> 
> They don't have a conceptual equivalent in the RDF specs, and thus
> not 
> in RDF/XML, and are not serialized.
> 
> Not really a long story, but with a bit more context still.
> 
> Axel
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
> 



		
____________________________________________________
Sell on Yahoo! Auctions – no fees. Bid on great items.  
http://auctions.yahoo.com/


More information about the Project_owners mailing list