# imports: http://purl.org/spar/deo/ # imports: http://purl.org/spar/doco/ # imports: http://purl.org/spar/po/ # imports: https://www.omg.org/spec/Commons/AnnotationVocabulary/ # imports: https://www.omg.org/spec/Commons/Collections/ # imports: https://www.omg.org/spec/Commons/Documents/ # imports: https://www.omg.org/spec/Commons/QuantitiesAndUnits/ # imports: https://www.omg.org/spec/Commons/TextDatatype/ @prefix cmns-av: . @prefix cmns-col: . @prefix cmns-doc: . @prefix cmns-docc: . @prefix cmns-qtu: . @prefix cmns-txt: . @prefix dct: . @prefix deo: . @prefix doco: . @prefix owl: . @prefix po: . @prefix rdf: . @prefix rdfs: . @prefix skos: . @prefix xsd: . a owl:Ontology ; rdfs:label "Document Components Ontology" ; dct:abstract "This ontology provides extensions to the SPAR document component ontologies for defining table elements and diagrams. It is intended to be used for describing deep links into documents by describing their structure without the need of explicit markup." ; dct:contributor "Elisa Kendall, Thematix Partners LLC" , "Thomas Weber, OSTHUS, a PHARMALEX Company" ; dct:license "https://opensource.org/licenses/MIT"^^xsd:anyURI ; owl:imports , , , , , , , ; owl:versionIRI ; cmns-av:copyright "Copyright (c) 2023-2024 EDM Council, Inc." , "Copyright (c) 2023-2024 Pistoia Alliance, Inc." , "Copyright (c) 2024 Object Management Group, Inc." ; . deo:DiscourseElement rdfs:subClassOf cmns-col:Constituent , [ a owl:Restriction ; owl:onProperty cmns-col:isConstituentOf ; owl:allValuesFrom cmns-doc:Document ; ] ; . doco:Abstract rdfs:subClassOf deo:DiscourseElement ; . doco:Bibliography rdfs:subClassOf deo:DiscourseElement ; . doco:ListOfFigures rdfs:subClassOf cmns-col:Collection ; . doco:ListOfTables rdfs:subClassOf cmns-col:Collection ; . doco:TableOfContents rdfs:subClassOf cmns-col:Collection ; . po:Block rdfs:subClassOf cmns-col:Constituent ; . po:HeadedContainer rdfs:subClassOf cmns-col:Constituent ; . po:PatternBasedElement rdfs:subClassOf cmns-col:Constituent ; . po:contains rdfs:subPropertyOf cmns-col:comprises ; . cmns-docc:FigureCaption a owl:Class ; rdfs:subClassOf deo:Caption , po:Block , [ a owl:Restriction ; owl:onProperty [ owl:inverseOf cmns-docc:hasCaption ; ] ; owl:allValuesFrom doco:Figure ; ] , [ a owl:Restriction ; owl:onProperty [ owl:inverseOf cmns-docc:hasCaption ; ] ; owl:someValuesFrom doco:Figure ; ] ; rdfs:label "figure caption" ; skos:definition "title or brief explanation appended to a figure" ; . cmns-docc:TableBodyCell a owl:Class ; rdfs:subClassOf cmns-docc:TableCell ; rdfs:label "table body cell" ; owl:disjointWith cmns-docc:TableColumnHeaderCell , cmns-docc:TableRowHeaderCell ; skos:definition "table cell that is not a row or column header" ; cmns-av:synonym "body cell" , "inner cell" ; . cmns-docc:TableCaption a owl:Class ; rdfs:subClassOf deo:Caption , po:Block , [ a owl:Restriction ; owl:onProperty [ owl:inverseOf cmns-docc:hasCaption ; ] ; owl:allValuesFrom doco:Table ; ] , [ a owl:Restriction ; owl:onProperty [ owl:inverseOf cmns-docc:hasCaption ; ] ; owl:someValuesFrom doco:Table ; ] ; rdfs:label "table caption" ; skos:definition "title or brief explanation on a table" ; . cmns-docc:TableCell a owl:Class ; rdfs:subClassOf po:Block , [ a owl:Restriction ; owl:onProperty [ owl:inverseOf po:contains ; ] ; owl:someValuesFrom doco:Table ; ] ; rdfs:label "table cell" ; skos:definition "element in a table that is arranged in a tabular layout, and that is part of a table row, a table column or both" ; skos:note "This is similar to the HTML td element." ; . cmns-docc:TableColumn a owl:Class ; rdfs:subClassOf po:HeadedContainer , cmns-col:Collection , [ a owl:Restriction ; owl:onProperty [ owl:inverseOf po:contains ; ] ; owl:allValuesFrom doco:Table ; ] , [ a owl:Restriction ; owl:onProperty po:contains ; owl:allValuesFrom cmns-docc:TableCell ; ] , [ a owl:Restriction ; owl:onProperty po:containsAsHeader ; owl:allValuesFrom cmns-docc:TableColumnHeaderCell ; ] , [ a owl:Restriction ; owl:onProperty [ owl:inverseOf po:contains ; ] ; owl:someValuesFrom doco:Table ; ] ; rdfs:label "table column" ; skos:definition "single vertical arrangement of table cells in a table" ; cmns-av:synonym "column" ; . cmns-docc:TableColumnHeaderCell a owl:Class ; rdfs:subClassOf cmns-docc:TableCell ; rdfs:label "table column header cell" ; owl:disjointWith cmns-docc:TableRowHeaderCell ; skos:definition "table cell that is a header for the table column" ; cmns-av:synonym "column header" ; . cmns-docc:TableRow a owl:Class ; rdfs:subClassOf po:HeadedContainer , cmns-col:Collection , [ a owl:Restriction ; owl:onProperty [ owl:inverseOf po:contains ; ] ; owl:allValuesFrom doco:Table ; ] , [ a owl:Restriction ; owl:onProperty po:contains ; owl:allValuesFrom cmns-docc:TableCell ; ] , [ a owl:Restriction ; owl:onProperty po:containsAsHeader ; owl:allValuesFrom cmns-docc:TableRowHeaderCell ; ] , [ a owl:Restriction ; owl:onProperty [ owl:inverseOf po:contains ; ] ; owl:someValuesFrom doco:Table ; ] ; rdfs:label "table row" ; skos:definition "single horizontal arrangement of table cells in a table" ; cmns-av:synonym "row" ; . cmns-docc:TableRowHeaderCell a owl:Class ; rdfs:subClassOf cmns-docc:TableCell ; rdfs:label "table row header cell" ; skos:definition "table cell that is a header for the table row" ; cmns-av:synonym "row header" ; . cmns-docc:containsText a owl:DatatypeProperty ; rdfs:subPropertyOf cmns-txt:hasTextValue ; rdfs:label "contains text" ; rdfs:domain po:Textual ; skos:definition "relates a textual element to a part of its literal text" ; . cmns-docc:hasCaption a owl:ObjectProperty ; rdfs:subPropertyOf cmns-doc:refersTo ; rdfs:label "has caption" ; rdfs:range deo:Caption ; skos:definition "relates a document element to a caption on it" ; . cmns-docc:hasExactText a owl:DatatypeProperty ; rdfs:subPropertyOf cmns-txt:hasTextValue ; rdfs:label "has exact text" ; rdfs:domain po:Textual ; skos:definition "relates a textual element to its precise literal text" ; . cmns-docc:hasTableColumnIndex a owl:DatatypeProperty ; rdfs:subPropertyOf cmns-qtu:hasNumericValue ; rdfs:label "has table column index" ; rdfs:domain [ a owl:Class ; owl:unionOf ( cmns-docc:TableBodyCell cmns-docc:TableColumnHeaderCell cmns-docc:TableColumn ) ; ] ; rdfs:range xsd:positiveInteger ; skos:definition "horizontal position of a table body cell or table column header cell" ; skos:note "Column indexes start with 1 and are ordered left to right, with header cells first. Both header and body cells are counted with respect to the index, so if there is a single row header column then the leftmost body cell has a column index of 2." ; cmns-av:synonym "has table column index" ; . cmns-docc:hasTableColumnSpan a owl:DatatypeProperty ; rdfs:subPropertyOf cmns-qtu:hasNumericValue ; rdfs:label "has table column span" ; rdfs:domain [ a owl:Class ; owl:unionOf ( cmns-docc:TableBodyCell cmns-docc:TableRowHeaderCell ) ; ] ; rdfs:range xsd:positiveInteger ; skos:definition "number of columns the table cell should span" ; skos:note "The column span is counted beginning with and is including the left most column." , "This is similar to the HTML colspan attribute." ; cmns-av:synonym "has table column span" ; . cmns-docc:hasTableRowIndex a owl:DatatypeProperty ; rdfs:subPropertyOf cmns-qtu:hasNumericValue ; rdfs:label "has table row index" ; rdfs:domain [ a owl:Class ; owl:unionOf ( cmns-docc:TableBodyCell cmns-docc:TableRowHeaderCell cmns-docc:TableRow ) ; ] ; rdfs:range xsd:positiveInteger ; skos:definition "vertical position of a table body cell or table row header cell" ; skos:note "Row indexes start with 1 and are ordered top to bottom with header cells first. Both header and body cells are counted with respect to the index, so if there is a single header row, then the topmost body cells has a row index of 2." ; . cmns-docc:hasTableRowSpan a owl:DatatypeProperty ; rdfs:subPropertyOf cmns-qtu:hasNumericValue ; rdfs:label "has table row span" ; rdfs:domain [ a owl:Class ; owl:unionOf ( cmns-docc:TableBodyCell cmns-docc:TableRowHeaderCell ) ; ] ; rdfs:range xsd:positiveInteger ; skos:definition "number of rows the table cell should span" ; skos:note "The row span is counted beginning with and is including the top most row." , "This is similar to the HTML rowspan attribute." ; . cmns-docc:hasTextualContent a owl:DatatypeProperty ; rdfs:subPropertyOf cmns-txt:hasTextValue ; rdfs:label "has textual content" ; skos:definition "relates a document element to its textual content" ; cmns-av:usageNote "If the element contains mixed content, then the text may be different from the literal text value." ; .