# MIT License # # Copyright (c) 2021 Markus Schröder, DFKI GmbH # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in all # copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. @prefix rdfs: . @prefix rdf: . @prefix xsd: . @prefix dc: . @prefix owl: . @prefix rr: . @prefix csvw: . @prefix : . @prefix ss: . : a owl:Ontology ; dc:creator "Markus Schröder" ; dc:date "2021-02-10" ; dc:title "Spreadsheet Ontology" ; dc:description "This ontology contains the terminology to describe spreadsheets." . ss:Workbook a rdfs:Class ; rdfs:label "Workbook" ; rdfs:comment "A workbook is a collection of one or more spreadsheets, also called worksheets, in a single file." . ss:url a rdf:Property ; rdfs:label "URL" ; rdfs:comment "This link property gives the single URL of a workbook file where spreadsheets are held in." ; rdfs:domain ss:Workbook ; rdfs:range xsd:anyURI . ss:sheetName a rdf:Property ; rdfs:label "Sheet Name" ; rdfs:comment "This property is used to refer to one sheet in a workbook by its name." ; rdfs:domain ss:Workbook ; rdfs:range xsd:string . ss:range a rdf:Property ; rdfs:label "Range" ; rdfs:comment "This property is used to refer to a range of cells within a sheet. Usually, it consists of two cell addresses that are separated by a colon, for example 'B2:B10'." ; rdfs:domain ss:Workbook ; rdfs:range xsd:string ; rdfs:seeAlso ss:sheetName . ss:address a rdf:Property ; rdfs:label "Address" ; rdfs:comment "This property is used by a cell to state where it is located in a sheet, for example 'A3'." ; rdfs:domain csvw:Cell ; rdfs:range xsd:string ; rdfs:seeAlso ss:range . ss:javaScriptFilter a rdf:Property ; rdfs:label "JavaScript Filter" ; rdfs:comment "This property is used to filter selected cells in a sheet by using JavaScript code. If the code returns true, the cell is kept, otherwise discarded." ; rdfs:domain ss:Workbook ; rdfs:range xsd:string ; rdfs:seeAlso ss:range, ss:sheetName . #== experimental features == ss:zip a rdf:Property ; rdfs:label "Zip" ; rdfs:comment "This property is used in a predicate-object map to express, if set to true, that predicates and objects are zipped together instead of using the cartesian product." ; rdfs:domain rr:PredicateObjectMap ; rdfs:range xsd:boolean . ss:Graph a owl:Class ; rdfs:label "Graph" ; rdfs:comment "This class is another rr:termType. It means that the object returned from an rr:ObjectMap is an RDF graph serialized in turtle syntax." . ss:SelectedObjects a owl:Class ; rdfs:label "Selected Objects" ; rdfs:comment "When the rr:termType ss:Graph is used, only selected objects should be mapped in the rr:ObjectMap. That is why the returned RDF graph has to contain a resource of type ss:SelectedObjects (usually a BlankNode) which points to objects with rr:object that should be used in the mapping." ; rdfs:seeAlso ss:Graph .