# This is a small ontology providing a handful of predicates for describing # sections of documents. For the most part, Dublin Core will provide you with # 99% of the terms you're likely to need. In particular, it defines the # following classes which are likely to be of use: # # http://purl.org/dc/dcmitype/Text # http://purl.org/dc/dcmitype/Dataset # http://purl.org/dc/dcmitype/Image # # Both the document itself and any contained sections can be given an rdf:type # of dcmitype:Text. Figures can be given an rdf:type of dcmitype:Image and # lists and tables dcmitype:Dataset. # # The following predicates are also likely to come in handy: # # http://purl.org/dc/terms/title # http://purl.org/dc/terms/hasPart # http://purl.org/dc/terms/isPartOf # http://purl.org/dc/terms/tableOfContents # # The dc:hasPart and dc:isPartOf predicates can be used to link from a document # or section to its subsections. dc:tableOfContents can be used as a special # case of dc:hasPart to indicate that a particular section should be treated as # a table of contents. dc:title of course indicates the title of the section. # # This little ontology provides a few additional terms for describing sections, # especially useful when the document being described is an XHTML or HTML # document. Take the following section (in HTML 5): # #
#

My Section

#

Blah, blah.

#
# # This might be described in Turtle RDF (prefixes as below) like: # # <#sect1> a dcmitype:Text ; # s:heading <#hdg1> ; # dc:title "My Section" ; # s:rootTag xhtml:section; # s:headingTag xhtml:h2 . # This ontology. @prefix : . @prefix s: . # Stock imports. @prefix dc: . @prefix dcmitype: . @prefix foaf: . @prefix link: . @prefix owl: . @prefix rdf: . @prefix rdfs: . @prefix skos: . @prefix vs: . @prefix xhtml: . s: a owl:Ontology ; dc:title "Section ontology"@en ; rdfs:label "An ontology defining supplementary terms concerning articles which have been divided into sections."@en ; dc:issued "2008-06-27" ; dc:modified "2008-06-27" , "2008-08-21" , "2008-11-04" ; dc:creator "Toby Inkster" ; foaf:maker . s:rootTag a owl:ObjectProperty ; rdfs:label "root element tag type"@en ; rdfs:comment "Where a section is part of an XML document, this predicate indicates the tag name of the root element of the section."@en ; link:obsoletes s:hasTagName . s:headingTag a owl:ObjectProperty ; rdfs:label "heading tag type"@en ; rdfs:comment "Where a section is part of an XML document, if it has a heading marked up using an XML element, this predicate indicates the tag name for that heading element."@en ; link:obsoletes s:hasHeadingTagName . s:heading a owl:ObjectProperty ; rdfs:label "heading"@en ; rdfs:comment "A resource; generally a pointer to a fragment identifier within a document. Note that this is not the predicate to use for the literal title of a section - use Dublin Core 'title' for that."@en .