[OTDev] Q-edit & Testing results
Pantelis Sopasakis chvng at mail.ntua.grFri Aug 19 14:07:00 CEST 2011
- Previous message: [OTDev] Shutdown of old AA server
- Next message: [OTDev] Q-edit & Testing results
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Testing of Q-edit has revealed several bugs in the WS implementations. For example, parsing http://opentox.informatik.tu-muenchen.de:8080/OpenTox-dev/algorithm/PLSregression is not possible since Algorithm Types are represented as Literals and not as Ontological Classes in the RDF/XML document (see attachment). Also the models http://opentox-dev.informatik.tu-muenchen.de:8080/OpenTox-dev/model/TUMOpenToxModel_j48_3 and http://opentox-dev.informatik.tu-muenchen.de:8080/OpenTox-dev/model/TUMOpenToxModel_kNN_10 (registered in the ontology server) return a 404: curl http://opentox-dev.informatik.tu-muenchen.de:8080/OpenTox-dev/model/TUMOpenToxModel_j48_3 -H subjectid:AQIC5wM2LY4Sfcww4waLuGIZwG1wNcP3x3C53A-jnDZd-iI.*AAJTSQACMDE.* -v * About to connect() to opentox-dev.informatik.tu-muenchen.de port 8080 (#0) * Trying 131.159.28.7... connected * Connected to opentox-dev.informatik.tu-muenchen.de (131.159.28.7) port 8080 (#0) > GET /OpenTox-dev/model/TUMOpenToxModel_j48_3 HTTP/1.1 > User-Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15 > Host: opentox-dev.informatik.tu-muenchen.de:8080 > Accept: */* > subjectid:AQIC5wM2LY4Sfcww4waLuGIZwG1wNcP3x3C53A-jnDZd-iI.*AAJTSQACMDE.* > < HTTP/1.1 404 Not Found < Server: Apache-Coyote/1.1 < Content-Type: text/html;charset=utf-8 < Content-Length: 1086 < Date: Fri, 19 Aug 2011 10:45:12 GMT < Some issues with IBMC services have been solved. However, models and algorithms have different base URIs, namely http://195.178.207.160/opentox/ for models and http://195.178.207.160/OpenTox for algorithms and parsing is not possible. Additionally, http://195.178.207.160/opentox/model returns a malformed RDF while http://195.178.207.160/OpenTox/algorithm returns an empty representation : curl -H Accept:application/rdf+xml http://195.178.207.160/OpenTox/algorithm -v * About to connect() to 195.178.207.160 port 80 (#0) * Trying 195.178.207.160... connected * Connected to 195.178.207.160 (195.178.207.160) port 80 (#0) > GET /OpenTox/algorithm HTTP/1.1 > User-Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15 > Host: 195.178.207.160 > Accept:application/rdf+xml > < HTTP/1.1 200 OK < Date: Fri, 19 Aug 2011 10:51:10 GMT < Server: Apache/2.0.63 (Win32) < X-Powered-By: PHP/5.3.3 < Content-Length: 0 < Content-Type: text/html; charset=WINDOWS-1251 < * Connection #0 to host 195.178.207.160 left intact * Closing connection #0 Some IST models cannot be parsed. Jena says: SEVERE: qedit.task.ImportModel at ec1c4d failed: com.hp.hpl.jena.ontology.ConversionException: Cannot convert node "http://www.opentox.org/api/1.1#ModelPrediction"^^http://www.w3.org/2001/XMLSchema#string to OntClass: it does not have rdf:type owl:Class or equivalent com.hp.hpl.jena.ontology.ConversionException: Cannot convert node "http://www.opentox.org/api/1.1#ModelPrediction"^^http://www.w3.org/2001/XMLSchema#string to OntClass: it does not have rdf:type owl:Class or equivalent which means that http://www.opentox.org/api/1.1#ModelPrediction should be an Ontological Class (or at least a resource) but it's a literal - the error sources from http://toxcreate3.in-silico.ch/model/9304/predicted/value (see attachment). Question: Shouldn't all feature URIs follow the pattern /feature/{id}? Also I think that the triple: http://toxcreate3.in-silico.ch/model/9304/predicted/value http://www.w3.org/2001/XMLSchema#anyURI http://toxcreate3.in-silico.ch/model/9304/predicted/value is not much meaningful. @All: Please use http://www.mygrid.org.uk/OWL/Validator to make sure that your representations are OWL-DL valid and http://www.w3.org/RDF/Validator/ or http://inspector.sindice.com/index.jsp to check the structure of your RDFs. Would be useful to check whether your models can be parsed by Q-edit ( http://opentox.ntua.gr/blog/78-q-edit ). Best regards, Pantelis Sopasakis -------------- next part -------------- A non-text attachment was scrubbed... Name: tum-algorithm-error.jpg Type: image/jpeg Size: 100957 bytes Desc: not available URL: <http://lists.opentox.org/pipermail/development/attachments/20110819/d33a5019/attachment.jpg> -------------- next part -------------- A non-text attachment was scrubbed... Name: ist-feature-error.jpg Type: image/jpeg Size: 127799 bytes Desc: not available URL: <http://lists.opentox.org/pipermail/development/attachments/20110819/d33a5019/attachment-0001.jpg>
- Previous message: [OTDev] Shutdown of old AA server
- Next message: [OTDev] Q-edit & Testing results
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Development mailing list