[Project_owners] Removing a sequence from RDF?

Neil Deakin enndeakin at sympatico.ca
Fri May 13 12:56:16 EDT 2005

Eric Jung wrote:

>I can't find any RDF-related interfaces which handle this. It was
>mentioned at http://forums.mozillazine.org/viewtopic.php?t=263739
>that datasource.Unassert(mainres, seqprop, accountsres) might work,
>where mainres is whatever contains the sequence, seqprop is
>http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq, and accountsres is
>http://passwordmaker.mozdev.org/accounts, but I've not been able to
>get this to work.
The correct arguments are:

Unassert(mainres, rdftype, seqres)

rdftype - http://www.w3.org/1999/02/22-rdf-syntax-ns#type
seqres - http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq

This will remove the assertion that a particular resource is a Seq.

/ Neil

More information about the Project_owners mailing list