pub fn simple_schema() -> Shape
Expand description

This function creates a simple schema for a triple constraint in Rust programming language.

Returns:

A Shape object is being returned. The simple_schema function creates a TripleConstraint object that specifies that an instance must have a single value for the rdf:type property that is equal to the Human class. This TripleConstraint object is then converted into a Shape object using the into() method.