It is possible to specify reference data restrictions in the template.xml files by the use of OWLconstraints on a property definition.
These allow you to qualify what the reference data is to be used on a property
E.g. Use this class or individual
Currently the options are
<xs:enumeration value="equal">
<xs:annotation>
<xs:documentation>The URI of reference data must equal that
provided for an OWL class.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="oneOf">
<xs:annotation>
<xs:documentation>The URI of reference data must be equal to one of the URIs
provided</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="oneOfOrSubclass">
<xs:annotation>
<xs:documentation>The URI of reference data must be equal to one of the URIs
provided or a subclass of one of them</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="equalOrSubclass">
<xs:annotation>
<xs:documentation>The URI of reference data must be equal to one of the URIs
provided or a subclass of it</xs:documentation>
</xs:annotation>
</xs:enumeration>
It is proposed to add:
<xs:enumeration value="equalIndividual">
<xs:annotation>
<xs:documentation>The URI of reference data must equal the URI
provided for an indivual OWL object.</xs:documentation>
</xs:annotation>
</xs:enumeration>
/cvsroot/plcslib/plcslib/xsd/templates.xsd,v <-- templates.xsd
new revision: 1.6; previous revision: 1.5
/cvsroot/plcslib/plcslib/xsl/templates/templates.xsl,v <-- templates.xsl
new revision: 1.56; previous revision: 1.55