@prefix :     <http://ontologi.es/turtle-style#> .
@prefix dc:   <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@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 vann: <http://purl.org/vocab/vann/> .
@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .

:
	a owl:Ontology ;
	rdfs:label "Turtle Styles"@en ;
	rdfs:comment
	"""
		Camel-case properties not explicitly defined in this vocabulary but
		which use URIs prefixed by <http://ontologi.es/turtle-style#> must
		be taken to have the same meaning as the equivalently named attributes
		of the CSS2Properties interface specified by DOM Level 2 Style. For
		instance, <http://ontologi.es/turtle-style#backgroundColor> is taken
		to be implicitly defined because of this.
		
		All such implicitly defined properties have an rdfs:domain of
		:RuleSet, and an rdfs:range that is the union of rdfs:Literal and
		the class of "resources which have an rdf:value". For example, the
		following is OK:
		
			[]
				rdf:type :RuleSet ;
				:color "red" ;
				:backgroundColor [rdf:value "blue"] .
	"""@en;
	rdfs:seeAlso <http://buzzword.org.uk/2009/turtle-style/> ,
		<http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSS2Properties> ;
	vann:preferredNamespacePrefix "" ;
	vann:preferredNamespaceUri "http://ontologi.es/turtle-style#" ;
	dc:created "2009-09-29"^^xsd:date ;
	dc:modified "2009-09-29"^^xsd:date ;
	dc:creator <http://tobyinkster.co.uk/#i> ;
	foaf:maker <http://tobyinkster.co.uk/#i> .

:RuleSet
	a owl:Class ;
	rdfs:label "Rule Set" ;
	rdfs:comment "Some rules to be applied to a set of elements. A resource with this class should have a :selector which specifies the set of elements." ;
	rdfs:isDefinedBy : .

:XPathSelector
	a rdfs:Datatype ;
	rdfs:label "XPath Selector" ;
	rdfs:isDefinedBy : .

:sequence
	a owl:ObjectProperty ;
	rdfs:label "sequence"@en ;
	rdfs:comment "A list of RuleSets to be applied to a document in order."@en ;
	rdfs:domain foaf:Document ;
	rdfs:range rdf:List ;
	rdfs:isDefinedBy : .

:selector
	a owl:DatatypeProperty ;
	rdfs:label "selector"@en ;
	rdfs:domain :RuleSet ;
	rdfs:range :XPathSelector ;
	rdfs:isDefinedBy : .
