Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] More questions on higgins0.5.5.owl

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?

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


Back to the top