On 05/12/11 09:34, xh-zh wrote:
because I need to store the owl file into TDB, and then the prefixes
would be lost when I create the OntModel form tdb. I read the source
code of TDB, it convert all the formats of rdf data into n-triples,
the there was no source code dealing with the prefixes when TDB load
a owl file. is it right?

You don't have to load from N-triples.  If you load from a format with
prefixes, then they should be around.

Or load a file (i.e. Turtle) with the prefixes in as well as the N-triples.

        Andy


Reply via email to