Reputation: 766
I would like to add a semantic version to a document, which is an interface specification, using meta-data.
My preference would be to not have something proprietary, but standards based, e.g. using Dublin Core.
I already used the text search to find something in the vocabularies defined there and found two things:
However, both are meant to be used for "non-literal" values and reference another resource.
Frankly I did not fully understand in which way they shall be used.
Is there anything available for my use-case?
Upvotes: 1
Views: 54
Reputation: 2285
The Dublin Core terms dcterms:hasVersion
/dcterms:isVersionOf
are meant to link the versioned documents to each other, e.g.:
</documentation/v2/install> dcterms:isVersionOf </documentation/v1/install> .
To provide the version literal of a document, you could use the Schema.org property schema:version
:
</documentation/v2/install> schema:version "2" .
If the document is an ontology: owl:versionInfo
Upvotes: 1