prestochango
creates an object model of the information that is serialized in XML as a CITE Collections inventory file.
This includes information about extensions to CITE Collections recognized in this inventory, and about each inventoried Collection.
You can determine the number of Extensions, and for each Extension:
- its abbreviated name
- its full RDF verb
Every Collection belongs to a CITE namespace. In CITE URNs, the namespace is identified with an abbreviated identifier. For any namespace in the inventory, you can determine what its abbreviated identifier, and what full URI that corresponds to.
TBA
You can determine the number of Collections in the repository, and for each Collection:
rdf:label
)Given the test data in this TextInventory file (validated against this schema), and a reference to any directory, we can determine that:
In that inventory, collection urn:cite:hmt:u4
The complete list of its properties is:
Property names |
---|
CodexURN |
Label |
RV |
Sequence |
URN |
Their types are:
Name | Type |
---|---|
CodexURN | citeurn |
Label | string |
RV | string |
Sequence | number |
URN | citeurn |
The RV property has an authority list of allowed values. They are
Allowed values |
---|
recto |
verso |
When a property in a CITE Collection is a URN type, the inventory may optionally indicate the nature of the relationship between the cited object and the object in this collection. The relationship is expressed as a pair of RDF verbs.