On Wed, Feb 6, 2013 at 12:33 PM, Mark Fischer <[email protected]> wrote:
> I can't figure out how to get a Model's URI. Right now I've been assuming
> that model.getNsPrefixURI(""); will return a model's baseURI. This is, by
> no means, necessarily the case (works for now).
>
> There must be something simple I'm missing here.

I could be mistaken, but: A Model doesn't have a URI; it's
(essentially) just a collection of triples.  An OntModel might have an
ontology object that has a useful ontology IRI, but that's not
necessary present either.

What would you use a Model's URI for if it had one and you could get it?

//JT

-- 
Joshua Taylor, http://www.cs.rpi.edu/~tayloj/

Reply via email to