This brief tutorial demonstrates some best practices to use when modeling data in XML and/or JSON. It covers document sizing and granularity, keeping a data model simple and understandable, and applying envelope patterns. This tutorial is geared for developers using Mark Logic 7 or 8.
Keywords: MarkLogic, JSON, XML, Data modeling
Time required: P15M
- Articulates differences between the RDF abstract data model and the XML and relational models.
- Knows the subject-predicate-object component structure of a triple.
- Differentiates hierarchical document models (eg, XML) and graph models (RDF).
- Grasps essential differences between schemas for syntactic validation (e.g., XML) and for inferencing (RDF Schema).