Not sure if an attachment will work, but here's a ZIP of the RDF-THRIFT file 
that doesn't load.


-----Original Message-----
From: Andy Seaborne <[email protected]> 
Sent: Thursday, August 6, 2020 1:11 PM
To: [email protected]
Subject: EXT: Re: Difficult using RDFFormat.RDF_THRIFT with RDFDataMgr

Hi there,

Could you provide the file that's in error together with what should be in the 
file? Files are processed one by one so the problem should show up when reading 
the thrift file in isolation to the ontology.

Which version of Jena are you using?

    Andy


On 06/08/2020 16:23, Crapo, Andrew (GE Research, US) wrote:
>   I have a small OWL file that imports other OWL files. I have saved each 
> using RDFDataMgr with RDFFormat.RDF_THRIFT as the language. When I try to 
> load one of the persisted OWL files using RDFDataMgr, I get this error: 
> "org.apache.jena.riot.thrift.RiotThriftException: 
> org.apache.thrift.protocol.TProtocolException: Required field 'uri' was not 
> present". I experimented with making sure that there was a prefix and URI in 
> the map for each OntModel that was written and determined that the error 
> appears to occur for one of the imported models. However, I cannot get the 
> RDF_THRIFT serialization to load. Any suggestions on how to get this to work?
> 
> Andrew W Crapo
> Information Scientist
> GE Global Research
> 
> T +1 518 387-5729
> [email protected]<mailto:[email protected]>
> 
> One Research Circle
> Niskayuna, NY 12302 USA
> 
> GE imagination at work
> 
> 

<<attachment: Simple.trdf.zip>>

Reply via email to