Re: in-memory baseURIs
"rvj" <[email protected]> Wed, 29 Jun 2005 10:37:26 +0100
| Newsgroups | gmane.comp.mozilla.devel.rdf |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
thanks but identifying the datsaource is relevant when trying to verify which datasource is supplying the data assuming a user click on a tree item two basic methods are used 1. with non-memory sources its simple to iterate through the datasources testing for a triple (only one will succeed) based on the urn 2. BUT with in-memory datasources it appears that the ONLY method is to check the datasource is to inspect the baseURI. (assuming a relative urn) This works for in-memory datasources created using the rdfparser but not for in-memory assertions created programmtically because there is no way to attach a baseURI to the imds ... as far as I know "Neil" <[email protected]> wrote in message news:[email protected]... > rvj wrote: > > >Any plans for baseURIs for an in-memory datasource where the RDF assertions are built programmatically? > > > > > The data source is irrelevant. The parser only needs the URI in case it > needs to resolve relative URIs in the string. > > -- > Warning: May contain traces of nuts.