Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 69 additions & 26 deletions src/repr.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<http://sweetontology.net/repr> rdf:type owl:Ontology ;
owl:imports <http://sweetontology.net/relaMath> ,
<http://sweetontology.net/reprMath> ;
rdfs:label "SWEET Ontology Representation" ;
owl:versionInfo "3.2.0" .
owl:versionInfo "3.2.0" ;
rdfs:label "SWEET Ontology Representation" .

#################################################################
# Classes
Expand All @@ -36,6 +36,12 @@ repr:Component rdf:type owl:Class ;
owl:equivalentClass repr:Coordinate .


### http://sweetontology.net/repr/ControlledVariable
repr:ControlledVariable rdf:type owl:Class ;
rdfs:subClassOf math:Variable ;
rdfs:comment "A controlled variable or constant variable is a variable that does not change during an experiment. Example: In the experiment measuring the effect of temperature on solubility, controlled variable could include the source of water used in the experiment, the size and type of containers used to mix chemicals, and the amount of mixing time allowed for each solution."@en.


### http://sweetontology.net/repr/Coordinate
repr:Coordinate rdf:type owl:Class ;
rdfs:subClassOf math:Scalar .
Expand All @@ -55,19 +61,60 @@ repr:Coordinates rdf:type owl:Class ;
] .


### http://sweetontology.net/repr/1D
repr:1D rdf:type owl:DeprecatedClass ;
rdfs:seeAlso "http://sweetontology.net/repr/Representation_1D" ;
owl:deprecated "Deprecated in 3.3.0 and replaced with Representation_1D"@en ;
rdfs:subClassOf repr:Representation ,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have to review the whole SWEET approach in general, but at least in this case, it seems to me that repr:1D, repr:2D and repr:3D should be instances and not classes themselves: you wouldn't be creating instances of repr:1D for example.

Perhaps something like this would be more appropriate?

repr:1D rdf:type repr:Representation ,
                       [ rdf:type owl:Restriction ;
                         owl:onProperty mrela:hasDimension ;
                         owl:hasValue 1
                       ] .

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First a pragmatic question: would this affect any existing infrastructure that uses sweet and hardcodes certain assumptions about everything being classes, and subClassOf being the main linking predicate? For example, would this cause 1D to drop out of some ontology browser displays?

But I think we also need a definition of 1D and some use cases showing how it gets used. This is where an upper ontology can help. While I think BFO can be a little abstruse at times, it does provide a framework for distinguishing things like variables vs projections in space etc. Going along with this, I think 1D is too short a name for a class, because I don't know from the name what it is. Is it literally the value for a unit "dimension" or can it be used for a 1D entity (e.g a conceptual line between Glasgow and Edinburgh)...?

[ rdf:type owl:Restriction ;
owl:onProperty mrela:hasDimension ;
owl:hasValue 1
] .


### http://sweetontology.net/repr/2D
repr:2D rdf:type owl:DeprecatedClass ;
rdfs:seeAlso "http://sweetontology.net/repr/Representation_2D" ;
owl:deprecated "Deprecated in 3.3.0 and replaced with Representation_2D"@en ;
rdfs:subClassOf repr:Representation ,
[ rdf:type owl:Restriction ;
owl:onProperty mrela:hasDimension ;
owl:hasValue 2
] .


### http://sweetontology.net/repr/3D
repr:3D rdf:type owl:DeprecatedClass ;
rdfs:seeAlso "http://sweetontology.net/repr/Representation_3D" ;
owl:deprecated "Deprecated in 3.3.0 and replaced with Representation_3D"@en ;
rdfs:subClassOf repr:Representation ,
[ rdf:type owl:Restriction ;
owl:onProperty mrela:hasDimension ;
owl:hasValue 3
] .


### http://sweetontology.net/repr/DependentVariable
repr:DependentVariable rdf:type owl:Class ;
rdfs:subClassOf math:Variable .
rdfs:subClassOf math:Variable ;
rdfs:comment "A dependent variable is the variable that you measure or observe. The dependent variable gets its name because it is the factor that is dependent on the state of the independent variable. Example: In the experiment measuring the effect of temperature on solubility, solubility would be the dependent variable."@en .


### http://sweetontology.net/repr/Dimension
repr:Dimension rdf:type owl:Class ;
rdfs:subClassOf repr:Representation .


