For the moment, I'm creating Ontologies using Protege and then doing some analysis using Jena. Protege gives an ontology an IRI, so I thought I may label my results that way.
If you're right though, and an OWL ontology need not have an IRI, then I'll just label them some other way. Not a big deal. -- Mark Fischer On Wed, Feb 6, 2013 at 12:41 PM, Joshua TAYLOR <[email protected]>wrote: > 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/ >
