[[ScenarioOf::Submissions:Object with states]]
[[:Submissions:Object with states]] [[TakesInAccountReview::+]]
[[ReferenceSubject::Submissions:Object with states]]
[2,"smw-datavalue-wikipage-invalid-title","The pattern contains three classes, one for representing objects, another for representing object states, and a third one for representing sets of states. Besides, it contains object properties for relating objects and states (which are subproperties of those defined in the Situation pattern [[http:\/\/ontologydesignpatterns.org\/cp\/owl\/situation.owl]]) and for relating states and sets of states (reused from the CollectionEntity pattern [[http:\/\/ontologydesignpatterns.org\/cp\/owl\/collectionentity.owl]]) and a datatype property for defining the size of a set of states (reused from the Set pattern [[http:\/\/ontologydesignpatterns.org\/cp\/owl\/set.owl]]).\n\nFor applying the pattern, first all the possible states of the object must be created as instances of the state class using the Value Partition pattern [http:\/\/www.w3.org\/TR\/swbp-specified-values\/]. Then, different classes must be defined to represent the object in each of the states and state-specific restrictions must be applied to those classes; the object class must be defined as a disjoint union of these classes."]