On 21/04/14 19:39, Lebling, David (US SSA) wrote:
When I write to a text file, I supply a base URI. I call RDFWriter.write(Model m, OutputStream os, String baseUri). The RDF
statements (in XML_ABBREV format) about the ontology in that case do have 'rdf:about=""' as the subject. When you talk
about "<>" do you mean that "<>" should be there instead of ""?
No, I just meant 'rdf:about=""' or equivalent.
Similarly, I'm not sure what you mean by "creating an ontology
programmatically."
[snip]
(FWIW, the Model I'm trying to put() using Fuseki is created entirely
programmatically. It's an OWL translation of an XML document.)
That's what I meant.
From your data dump you seem to have an empty URI for a resource in the
model (specifically the resource that is an instance of owl:Ontology).
This is wrong. When you try to write that out in RDF/XML you will get an
error. Look to the code that generated the model.
Dave