Dear ACE team,<br>Hi,<br>I’m going to use APE Webservice to translate ACE text to owl. The output of the web service for the text “Every+man+is+a+human.” Is as follows:<br><br>&lt;rdf:RDF xml:base=&quot;<a href="http://attempto.ifi.uzh.ch/ontologies/owlswrl/test">http://attempto.ifi.uzh.ch/ontologies/owlswrl/test</a>&quot;&gt;<br>
&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>However, the above script is not a valid owl code due to the lack of namespace declaration and provokes errors. Moreover it needs some other modification to get flawless for reading as an owl file in Jena package or Protégé. The following code is corrected form of the above code.<br>
<br><span style="color: rgb(255, 0, 0);">&lt;?xml version=&quot;1.0&quot;?&gt;</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">&lt;rdf:RDF</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">    xmlns:rdf=&quot;<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>&quot;</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">    xmlns:xsd=&quot;<a href="http://www.w3.org/2001/XMLSchema#">http://www.w3.org/2001/XMLSchema#</a>&quot;</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">    xmlns:rdfs=&quot;<a href="http://www.w3.org/2000/01/rdf-schema#">http://www.w3.org/2000/01/rdf-schema#</a>&quot;</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">    xmlns:owl=&quot;<a href="http://www.w3.org/2002/07/owl#">http://www.w3.org/2002/07/owl#</a>&quot;</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">    xmlns=&quot;<a href="http://www.owl-ontologies.com/unnamed.owl#">http://www.owl-ontologies.com/unnamed.owl#</a>&quot;</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">  xml:base=&quot;<a href="http://www.owl-ontologies.com/unnamed.owl">http://www.owl-ontologies.com/unnamed.owl</a>&quot;&gt;</span><br>&lt;owl:Ontology rdf:about=&quot;&quot;/&gt;<br>&lt;owl:Class rdf:<span style="color: rgb(255, 0, 0);">ID</span>=&quot;man&quot;&gt;<br>
&lt;rdfs:subClassOf&gt;<br>&lt;owl:Class rdf:<span style="color: rgb(255, 0, 0);">ID</span>=&quot;human&quot;/&gt;<br>&lt;/rdfs:subClassOf&gt;<br>&lt;/owl:Class&gt;<br>&lt;/rdf:RDF&gt;<br><br>As I needed to call and use the APE web service directly in my project, I’m wondering whether the web service can generate the flawless owl code or I should modify automatically the output, before using in the project.<br>
Thank you.<br>Alireza.<br>