Hi Kaarel,<br>Yup,exactly right. The problem was because of Firefox. As you said, Firefox doesn&#39;t show  all the<br>
attributes of the XML root element.<br>Thanks for your time and helpful contribution.<br>Alireza.<br><br><div class="gmail_quote">On Wed, Mar 18, 2009 at 7:16 PM, Kaarel Kaljurand <span dir="ltr">&lt;<a href="mailto:kaljurand@gmail.com">kaljurand@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear Alireza,<br>
<div class="im"><br>
On Wed, Mar 18, 2009 at 3:49 PM, Alireza &lt;<a href="mailto:alireza.khoshkbari@gmail.com">alireza.khoshkbari@gmail.com</a>&gt; wrote:<br>
<br>
&gt; I’m going to use APE Webservice to translate ACE text to owl. The output of<br>
&gt; the web service for the text “Every+man+is+a+human.” Is as follows:<br>
&gt;<br>
&gt; &lt;rdf:RDF xml:base=&quot;<a href="http://attempto.ifi.uzh.ch/ontologies/owlswrl/test" target="_blank">http://attempto.ifi.uzh.ch/ontologies/owlswrl/test</a>&quot;&gt;<br>
&gt; &lt;owl:Ontology rdf:about=&quot;&quot;/&gt;<br>
&gt; &lt;owl:Class rdf:about=&quot;#man&quot;&gt;<br>
&gt; &lt;rdfs:subClassOf&gt;<br>
&gt; &lt;owl:Class rdf:about=&quot;#human&quot;/&gt;<br>
&gt; &lt;/rdfs:subClassOf&gt;<br>
&gt; &lt;/owl:Class&gt;<br>
&gt; &lt;/rdf:RDF&gt;<br>
<br>
</div>I&#39;m getting a different output, namely:<br>
<br>
$ curl &quot;<a href="http://attempto.ifi.uzh.ch/ws/ape/apews.perl?text=Every+man+is+a+human.&amp;solo=owlrdf" target="_blank">http://attempto.ifi.uzh.ch/ws/ape/apews.perl?text=Every+man+is+a+human.&amp;solo=owlrdf</a>&quot;<br>

<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
<div class="im"><br>
&lt;rdf:RDF<br>
    xml:base=&quot;<a href="http://attempto.ifi.uzh.ch/ontologies/owlswrl/test" target="_blank">http://attempto.ifi.uzh.ch/ontologies/owlswrl/test</a>&quot;<br>
</div>    xmlns=&quot;<a href="http://attempto.ifi.uzh.ch/ontologies/owlswrl/test#" target="_blank">http://attempto.ifi.uzh.ch/ontologies/owlswrl/test#</a>&quot;<br>
<div class="im">    xmlns:owl=&quot;<a href="http://www.w3.org/2002/07/owl#" target="_blank">http://www.w3.org/2002/07/owl#</a>&quot;<br>
</div>    xmlns:owl11=&quot;<a href="http://www.w3.org/2006/12/owl11#" target="_blank">http://www.w3.org/2006/12/owl11#</a>&quot;<br>
    xmlns:swrl=&quot;<a href="http://www.w3.org/2003/11/swrl#" target="_blank">http://www.w3.org/2003/11/swrl#</a>&quot;<br>
    xmlns:swrlb=&quot;<a href="http://www.w3.org/2003/11/swrlb#" target="_blank">http://www.w3.org/2003/11/swrlb#</a>&quot;<br>
<div class="im">    xmlns:rdf=&quot;<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#" target="_blank">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>&quot;<br>
</div><div class="im">    xmlns:rdfs=&quot;<a href="http://www.w3.org/2000/01/rdf-schema#" target="_blank">http://www.w3.org/2000/01/rdf-schema#</a>&quot;&gt;<br>
</div><div class="im">  &lt;owl:Ontology rdf:about=&quot;&quot;/&gt;<br>
  &lt;owl:Class rdf:about=&quot;#man&quot;&gt;<br>
    &lt;rdfs:subClassOf&gt;<br>
      &lt;owl:Class rdf:about=&quot;#human&quot;/&gt;<br>
    &lt;/rdfs:subClassOf&gt;<br>
  &lt;/owl:Class&gt;<br>
&lt;/rdf:RDF&gt;<br>
<br>
</div>This seems to contain all the required namespace prefix definitions.<br>
In fact it contains even ones that are not needed but this would not hurt.<br>
<br>
I haven&#39;t really tested the outputs with Jena much. I&#39;m mainly using<br>
the webservice with OWL-API, and mainly make it generate the<br>
new OWL 2 XML, but the RDF/XML output should be also OK.<br>
<div class="im"><br>
&gt; As I needed to call and use the APE web service directly in my project, I’m<br>
&gt; wondering whether the web service can generate the flawless owl code or I<br>
&gt; should modify automatically the output, before using in the project.<br>
<br>
</div>Maybe you are using an older version of the webservice? Btw, are you querying<br>
the Attempto server, or do you have the APE installed locally (and you&#39;re using<br>
&quot;ape.exe -httpserver&quot; to launch the service)?<br>
<br>
Actually, one likely source of confusion is that Firefox does not show all the<br>
attributes of the XML root element. Could that be the problem? I.e. if you&#39;re<br>
using Firefox to explore the webservice outputs then try &quot;view source&quot;<br>
and see if the attributes are there.<br>
<font color="#888888"><br>
--<br>
kaarel<br>
_______________________________________________<br>
attempto mailing list<br>
<a href="mailto:attempto@lists.ifi.uzh.ch">attempto@lists.ifi.uzh.ch</a><br>
<a href="https://lists.ifi.uzh.ch/listinfo/attempto" target="_blank">https://lists.ifi.uzh.ch/listinfo/attempto</a><br>
</font></blockquote></div><br>