[OTDev] Testing new RDF writer at http://ambit.uni-plovdiv.bg:8080/ambit2

Tobias Girschick tobias.girschick at in.tum.de
Wed Aug 18 09:46:03 CEST 2010


Hi Nina, 

I tested with the following curl call:

curl -X POST -d
'dataset_uri=http://ambit.uni-plovdiv.bg:8080/ambit2/dataset/1054' -d
'prediction_feature=http://ambit.uni-plovdiv.bg:8080/ambit2/feature/357709' -d 'dataset_service=http://ambit.uni-plovdiv.bg:8080/ambit2/dataset' http://localhost:8080/OpenTox-dev/algorithm/J48 -iv

and got an error:
com.hp.hpl.jena.shared.JenaException: org.xml.sax.SAXParseException:
Element type "ot:http" must be followed by either attribute
specifications, ">" or "/>".

This happens in the following code snippet (2nd line throws the
Exception):
OntModel ontmodel = OT.createModel();
ontmodel.read(inRDF,null);

So the JENA read() method seems to dislike the RDF. inRDF is of type
InputStream. 

I'll go online on skype, so we can figure out what's going on. 

Regards,
Tobias 

On Tue, 2010-08-17 at 16:34 +0300, Nina Jeliazkova wrote: 
> Hi All,
> 
> I would like to ask TUM, NTUA, ALU and all developers, using services
> at   http://ambit.uni-plovdiv.bg:8080/ambit2  to test if reading
> datasets still works OK for them.
> 
> The reason is the default RDF serialization at this server was changed
> today to use the streaming XML (StAX), rather than Jena for
> performance reasons.   This affects currently only serialization of
> ot:Datasets, other resources still use Jena writer.
> 
> While all our junit tests run fine, would be good if you could tell if
> there are any problems.
> 
> There are no changes at the production server
> http://apps.ideaconsult.net:8080/ambit2, it will work with Jena RDF
> writer, until we are sure everything works fine with the new code.
> 
> Best regards,
> Nina
> _______________________________________________
> Development mailing list
> Development at opentox.org
> http://www.opentox.org/mailman/listinfo/development

-- 
Dipl.-Bioinf. Tobias Girschick

Technische Universität München
Institut für Informatik
Lehrstuhl I12 - Bioinformatik
Bolzmannstr. 3
85748 Garching b. München, Germany

Room: MI 01.09.042
Phone: +49 (89) 289-18002
Email: tobias.girschick at in.tum.de
Web: http://wwwkramer.in.tum.de/girschick




More information about the Development mailing list