### http://sweetontology.net/repr/ExtraneousVariable
repr:ExtraneousVariable rdf:type owl:Class ;
rdfs:subClassOf math:Variable ;
rdfs:comment "Extraneous variables are 'extra' variables that may influence the outcome of an experiment but aren't taken into account during measurement. Ideally, these variables won't impact the final conclusion drawn by the experiment, but they may introduce error into scientific results. Examples of extraneous variables include accidents, factors you either can't control or can't measure or factors you consider unimportant. Every experiment has extraneous variables. Example: You are conducting an experiment to see which paper airplane design flies longest. You may consider the color of the paper to be an extraneous variable. You note in your lab book that different colors of papers were used. Ideally, this variable does not affect your outcome."@en .


### http://sweetontology.net/repr/IndependentVariable
repr:IndependentVariable rdf:type owl:Class ;
rdfs:subClassOf math:Variable .
rdfs:subClassOf math:Variable ;
rdfs:comment "An independent variable is the one condition that you change in an experiment. Example: In an experiment measuring the effect of temperature on solubility, the independent variable is temperature."@en .


### http://sweetontology.net/repr/IntervalScale
Expand All @@ -94,6 +141,14 @@ repr:Measurement rdf:type owl:Class ;
repr:MeasurementScale rdf:type owl:Class ;
owl:equivalentClass repr:Scale .

### http://sweetontology.net/repr/Representation_1D
repr:Representation_1D rdf:type owl:Class ;
rdfs:comment "Introduced in 3.3.0 to replace http://sweetontology.net/repr/1D"en ;
rdfs:subClassOf repr:Representation ,
[ rdf:type owl:Restriction ;
owl:onProperty mrela:hasDimension ;
owl:hasValue 1
] .

### http://sweetontology.net/repr/OrdinalScale
repr:OrdinalScale rdf:type owl:Class ;
Expand Down Expand Up @@ -129,34 +184,24 @@ repr:Representation rdf:type owl:Class .
repr:Scale rdf:type owl:Class ;
rdfs:subClassOf repr:Representation .


### http://sweetontology.net/repr/1D
repr:D rdf:type owl:Class ;
### http://sweetontology.net/repr/Representation_3D
repr:Representation_3D rdf:type owl:Class ;
rdfs:comment "Introduced in 3.3.0 to replace http://sweetontology.net/repr/3D"en ;
rdfs:subClassOf repr:Representation ,
[ rdf:type owl:Restriction ;
owl:onProperty mrela:hasDimension ;
owl:hasValue 1
owl:hasValue 3
] .


### http://sweetontology.net/repr/2D
repr:D rdf:type owl:Class ;
### http://sweetontology.net/repr/Representation_2D
repr:Representation_2D rdf:type owl:Class ;
rdfs:comment "Introduced in 3.3.0 to replace http://sweetontology.net/repr/2D"en ;
rdfs:subClassOf repr:Representation ,
[ rdf:type owl:Restriction ;
owl:onProperty mrela:hasDimension ;
owl:hasValue 2
] .


### http://sweetontology.net/repr/3D
repr:D rdf:type owl:Class ;
rdfs:subClassOf repr:Representation ,
[ rdf:type owl:Restriction ;
owl:onProperty mrela:hasDimension ;
owl:hasValue 3
] .


### http://sweetontology.net/reprMath/Array
math:Array rdf:type owl:Class .

Expand All @@ -170,7 +215,8 @@ math:Scalar rdf:type owl:Class .


### http://sweetontology.net/reprMath/Variable
math:Variable rdf:type owl:Class .
math:Variable rdf:type owl:Class ;
rdfs:comment "Variables are an important part of science projects and experiments. A variable is any factor that can be controlled, changed, or measured in an experiment. Scientific experiments have several types of variables. The independent and dependent variables are the ones usually plotted on a chart or graph, but there are other types of variables you may encounter."@en .


#################################################################
Expand Down Expand Up @@ -225,7 +271,4 @@ repr:Synoptic rdf:type owl:NamedIndividual ,
owl:distinctMembers ( repr:Eulerian
repr:Lagrangian
)
] .


### Generated by the OWL API (version 5.1.2.2017-10-13T07:13:07Z) https://github.com/owlcs/owlapi/
] .