Draft Terminology (in SKOS)
Introduction
Alistair Miles has kindly started off the process with the simple code segment below. For more information about SKOS, see http://www.w3.org/2004/02/skos/.Draft Terminology definitions
--- begin turtle ---
# N.B. need to reserve a namespace, used example.org below
@prefix a4a: <http://example.org/accessibility/a4a/>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
# first declare new properties (just using RDF) ...
a4a:hasAdaptation a rdf:Property;
-
rdfs:label "has adaptation"@en.
a4a:isAdaptationOf a rdf:Property;
-
rdfs:label "is adaptation of"@en.
a4a:readingRate a rdf:Property;
-
rdfs:label "reading rate"@en.
a4a:readingRate a rdf:Property;
-
rdfs:label "reading rate"@en.
a4a:accessMode a rdf:Property;
-
rdfs:label "access mode"@en.
a4a:role a rdf:Property;
-
rdfs:label "role"@en.
a4a:flexibility a rdf:Property;
-
rdfs:label "flexibility"@en.
a4a:supportTool a rdf:Property;
-
rdfs:label "support tool"@en.
# ... then declare all the new controlled values (using a bit of SKOS) ...
a4a:AlternativeText a skos:Concept;
-
skos:prefLabel "alternative text"@en.
a4a:LongDescription a skos:Concept;
-
skos:prefLabel "long description"@en.
a4a:Caption a skos:Concept;
-
skos:prefLabel "caption"@en.
# ... and so on for format values,
a4a:EnhancedText a skos:Concept;
-
skos:prefLabel "enhanced text"@en.
a4a:VerbatimText a skos:Concept;
-
skos:prefLabel "verbatim text"@en.
a4a:ReducedText a skos:Concept;
-
skos:prefLabel "reduced text"@en.
# ... and so on for all other values.
--- end turtle ---