Patterns for Resource Maps

This page lists some basic patterns for managing resource collections. The aim is to present consistently structured resource collections which will facilitate adoption. These examples conform to the YADS Model Schema.

See also Recipes

Tip: Try looking at "Named Objects" before "Blank Objects" - they're easier to grasp.

Tip: Use the bare "Resources" and rich "Commented" maps to understand better the "Resources + Properties" maps.


[ RDF (JSON, N3, XML), see also RDF Validator, W3C RDF Validator, and TriX Converter ]

Use Case Example Resource Maps Code Literals
Blank Objects ("Case 1") Collection (1) Resources Resources + Properties Commented Perl/Ruby and Python
Collection (n) Resources Resources + Properties Commented Perl/Ruby and Python
Collection / Collection Resources Resources + Properties Commented Perl/Ruby and Python
Collection / Collection / Coll... Resources Resources + Properties Commented Perl/Ruby and Python

Named Objects ("Case 2") Collection (1) Resources Resources + Properties Commented Perl/Ruby and Python
Collection (n) Resources Resources + Properties Commented Perl/Ruby and Python
Collection / Collection Resources Resources + Properties Commented Perl/Ruby and Python
Collection / Collection / Coll... Resources Resources + Properties Commented Perl/Ruby and Python