You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`master/main` contains all the releases, and should always be stable.
25
30
-`dev` holds the code for the newest release that is being developed.
26
31
-`issue branch` is where an specific issue is being solved.
27
-
-`hotfix branch` is where a critical software bug detected on the stable release (more on this later) is being solved.
32
+
-`hotfix branch` is where a critical software bug detected on the stable
33
+
release (more on this later) is being solved.
28
34
29
35
All wrappers and OSP-core are part of a common directory structure:
30
36
-_`osp/`_: contains all the SimPhoNy source code.
@@ -38,10 +44,12 @@ All wrappers and OSP-core are part of a common directory structure:
38
44
- Every new feature or bug is defined in an issue and labelled accordingly.
39
45
If there is something that is missing or needs improving,
40
46
make an issue in the appropriate project.
41
-
- Generally, the issues are fixed by creating a new `issue branch` from the `dev` branch, committing to that branch and making a new Pull/Merge Request when done.
42
-
An owner of the project should be tagged for review.
43
-
They will review and merge the PR if the fix is correct, deleting the `issue branch` afterwards.
44
-
The changes should be clearly explained in the issue/Pull Request.
47
+
- Generally, the issues are fixed by creating a new `issue branch` from the
48
+
`dev` branch, committing to that branch and making a new Pull/Merge
49
+
Request when done. An owner of the project should be tagged for review.
50
+
They will review and merge the PR if the fix is correct, deleting the
51
+
`issue branch` afterwards. The changes should be clearly explained in the
52
+
issue/Pull Request.
45
53
```{warning}
46
54
If the issue is a critical software bug detected in the stable release, a
47
55
`hotfix branch` should be created from the `master/main` branch
@@ -54,15 +62,17 @@ All wrappers and OSP-core are part of a common directory structure:
54
62
`hotfix branch`.
55
63
```
56
64
- Once the features for a release have been reached, `dev` will be merged to
57
-
`master/main`. Every new commit in the `master/main` branch generally corresponds
58
-
to a new release, which is labelled with a
65
+
`master/main`. Every new commit in the `master/main` branch generally
66
+
corresponds to a new release, which is labelled with a
59
67
[git tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging) matching its
60
-
version number. An exception to this rule may apply, for example when several
61
-
critical hotfixes are applied in a row, as it would then be better to just to
62
-
publish a single release afterwards. In regard to version numbering, we adhere to the
68
+
version number. An exception to this rule may apply, for example when
69
+
several critical hotfixes are applied in a row, as it would then be
70
+
better to just to publish a single release afterwards. In regard to
- Information regarding the purpose of the wrapper and the backend used.
@@ -108,6 +157,7 @@ README files should include:
108
157
- Any other necessary information for users and other developers.
109
158
110
159
## Contribute to the docs
111
-
If you have any suggestion for this documentation, whether it is something that needs more explanation, is inaccurate or simply a note on anything that could be improved, you can open an issue [here](https://github.com/simphony/docs/issues), and we will look into it!.
112
-
113
-
160
+
If you have any suggestion for this documentation, whether it is something
161
+
that needs more explanation, is inaccurate or simply a note on anything
162
+
that could be improved, you can open an issue
163
+
[here](https://github.com/simphony/docs/issues), and we will look into it!.
Copy file name to clipboardExpand all lines: docs/source/jupyter/cuds_api.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@
63
63
"\n",
64
64
"- `attributes`: The values of the ontology attributes of an individual (also known as [data properties](https://www.w3.org/TR/owl2-syntax/#Data_Properties) in [OWL](https://en.wikipedia.org/wiki/Web_Ontology_Language)) may also be accessed and modified as python properties of the CUDS objects. For example: `cuds_object.name = \"Bob\"`.\n",
65
65
"\n",
66
-
"There are some advanced functionalities NOT covered in this tutorial. Among them, we highlight the `update` method, which is covered in the [wrapper tutorial](multiple-wrappers.ipynb), where it can be seen in action. For a complete list of available methods and properties, check the API reference. That whole set of methods and attributes constitutes the CUDS [API](https://en.wikipedia.org/wiki/API).\n",
66
+
"There are some advanced functionalities NOT covered in this tutorial. Among them, we highlight the `update` method, which is covered in the [wrapper tutorial](multiple_wrappers.ipynb), where it can be seen in action. For a complete list of available methods and properties, check the API reference. That whole set of methods and attributes constitutes the CUDS [API](https://en.wikipedia.org/wiki/API).\n",
67
67
"\n",
68
68
"[//]: # (TODO: Link to API reference.)"
69
69
]
@@ -88,7 +88,7 @@
88
88
}
89
89
},
90
90
"source": [
91
-
"The first step is to install the city ontology. Use the tool pico for this. If you want to know more about ontology installation, check the documentation on the [pico ontology installation tool](https://simphony.readthedocs.io/en/latest/utils.html#pico-installs-cuds-ontologies), [YAML ontology installation files](https://simphony.readthedocs.io/en/latest/yaml.html), and [installing OWL ontologies](https://simphony.readthedocs.io/en/latest/owl.html)."
91
+
"The first step is to install the city ontology. Use the tool pico for this. If you want to know more about ontology installation, check the documentation on the [pico ontology installation tool](https://simphony.readthedocs.io/en/latest/utils.html#pico-installs-cuds-ontologies), [YAML ontology installation files](https://simphony.readthedocs.io/en/latest/working_with_ontologies.html#osp-core-yaml-ontology-format), and [installing OWL ontologies](https://simphony.readthedocs.io/en/latest/working_with_ontologies.html#owl-ontologies-and-rdfs-vocabularies)."
Copy file name to clipboardExpand all lines: docs/source/jupyter/ontology_interface.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@
28
28
"source": [
29
29
"In an ontological framework, ontology entities are used as a knowledge representation form. Those can be further categorized in two groups: ontology individuals ([assertional knowledge](https://en.wikipedia.org/wiki/Abox)), and ontology classes, relationships and attributes ([terminological knowledge](https://en.wikipedia.org/wiki/Tbox)).\n",
30
30
"\n",
31
-
"In a [previous tutorial](./cuds_api.html), we have discussed how to work with CUDS objects, which represent ontology individuals. In this tutorial, we present the API of all the other entities instead: ontology classes, relationships and attributes. These are defined in an ontology installation file in [YAML](../yaml.md) or [OWL](../owl.md) format. The presented API enables you to access the entities and navigate within an ontology."
31
+
"In a [previous tutorial](./cuds_api.html), we have discussed how to work with CUDS objects, which represent ontology individuals. In this tutorial, we present the API of all the other entities instead: ontology classes, relationships and attributes. These are defined in an ontology installation file in [YAML](../working_with_ontologies.md#osp-core-yaml-ontology-format) or [OWL](../working_with_ontologies.md#owl-ontologies-and-rdfs-vocabularies) format. The presented API enables you to access the entities and navigate within an ontology."
32
32
],
33
33
"metadata": {}
34
34
},
@@ -195,7 +195,7 @@
195
195
"source": [
196
196
"The **most convenient way** to access an ontology entity is using the **dot notation** in python. For example, `city.Citizen`. This method is a shorthand for fetching by suffix or label: \n",
197
197
"\n",
198
-
"- When the keyword `reference_by_label` is set to `True` (enabled) in the [ontology YAML installation file](../owl.md), the dot notation is a shorthand for fetching by label. This keyword is **enabled** in the `math` namespace.\n",
198
+
"- When the keyword `reference_by_label` is set to `True` (enabled) in the [ontology YAML installation file](../working_with_ontologies.md), the dot notation is a shorthand for fetching by label. This keyword is **enabled** in the `math` namespace.\n",
199
199
"\n",
200
200
"- When the keyword `reference_by_label` is set to `False` (disabled) or not set, the dot notation is a shorthand for fetching by suffix instead. This keyword is **disabled** in the `city` namespace."
0 commit comments