es.weso.shex.normalized

Type members

Classlikes

case class Constraint(shape: Option[ShapeExpr], hasExtra: Boolean, card: Cardinality, as: Option[List[Annotation]], tc: TripleConstraint)
Companion:
object
object Constraint
Companion:
class
case class FlatShape(id: Option[ShapeLabel], slots: Map[Path, Constraint], closed: Boolean)

A flat shape consists of a list of slots where each slot is formed by a path and a constraint. It has no repeated properties It can be represented as a map from a path to a constraint.

A flat shape consists of a list of slots where each slot is formed by a path and a constraint. It has no repeated properties It can be represented as a map from a path to a constraint.

Value parameters:
slots

a vector of pairs (Path, Constraint)

Companion:
object
object FlatShape
Companion:
class
case class NormalizedShape(slots: Map[Path, Vector[Constraint]], closed: Boolean)

A normalized shape consists of a list of slots where each slot is formed by a path and a list of constraints. It can be represented as a map from a path to a list of constraints

A normalized shape consists of a list of slots where each slot is formed by a path and a list of constraints. It can be represented as a map from a path to a list of constraints

Value parameters:
closed

indicates if the shape is closed

slots

a vector of pairs (Path, Vector[Constraint])

Companion:
object
Companion:
class
case class Slot(path: Path, constraint: Constraint)