The document compares Shape Expressions (ShEx) and Shapes Constraint Language (SHACL), both of which are used for RDF graph validation. While they share a common goal of describing and validating RDF graphs, they differ in their underlying philosophies, syntax, and validation approaches, with ShEx being schema-based and SHACL being constraint-based. It also discusses various aspects such as recursion, property paths, inference, and modularity, highlighting the strengths and weaknesses of each language.