<https://ontology.pflow.xyz/pattern/state-machine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/02/skos/core#Concept> .
<https://ontology.pflow.xyz/pattern/state-machine> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://ontology.pflow.xyz/ns#NetPattern> .
<https://ontology.pflow.xyz/pattern/state-machine> <http://www.w3.org/2004/02/skos/core#altLabel> "finite state machine"@en .
<https://ontology.pflow.xyz/pattern/state-machine> <http://www.w3.org/2004/02/skos/core#altLabel> "lifecycle"@en .
<https://ontology.pflow.xyz/pattern/state-machine> <http://www.w3.org/2004/02/skos/core#altLabel> "states and transitions"@en .
<https://ontology.pflow.xyz/pattern/state-machine> <http://www.w3.org/2004/02/skos/core#altLabel> "status"@en .
<https://ontology.pflow.xyz/pattern/state-machine> <http://www.w3.org/2004/02/skos/core#definition> "Each state is a place and one token marks the current state; a transition moves the token between two states. Optionally a transition carries a guard."@en .
<https://ontology.pflow.xyz/pattern/state-machine> <http://www.w3.org/2004/02/skos/core#prefLabel> "StateMachine"@en .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#caveat> "A port is declared for every state place, not only the ones meant to be seen from outside." .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#caveat> "A state's place id is fmt.Sprintf(\"%v\", state), so two state values that print the same share one place." .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#caveat> "AddGuardedTransition takes a Go function and a guard expression string; the function is opaque to this graph." .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#caveat> "Net kind is WorkflowNet, so the legality matrix rejects a token link to or from it (E_ILLEGAL_LINK). It composes by data, guard and event links only." .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#composesWith> <https://ontology.pflow.xyz/pattern/saga> .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#compositionLayer> <https://ontology.pflow.xyz/ns#MetamodelLayer> .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#constructor> "metamodel.NewStateMachine[S](name, initial) with AddState, AddTransition, AddGuardedTransition, then (*StateMachine[S]).ToSubnet(id)" .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#hasInvariant> <https://ontology.pflow.xyz/pattern/state-machine-inv-mutex> .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#hasParameter> <https://ontology.pflow.xyz/pattern/state-machine-param-id> .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#hasParameter> <https://ontology.pflow.xyz/pattern/state-machine-param-initial> .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#hasParameter> <https://ontology.pflow.xyz/pattern/state-machine-param-name> .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#hasParameter> <https://ontology.pflow.xyz/pattern/state-machine-param-states> .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#hasParameter> <https://ontology.pflow.xyz/pattern/state-machine-param-transitions> .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#hasPort> <https://ontology.pflow.xyz/pattern/state-machine-port-state> .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#intent> "a thing is in exactly one of several states and moves between them"@en .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#netKind> "WorkflowNet" .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#providedBy> <https://ontology.pflow.xyz/component/go-pflow/metamodel> .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#sourceFile> "metamodel/patterns.go" .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#sourceFile> "metamodel/patterns_compose.go" .
<https://ontology.pflow.xyz/pattern/state-machine> <https://ontology.pflow.xyz/ns#sourceRevision> "go-pflow origin/main 69257b3" .
