Comparing RDF/S to XML DTD/Schemas
Focus on edge-labeled, unordered graphs
- With the exception of sequences
Relies on global names and ids
- With the exception of unnamed resources
Supports a limited form of typing
Provides subsumption relationships for classes and properties
- With the exception of containers
No integrity constraints
- Skolem functions for unnamed resources
- Focus on node-labeled, ordered trees
- With the exception of attributes
- Relies on global (elements) and local names (attributes)
- XML Schema local elements
- Supports stronger forms of typing
- With the exception of references
- Provides limited mechanisms for subtyping
- Notions of extension&restriction
- Defines integrity constraints
- Keys and foreign keys using XPath expressions