Semantic Tags
A prototype Query Tool for the Semantic Tag Processor Service has been implemented using HTML, JavaScript and Perl.
The Query Tool has been preloaded with 3 tags that describe an experiment:
L-ascorbic acidInChI=1/C6H8O6/c7-1-2(8)5-3(9)4(10)6(11)12-5/h2,5,7-10H,1H2/t2-,5+/m0/s1UoS:27:1005 A Semantic Tag is a collection of filters that transforms "regular tags" into RDF triples.
When a "regular tag" is filtered by a Semantic Tag, it is substituted into a template by the Semantic Tag Processor Service (Figure 1).

Figure 1: "My Blog Post" with embedded RDF metadata
Use Case 1: Automatic generation of RDF metadata using a REST interface
A participant of a recent happiness-enhancing event has authored an XHTML article on the Internet ("My Blog Post"). The article is tagged with the following keywords: "dev8D", "tagging", "Semantic Web", "Web 2.0". Before the article is published, the Content Management System (CMS) that hosts the article issues a request to the Semantic Tag Processor Service. The results of all matching Semantic Tags (a bag of RDF sub-graphs) are combined to form a single RDF document. The CMS embeds the RDF document into the XHTML content of the article (Figure 1).
A Semantic Tag contains a manifest of Regular Expressions and Templates (Figure 2). Each Semantic Tag is published as a URL that can be dereferenced as a REST end-point. Finally, the Semantic Tag contains metadata for use by search and metadata harvesting protocols.

Figure 2: Entity-relationship diagram for prototype Semantic Tags implementation
Use Case 2: Extraction of Chemical Information to enhance search and retrieval
A Chemistry researcher creates a new page in their Electronic Laboratory Notebook (ELN) to describe their day's work - an experiment involving a vile of boiling water. The page is tagged with the keywords: "water" and "InChI=1/H2O". The second tag is an IUPAC International Chemical Identifier (InChI) - a textual identifier for chemical substances.

Figure 3: Regular expression and RDF/XML template for IUPAC International Chemical Identifiers
The ELN issues a request to the Semantic Tag Processor Service. The ELN uses the RDF response to index the page and according to the formulas of the chemical substances used during the experiment (Figure 3). Finally, the ELN uses the response to retrieve additional Chemical Information from PubChem.
The STagMonger 3000 widget for Mac OS X (Figure 4) was prototyped using Dashcode during the dev8D event. The front view of the widget contains a text input. The content of the text input is used to generate a request to the Semantic Tag Processor Service. The response to the query is processed by the widget and rendered as a table. The back view of the widget can be used to obtain the original RDF/XML content of the response.

Figure 4: StagMonger 3000 widget for Mac OS X
The Semantic Tag Authoring Tool is an Internet-enabled application for creating and modifying Semantic Tags.
The application provides a graphical user interface with a single window (Figure 5). The window provides a menubar (and toolbar) with the following functions:

Figure 5: Semantic Tag Authoring Tool mock interface
Use Case 3: Creating a custom Semantic Tag using a graphical user interface
The ECS URI System Specification describes entities and relationships within the domain of a higher education institution. The specification is published as an OWL ontology.
The ontology defines a "Location" entity that can be referenced using a unique URI:
http://rdf.ecs.soton.ac.uk/location/campus/building/room
http://rdf.ecs.soton.ac.uk/location/UoS/27/1005
Please note: This sequence assumes that resources contain tags of the following format: B27:R1005
Design a platform-agnostic specification for the Semantic Tag Processor Service (Figure 6). The service will be exposed using WSDL and REST.

Figure 6: Overview of architecture for decentralised Semantic Tags platform
Record additional metadata about the life-cycle of the Semantic Tag, including: