I have a scope called 'r2HR' and I try to load an ontology, 
http://www.ontologydesignpatterns.org/cp/owl/agentrole.owl , for testing 
purposes. This ontology is mentioned in the examples at 
http://stlab.istc.cnr.it/documents/KReS/KReS-Alpha/node25.html

I use 

curl -X POST -F 
location="http://www.ontologydesignpatterns.org/cp/owl/agentrole.owl"; 
http://localhost:8080/ontonet/ontology/r2HR

and the response is 

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 400 Bad Request</title>
</head>
<body>
<h2>HTTP ERROR: 400</h2>
<p>Problem accessing /ontonet/ontology/r2HR. Reason:
<pre>    Bad Request</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>

</body>
</html>

The same response I get when I try to load the ontology via the web interface 
(i.e. Load an ontology -> From a URL -> Fetch )

In the Stanbol’s command window (DOS) no related information is displayed.

Can anyone please tell me how to upload the ontology to the scope ?

Thanks, Adrian


Reply via email to