[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [higgins-dev] More questions on higgins0.5.5.owl
|
OWL nut or not, I like being more explicit where we're able.
Tom
>>> "Paul Trevithick" <paul@xxxxxxxxxxxxxxxxx> 9/13/2006 11:50 PM >>>
Tom wrote:
>
> BTW, to continue #3, I'm going to need &xsd;base64Binary, and
> &xsd:integer as well. Do we want others? Do we want all the
built-in
> XSD datatypes?
For each XSD type used by OWL (almost all of them) we'll want to create
in
Higgins.owl a sub-Property of datatypeValue and a sub-class of
DatatypeAttriubte.
BTW, I could in Higgins.owl globally replace "datatype" with "literal"
(thus
creating things like literalValue and LiteralAttriubte). I think this
would
line up better with Jim's API interfaces and be a little clearer (only
an
OWL nut would know that "datatype" means literal).
-Paul
>
> Tom
>
> >>> "Tom Doman" <TDoman@xxxxxxxxxx> 9/13/2006 1:18 PM >>>
> Paul,
>
> A couple more questions ...
>
> 1. What forces StringDatatypeAttribute to use stringDatatypeValue as
> it's values?
> 2. Should items with a range of StringDatatypeAttribute be using
> stringDatatypeValue instead? I think I must be missing a piece of
OWL
> knowledge that'll cause this to make sense to me.
> 3. Could we add a normalizedStringDatatypeValue which uses
> "&xsd;normalizedString" as it's XSD type?
>
> If I was defining the datatype property for the LDAP "name"
attribute,
> outside of Higgins, I'd do it something like:
>
> <owl:DataProperty rdf:about="#name">
> <rdfs:label rdf:datatype="&xsd;string">name</rdfs:label>
> <rdfs:comment rdf:datatype="&xsd;string">RFC2256:
> name</rdfs:comment>
> <owl:equivalentProperty rdf:resource="urn:oid:2.5.4.41"/>
> <rdfs:range rdf:resource="&xsd;normalizedString"/>
> </owl:DataProperty>
>
> Within Higgins, I'm not sure how I'd do it. Maybe:
>
> <owl:DataProperty rdf:about="#name">
> <rdfs:label rdf:datatype="&xsd;string">name</rdfs:label>
> <rdfs:comment rdf:datatype="&xsd;string">RFC2256:
> name</rdfs:comment>
> <owl:equivalentProperty rdf:resource="urn:oid:2.5.4.41"/>
> <rdfs:subPropertyOf rdf:resource="@higgins;attribute"/>
> <rdfs:range
> rdf:resource="&higgins;NormalizedStringDatatypeAttribute"/>
> </owl:DataProperty>
>
> or, depending on #2 above, maybe:
>
> <owl:DataProperty rdf:about="#name">
> <rdfs:label rdf:datatype="&xsd;string">name</rdfs:label>
> <rdfs:comment rdf:datatype="&xsd;string">RFC2256:
> name</rdfs:comment>
> <owl:equivalentProperty rdf:resource="urn:oid:2.5.4.41"/>
> <rdfs:subPropertyOf rdf:resource="@higgins;attribute"/>
> <rdfs:range
> rdf:resource="&higgins;NormalizedStringDatatypeValue"/>
> </owl:DataProperty>
>
> Tom
>
> _______________________________________________
> higgins-dev mailing list
> higgins-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/higgins-dev
> _______________________________________________
> higgins-dev mailing list
> higgins-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/higgins-dev
_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev