Re: Namespace prefixes in Jena Models

2016-04-29 Thread Andy Seaborne
ce URI using the code in SplitIRI. Andy -Original Message- From: Andy Seaborne [mailto:a...@apache.org] Sent: Thursday, April 28, 2016 11:18 AM To: users@jena.apache.org Subject: Re: Namespace prefixes in Jena Models Importance: High On 28/04/16 15:56, Scoggan, Tom wrote: When

RE: Namespace prefixes in Jena Models

2016-04-28 Thread Scoggan, Tom
rsday, April 28, 2016 11:18 AM To: users@jena.apache.org Subject: Re: Namespace prefixes in Jena Models Importance: High On 28/04/16 15:56, Scoggan, Tom wrote: > When writing a Model to an RDF string, I currently do something like this: > > > 1. Use the model.listNameSpaces(

Re: Namespace prefixes in Jena Models

2016-04-28 Thread Andy Seaborne
On 28/04/16 15:56, Scoggan, Tom wrote: When writing a Model to an RDF string, I currently do something like this: 1. Use the model.listNameSpaces() method to get the list of namespaces used --- this doesn't include namespaces used in URI's in the object position of triples Model.listNa

Namespace prefixes in Jena Models

2016-04-28 Thread Scoggan, Tom
When writing a Model to an RDF string, I currently do something like this: 1. Use the model.listNameSpaces() method to get the list of namespaces used --- this doesn't include namespaces used in URI's in the object position of triples 2. Manually add the missing namespaces for URI's