From 0c7690458eb92199eab44655cf507d7cb281b179 Mon Sep 17 00:00:00 2001 From: Lewis John McGibbney Date: Sun, 3 Feb 2019 14:32:14 -0800 Subject: [PATCH 1/5] ISSUE-110 Add additional types of variables to repr.ttl --- src/repr.ttl | 73 ++++++++++++++++++++++++++++------------------------ 1 file changed, 39 insertions(+), 34 deletions(-) diff --git a/src/repr.ttl b/src/repr.ttl index 49b13107..4a29f0f3 100644 --- a/src/repr.ttl +++ b/src/repr.ttl @@ -1,4 +1,4 @@ -@prefix : . +@prefix : . @prefix owl: . @prefix rdf: . @prefix xml: . @@ -12,8 +12,8 @@ rdf:type owl:Ontology ; owl:imports , ; - rdfs:label "SWEET Ontology Representation" ; - owl:versionInfo "3.2.0" . + owl:versionInfo "3.2.0" ; + rdfs:label "SWEET Ontology Representation" . ################################################################# # Classes @@ -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."^^rdfs:Literal . + + ### http://sweetontology.net/repr/Coordinate repr:Coordinate rdf:type owl:Class ; rdfs:subClassOf math:Scalar . @@ -55,9 +61,27 @@ repr:Coordinates rdf:type owl:Class ; ] . +### http://sweetontology.net/repr/D +repr:D rdf:type owl:Class ; + rdfs:subClassOf repr:Representation , + [ rdf:type owl:Restriction ; + owl:onProperty mrela:hasDimension ; + owl:hasValue 1 + ] , + [ rdf:type owl:Restriction ; + owl:onProperty mrela:hasDimension ; + owl:hasValue 2 + ] , + [ 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."^^rdfs:Literal . ### http://sweetontology.net/repr/Dimension @@ -65,9 +89,16 @@ 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."^^rdfs:Literal . + + ### 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."^^rdfs:Literal . ### http://sweetontology.net/repr/IntervalScale @@ -130,33 +161,6 @@ repr:Scale rdf:type owl:Class ; rdfs:subClassOf repr:Representation . -### http://sweetontology.net/repr/1D -repr:D rdf:type owl:Class ; - rdfs:subClassOf repr:Representation , - [ rdf:type owl:Restriction ; - owl:onProperty mrela:hasDimension ; - owl:hasValue 1 - ] . - - -### http://sweetontology.net/repr/2D -repr:D rdf:type owl:Class ; - 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 . @@ -170,7 +174,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."^^rdfs:Literal . ################################################################# @@ -228,4 +233,4 @@ repr:Synoptic rdf:type owl:NamedIndividual , ] . -### Generated by the OWL API (version 5.1.2.2017-10-13T07:13:07Z) https://github.com/owlcs/owlapi/ +### Generated by the OWL API (version 4.2.5.20160517-0735) https://github.com/owlcs/owlapi From 1f859cadc93514d8b672cb7ff2b04a48f3ca74fd Mon Sep 17 00:00:00 2001 From: Lewis John McGibbney Date: Sun, 3 Feb 2019 14:34:29 -0800 Subject: [PATCH 2/5] ISSUE-110 Add additional types of variables to repr.ttl --- src/repr.ttl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repr.ttl b/src/repr.ttl index 4a29f0f3..0ffe23c9 100644 --- a/src/repr.ttl +++ b/src/repr.ttl @@ -1,4 +1,4 @@ -@prefix : . +@prefix : . @prefix owl: . @prefix rdf: . @prefix xml: . From 2d1b953aed40cf75b8476fafe5ba98db39c306c0 Mon Sep 17 00:00:00 2001 From: Lewis John McGibbney Date: Sun, 3 Feb 2019 14:39:53 -0800 Subject: [PATCH 3/5] ISSUE-110 Add additional types of variables to repr.ttl --- src/repr.ttl | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/repr.ttl b/src/repr.ttl index 0ffe23c9..c1d87c66 100644 --- a/src/repr.ttl +++ b/src/repr.ttl @@ -61,17 +61,27 @@ repr:Coordinates rdf:type owl:Class ; ] . -### http://sweetontology.net/repr/D -repr:D rdf:type owl:Class ; +### http://sweetontology.net/repr/1D +repr:1D rdf:type owl:Class ; rdfs:subClassOf repr:Representation , [ rdf:type owl:Restriction ; owl:onProperty mrela:hasDimension ; owl:hasValue 1 - ] , + ] . + + +### http://sweetontology.net/repr/2D +repr:2D rdf:type owl:Class ; + 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:Class ; + rdfs:subClassOf repr:Representation , [ rdf:type owl:Restriction ; owl:onProperty mrela:hasDimension ; owl:hasValue 3 From f29f7535060dccb8ab222c32511cca1d9f017061 Mon Sep 17 00:00:00 2001 From: Lewis John McGibbney Date: Wed, 13 Feb 2019 15:44:07 -0800 Subject: [PATCH 4/5] ISSUE-110 Add additional types of variables to repr.ttl --- src/repr.ttl | 52 ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 12 deletions(-) diff --git a/src/repr.ttl b/src/repr.ttl index c1d87c66..b6721e07 100644 --- a/src/repr.ttl +++ b/src/repr.ttl @@ -39,7 +39,7 @@ repr:Component rdf:type owl:Class ; ### 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."^^rdfs:Literal . + 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 @@ -62,7 +62,9 @@ repr:Coordinates rdf:type owl:Class ; ### http://sweetontology.net/repr/1D -repr:1D rdf:type owl:Class ; +repr:1D rdf:type owl:DeprecatedClass ; + rdfs:seeAlso "http://sweetontology.net/repr/OneDimensionalRepresentation" ; + owl:deprecated "Deprecated in 3.3.0 and replaced with OneDimensionalRepresentation"@en ; rdfs:subClassOf repr:Representation , [ rdf:type owl:Restriction ; owl:onProperty mrela:hasDimension ; @@ -71,7 +73,9 @@ repr:1D rdf:type owl:Class ; ### http://sweetontology.net/repr/2D -repr:2D rdf:type owl:Class ; +repr:2D rdf:type owl:DeprecatedClass ; + rdfs:seeAlso "http://sweetontology.net/repr/TwoDimensionalRepresentation" ; + owl:deprecated "Deprecated in 3.3.0 and replaced with TwoDimensionalRepresentation"@en ; rdfs:subClassOf repr:Representation , [ rdf:type owl:Restriction ; owl:onProperty mrela:hasDimension ; @@ -80,7 +84,9 @@ repr:2D rdf:type owl:Class ; ### http://sweetontology.net/repr/3D -repr:3D rdf:type owl:Class ; +repr:3D rdf:type owl:DeprecatedClass ; + rdfs:seeAlso "http://sweetontology.net/repr/ThreeDimensionalRepresentation" ; + owl:deprecated "Deprecated in 3.3.0 and replaced with ThreeDimensionalRepresentation"@en ; rdfs:subClassOf repr:Representation , [ rdf:type owl:Restriction ; owl:onProperty mrela:hasDimension ; @@ -91,7 +97,7 @@ repr:3D rdf:type owl:Class ; ### http://sweetontology.net/repr/DependentVariable repr:DependentVariable rdf:type owl:Class ; 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."^^rdfs:Literal . + 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 @@ -102,13 +108,13 @@ repr:Dimension rdf:type owl:Class ; ### 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."^^rdfs:Literal . + 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: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."^^rdfs:Literal . + 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 @@ -135,6 +141,14 @@ repr:Measurement rdf:type owl:Class ; repr:MeasurementScale rdf:type owl:Class ; owl:equivalentClass repr:Scale . +### http://sweetontology.net/repr/OneDimensionalRepresentation +repr:OneDimensionalRepresentation 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 ; @@ -170,6 +184,23 @@ repr:Representation rdf:type owl:Class . repr:Scale rdf:type owl:Class ; rdfs:subClassOf repr:Representation . +### http://sweetontology.net/repr/ThreeDimensionalRepresentation +repr:ThreeDimensionalRepresentation 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 3 + ] . + +### http://sweetontology.net/repr/TwoDimensionalRepresentation +repr:TwoDimensionalRepresentation 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/reprMath/Array math:Array rdf:type owl:Class . @@ -185,7 +216,7 @@ math:Scalar rdf:type owl:Class . ### http://sweetontology.net/reprMath/Variable 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."^^rdfs:Literal . + 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 . ################################################################# @@ -240,7 +271,4 @@ repr:Synoptic rdf:type owl:NamedIndividual , owl:distinctMembers ( repr:Eulerian repr:Lagrangian ) -] . - - -### Generated by the OWL API (version 4.2.5.20160517-0735) https://github.com/owlcs/owlapi +] . \ No newline at end of file From d87c4707347b8253b826564ef42cbaff89f5eaf6 Mon Sep 17 00:00:00 2001 From: Lewis John McGibbney Date: Wed, 13 Feb 2019 19:02:29 -0800 Subject: [PATCH 5/5] ISSUE-110 Add additional types of variables to repr.ttl --- src/repr.ttl | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/repr.ttl b/src/repr.ttl index b6721e07..c510e8eb 100644 --- a/src/repr.ttl +++ b/src/repr.ttl @@ -63,8 +63,8 @@ repr:Coordinates rdf:type owl:Class ; ### http://sweetontology.net/repr/1D repr:1D rdf:type owl:DeprecatedClass ; - rdfs:seeAlso "http://sweetontology.net/repr/OneDimensionalRepresentation" ; - owl:deprecated "Deprecated in 3.3.0 and replaced with OneDimensionalRepresentation"@en ; + 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 , [ rdf:type owl:Restriction ; owl:onProperty mrela:hasDimension ; @@ -74,8 +74,8 @@ repr:1D rdf:type owl:DeprecatedClass ; ### http://sweetontology.net/repr/2D repr:2D rdf:type owl:DeprecatedClass ; - rdfs:seeAlso "http://sweetontology.net/repr/TwoDimensionalRepresentation" ; - owl:deprecated "Deprecated in 3.3.0 and replaced with TwoDimensionalRepresentation"@en ; + 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 ; @@ -85,8 +85,8 @@ repr:2D rdf:type owl:DeprecatedClass ; ### http://sweetontology.net/repr/3D repr:3D rdf:type owl:DeprecatedClass ; - rdfs:seeAlso "http://sweetontology.net/repr/ThreeDimensionalRepresentation" ; - owl:deprecated "Deprecated in 3.3.0 and replaced with ThreeDimensionalRepresentation"@en ; + 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 ; @@ -141,8 +141,8 @@ repr:Measurement rdf:type owl:Class ; repr:MeasurementScale rdf:type owl:Class ; owl:equivalentClass repr:Scale . -### http://sweetontology.net/repr/OneDimensionalRepresentation -repr:OneDimensionalRepresentation rdf:type owl:Class ; +### 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 ; @@ -184,8 +184,8 @@ repr:Representation rdf:type owl:Class . repr:Scale rdf:type owl:Class ; rdfs:subClassOf repr:Representation . -### http://sweetontology.net/repr/ThreeDimensionalRepresentation -repr:ThreeDimensionalRepresentation 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 ; @@ -193,8 +193,8 @@ repr:ThreeDimensionalRepresentation rdf:type owl:Class ; owl:hasValue 3 ] . -### http://sweetontology.net/repr/TwoDimensionalRepresentation -repr:TwoDimensionalRepresentation 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 ;