I suppose so. The front end application we use (Muradora) uses Gsearch queries like this to pull back Collections: "-fgs.state:Inactive AND rdf.rel.isCollection:true"
Therefore the code no longer works once the namespace prefixes are no longer there. I guess we'll have to either modify our query or modify our index. Vincent Vu Nguyen -----Original Message----- From: Benjamin Armintor [mailto:armin...@gmail.com] Sent: Wednesday, February 02, 2011 2:17 PM To: Support and info exchange list for Fedora users. Subject: Re: [fcrepo-user] addRelationship API affects existing namespace It hasn't affected the namespaces, it's just moved their declarations around, right? I think the addRelationship api presumes that you are interested in the triples more than their serialization into XML. On 2/2/11, Nguyen, Vincent (CDC/OD/OADS) (CTR) <v...@cdc.gov> wrote: > When I use the addRelationship method, it affects previous namespaces in > my RDF description. > > > > My RDF description starts out looking like this > > <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > xmlns:rel="info:fedora/fedora-system:def/relations-external#"> > > <rdf:Description rdf:about="info:fedora/demo:123"> > > <rel:isCollection>true</rel:isCollection> > > </rdf:Description> > > </rdf:RDF> > > > > After I call this method > > apim.addRelationship("demo:123", > "info:fedora/fedora-system:def/model#hasModel", > "info:fedora/cmodel:allObjects", false, null); > > > > it becomes this: > > <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> > > <rdf:Description rdf:about="info:fedora/demo:123"> > > <isCollection > xmlns="info:fedora/fedora-system:def/relations-external#">true</isCollec > tion> > > <hasModel rdf:resource="info:fedora/cmodel:allObjects" > xmlns="info:fedora/fedora-system:def/model#"/> > > </rdf:Description> > > </rdf:RDF> > > > > > > Any ideas? > > > > > > Vincent Vu Nguyen > > > > > > ------------------------------------------------------------------------ ------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users