# RDF Vocabulary for XHTML elements.

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## 

# This ontology.
@prefix xhe:      <http://buzzword.org.uk/rdf/xhtml-elements#> .
@prefix :         <http://buzzword.org.uk/rdf/xhtml-elements#> .

# Stock imports.
@prefix cc:       <http://creativecommons.org/ns#> .
@prefix dc:       <http://purl.org/dc/terms/> .
@prefix dcmitype: <http://purl.org/dc/dcmitype/> .
@prefix foaf:     <http://xmlns.com/foaf/0.1/> .
@prefix link:     <http://www.w3.org/2006/link#> .
@prefix owl:      <http://www.w3.org/2002/07/owl#> .
@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#> .
@prefix vs:       <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix xhv:      <http://www.w3.org/1999/xhtml/vocab#> .
@prefix xsd:      <http://www.w3.org/2001/XMLSchema#> .

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## 

<>
	a owl:Ontology ;
	rdfs:label "XHTML Elements"@en ;
	rdfs:comment "For every XHTML element <foo>, there is defined an instance
		of an xhe:Element in this namespace. Elements which are not specifically
		defined below may still be used in this namespace, provided that they are
		defined in at least one W3C-approved version of (X)HTML. Note that all
		elements are defined as lower-case. Utility classes are defined using 
		UpperCamelCase. Utility properties use a _leadingUnderscore."@en .
		

# Utility thingies.

:Element
	a owl:Class ;
	rdfs:label "Element" .
	
:BlockElement
	a owl:Class ;
	rdfs:subClassOf :Element ;
	rdfs:label "Block Element" .

:InlineElement
	a owl:Class ;
	rdfs:subClassOf :Element ;
	rdfs:label "Inline Element" .

:DeprecatedElement
	a owl:Class ;
	rdfs:subClassOf :Element ;
	rdfs:label "Deprecated Element" .
	
:EmptyElement
	a owl:Class ;
	rdfs:subClassOf :Element ;
	rdfs:label "Empty Element" ;
	rdfs:comment "An element required to be empty in XHTML 1.0. Other versions of (X)HTML may define these elements differently." .

:HeadingElement
	a owl:Class ;
	rdfs:subClassOf :BlockElement ;
	rdfs:label "Heading Element" .

:FormElement
	a owl:Class ;
	rdfs:subClassOf :Element ;
	rdfs:label "Form-Related Element" .

:TableElement
	a owl:Class ;
	rdfs:subClassOf :Element ;
	rdfs:label "Table-Related Element" .

:ListElement
	a owl:Class ;
	rdfs:subClassOf :Element ;
	rdfs:label "List-Related Element" .

:FrameElement
	a owl:Class ;
	rdfs:subClassOf :Element ;
	rdfs:label "Frame-Related Element" ;
	rdfs:comment "Instances of this class are only available in the frameset DTD" .

# The elements themselves.

:a          a :InlineElement .
:abbr       a :InlineElement .
:acronym    a :InlineElement .
:address    a :BlockElement .
:applet     a :DeprecatedElement .
:area       a :EmptyElement .	
:b          a :InlineElement .
:base       a :EmptyElement .
:basefont   a :EmptyElement , :DeprecatedElement .
:bdo        a :Element .
:big        a :InlineElement .
:blockquote a :BlockElement .
:body       a :BlockElement .
:br         a :InlineElement , :EmptyElement .
:button     a :InlineElement .
:caption    a :TableElement .
:center     a :BlockElement , :DeprecatedElement .
:cite       a :InlineElement .
:code       a :InlineElement .
:col        a :TableElement , :EmptyElement .
:colgroup   a :TableElement .
:dd         a :ListElement , :BlockElement .
:del        a :Element .
:dfn        a :InlineElement .
:dir        a :ListElement , :BlockElement , :DeprecatedElement.
:div        a :BlockElement .
:dl         a :ListElement , :BlockElement .
:dt         a :ListElement , :BlockElement .
:em         a :InlineElement .
:fieldset   a :FormElement , :BlockElement .
:font       a :InlineElement , :DeprecatedElement .
:form       a :FormElement , :BlockElement .
:frame      a :EmptyElement , :FrameElement .
:frameset   a :EmptyElement , :FrameElement .
:h1         a :HeadingElement .
:h2         a :HeadingElement .
:h3         a :HeadingElement .
:h4         a :HeadingElement .
:h5         a :HeadingElement .
:h6         a :HeadingElement .
:head       a :Element .
:hr         a :BlockElement , :EmptyElement .
:html       a :Element .
:i          a :InlineElement .
:iframe     a :Element .
:img        a :InlineElement , :EmptyElement .
:input      a :InlineElement , :FormElement , :EmptyElement .
:ins        a :Element .
:isindex    a :EmptyElement , :DeprecatedElement .
:kbd        a :InlineElement .
:label      a :FormElement , :InlineElement .
:legend     a :FormElement .
:li         a :ListElement , :BlockElement .
:link       a :EmptyElement .
:map        a :Element .
:menu       a :ListElement , :DeprecatedElement .
:meta       a :EmptyElement .
:noframes   a :FrameElement .
:noscript   a :Element .
:object     a :Element .
:ol         a :ListElement , :BlockElement .
:optgroup   a :FormElement .
:option     a :FormElement .
:p          a :BlockElement .
:param      a :EmptyElement .
:pre        a :BlockElement .
:q          a :InlineElement .
:s          a :InlineElement , :DeprecatedElement .
:samp       a :InlineElement .
:script     a :Element .
:select     a :FormElement , :InlineElement .
:small      a :InlineElement .
:span       a :InlineElement .
:strike     a :InlineElement , :DeprecatedElement .
:strong     a :InlineElement .
:style      a :Element .
:sub        a :InlineElement .
:sup        a :InlineElement .
:table      a :TableElement .
:tbody      a :TableElement .
:td         a :TableElement .
:textarea   a :FormElement .
:tfoot      a :TableElement .
:th         a :TableElement .
:thead      a :TableElement .
:title      a :Element .
:tr         a :TableElement .
:tt         a :InlineElement .
:u          a :InlineElement , :DeprecatedElement .
:ul         a :ListElement , :BlockElement .
:var        a :InlineElement .

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## 

