Personal tools

From Common Tag

Jump to: navigation, search

Vocabulary Summary: Common Tag

namespace: http://commontag.org/ns#

Classes: Tag, AuthorTag, ReaderTag, AutoTag

Properties: means, tagged, taggingDate, label

Classes

Class ctag:Tag

A Tag for a Resource
in-domain-of: ctag:means
ctag:taggingDate
ctag:label
in-range-of: ctag:tagged

A Tag holds the metadata provided by a Common Tag for a specific Resource. A Resource may be tagged with multiple tags, which may have been created by any number of people or processes that have come into contact with the Resource.

A minimal tag for the document you are currently reading, expressed in RDFa:

<span xmlns:ctag="http://commontag.org/ns#" rel="ctag:tagged">
  <span typeof="ctag:Tag  rel="ctag:means"
        resource="http://rdf.freebase.com/ns/en/collaborative_tagging"/>
</span>

Note: If no RDFa subject is in scope, the Resource being tagged is by default the current document. The typeof="ctag:Tag" statement creates a bnode representing the Tag container.

The resulting triples:
< > ctag:tagged _:x .
_:x rdf:type ctag:Tag .
_:x ctag:means <http://rdf.freebase.com/ns/en/collaborative_tagging> .

Class ctag:AuthorTag

subclass of ctag:Tag

A Tag for a Resource, assigned by the author of the Resource

Class ctag:ReaderTag

subclass of ctag:Tag

A Tag for a Resource, assigned by a user of the Resource

Class ctag:AutoTag

subclass of ctag:Tag

A Tag for a Resource, assigned by an automated system

Properties

Property ctag:tagged

The Tags that apply to a Resource
Domain: rdf:Resource
Range: ctag:Tag

Connects the Tag (bnode) to the thing that is being tagged

<body xmlns:ctag="http://commontag.org/ns#" rel="ctag:tagged">
    <span typeof="ctag:Tag" rel="ctag:means" 
         resource="http://rdf.freebase.com/ns/en.u2"/>
</body>

Property ctag:means

A Resource representing the meaning of a Tag
Domain: ctag:Tag
Range: rdf:Resource

The URI specified should be a stable, dereferencable Resource that identifies the concept expressed by the Tag.

<body xmlns:ctag="http://commontag.org/ns#" rel="ctag:tagged">
    <span typeof="ctag:Tag" rel="ctag:means" 
         resource="http://rdf.freebase.com/ns/en.u2"/>
</body>

Property ctag:taggingDate

The date the Tag was created
Domain: ctag:Tag
Range: rdfs:Literal

An literal, expressed as [YYYY-MM-DD] - XSD DateTime (http://www.w3.org/TR/xmlschema-2/#dateTime)

<body xmlns:ctag="http://commontag.org/ns#" rel="ctag:tagged">
    <span typeof="ctag:Tag" 
              rel="ctag:means" resource="http://rdf.freebase.com/ns/en.u2" 
              property="ctag:taggingDate" content="2009-06-01"/>
</body>

Property ctag:label

subproperty of rdfs:label

A human readable label for a Tag

Domain: ctag:Tag
Range: rdfs:Literal

A string literal (with optional language tag) specifying a name for the concept described by the ctag:means property.

<body xmlns:ctag="http://commontag.org/ns#" rel="ctag:tagged">
    <span typeof="ctag:Tag" 
              rel="ctag:means" resource="http://rdf.freebase.com/ns/en.u2" 
              property="ctag:label" content="U2"/>
</body>