Marcia; Note that your "corrected" version changes the semantics of
the ontology.  For example, in the Class_1-after_import.owl file you
have the triple:
  :c1    :sex    :M .

When you changed this, the equivalent triple became:
  :c1   :sex    "M"^^xsd:string .

Insofar as validation (OWL species?) is concerned, it shouldn't be an
issue.  Most reasoners will work with OWL Full.  A much better option
is using the OWL 2 RL profile, where this is not a concern.  Composer
supports OWL 2 reasoning - see 
http://www.topquadrant.com/products/TBS_FAQ.html#TBC11

-- Scott

On Aug 4, 9:37 am, marica franchi <[email protected]> wrote:
> Hi,
> I'm trying to import  some instances from a csv file in a owl ontology.
> I use "OWL file form spreadsheet" import: I have and existing Owl model.
> The import file finished succesfully, but when I validate the file with a
> validator tool, there's a problem with owl:OneOf
>
> For example in the ontology has declared:
>
>   <owl:Class rdf:ID="Class_1"/>
>   <owl:DatatypeProperty rdf:ID="sex">
>     <rdfs:range>
>       <owl:DataRange rdf:nodeID="A0">
>         <owl:oneOf rdf:parseType="Resource">
>           <rdf:rest rdf:parseType="Resource">
>             <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string
> "
>             >F</rdf:first>
>             <rdf:rest 
> rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
>           </rdf:rest>
>           <rdf:first rdf:datatype="http://www.w3.org/2001/XMLSchema#string";
>           >M</rdf:first>
>         </owl:oneOf>
>       </owl:DataRange>
>     </rdfs:range>
>     <rdfs:domain rdf:resource="#Class_1"/>
>     <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty
> "/>
>   </owl:DatatypeProperty>
>
> After import,  the knowledge base has:
>   <Class_1 rdf:ID="c2">
>     <sex>
>       <rdf:Description rdf:ID="M">
>         <rdf:type rdf:nodeID="A0"/>
>       </rdf:Description>
>     </sex>
>   </Class_1>
>   <Class_1 rdf:ID="c1">
>     <sex rdf:resource="#M"/>
>   </Class_1>
>
> The owl file cannot be validated.
>
> Is there a solution for this problem?
>
> Thanks.
>
>  Class_1.zip
> 2KViewDownload

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to