Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] datatype definition in OWL file

Eugenio Tacchini eugenio.tacchini at unicatt.it
Mon Apr 30 03:48:24 PDT 2007


Ok, thanks for your reply.

So the only way to use "custom" datatypes is to put the XML Schema 
datatype definitions in a separate file, as described here:
http://www.w3.org/TR/2002/WD-owl-guide-20021104/#Datatypes1
?

Thanks.

Regards,

Eugenio.

At 23.02 29/04/2007 -0700, you wrote:
 >
 >I don' t think that this is possible in OWL.
 >
 >-Timothy
 >
 >
 >
 >On Apr 28, 2007, at 7:35 AM, Eugenio Tacchini wrote:
 >
 >> Hello,
 >> is it possible to add an xmlschema definition inside an owl file?
 >>
 >> I have tried to do so:
 >>
 >> <?xml version="1.0"?>
 >> <rdf:RDF
 >> xmlns="http://www.mysite.org/#"
 >> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 >> xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
 >> xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
 >> xmlns:owl="http://www.w3.org/2002/07/owl#"
 >> xml:base="http://www.mysite.org/">
 >>
 >> <xsd:schema>
 >> <xsd:simpleType name="MyYear">
 >> <xsd:restriction base="xsd:integer">
 >> <xsd:minInclusive value="1700"/>
 >> </xsd:restriction>
 >> </xsd:simpleType>
 >> </xsd:schema>
 >>
 >> <owl:Ontology rdf:about=""/>
 >> .......
 >>
 >> But if I try to open the file using protege I get this error:
 >> "Jena parse error message: {E201} The attributes on this property
 >> element, are not permitted with any content; expecting end element
 >> tag."
 >> on the line:
 >> <xsd:simpleType name="MyYear">
 >> and other similar errors.
 >>
 >> Thanks.
 >>
 >> Regards,
 >>
 >> Eugenio.
 >>
 >> _______________________________________________
 >> protege-owl mailing list
 >> protege-owl at lists.stanford.edu
 >> https://mailman.stanford.edu/mailman/listinfo/protege-owl
 >>
 >> Instructions for unsubscribing: http://protege.stanford.edu/doc/
 >> faq.html#01a.03
 >
 >_______________________________________________
 >protege-owl mailing list
 >protege-owl at lists.stanford.edu
 >https://mailman.stanford.edu/mailman/listinfo/protege-owl
 >
 >Instructions for unsubscribing:
 >http://protege.stanford.edu/doc/faq.html#01a.03 




More information about the protege-owl mailing list