Specifications for hocuspocus, version 0.12.6 >

Generating RDF

You can represent archival text files in a corpus as RDF statements equivalent under the OHCO2 model of citable texts.

Example

The files in this root directory (documented in this TextInventory file) contain two selections from the Iliad, each 32 lines long. If we express the entire repository as RDF in this directory, the file corpus.ttl will describe 73 citable units of text.

RDF verbs

hocuspocus uses RDF verbs from four vocabularies:

Example

RDF Concepts

CTS textgroups, works, versions and exemplars are classified with the rdf:type verb; the predicate is one of cts:TextGroup, cts:Work, cts:Edition, cts:Translation or cts:Exemplar.

CTS textgroups, works, versions, exemplars and citable nodes of text are labelled using the rdf:label verb and a String predicate.

Dublin Core

Titles of CTS textgroups, works, versions and exemplars are identified with dc:title verbs.

Canonical Text Services

Twelve verbs in the cts namespace are used (with specification of semantics TBA here):

Homer Multitext project

Two verbs from the hmt namespace describe information used internally in this implementation in the conversion of canonically citable texts to and from XML serializations (TBA):

Examples

The files in this root directory (documented in this TextInventory file) contain two selections from the Iliad, each 32 lines long. If we express the entire repository as RDF in this directory, the file corpus.ttl will give us these verbs:

Verb (with abbreviated prefix)
cts:abbreviatedBy
cts:belongsTo
cts:citationDepth
cts:containedBy
cts:contains
cts:hasSequence
cts:hasTextContent
cts:lang
cts:next
cts:possesses
cts:prev
cts:translationLang
cts:xmlns
dcterms:title
hmt:xmlOpen
hmt:xpTemplate
rdf:label
rdf:type