Skip to content

Commit 952b8e8

Browse files
committed
init commit: migrate from DISO repository
0 parents  commit 952b8e8

60 files changed

Lines changed: 64880 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*.DS_Store
2+
*.properties
3+
.vscode*
4+
*.ipynb

CDO/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### Crystallographic Defect Ontology
2+
3+
Crystallographic Defect Ontology (CDO) is an ontology connecting the physical materials entity to the crystal structure and several defectsin crystalline materials, e.g., point defect, dislocation, and grain boundary. In CDO, the `EMMO:Material` class isreused to describe the physical entity of crystalline materials. The `CDO:CrystallineMaterialclass` is subsequently a subclass `ofEMMO:Material`.
4+
5+
![CDO-classes](https://user-images.githubusercontent.com/71790028/164012431-a0d3db3c-488b-481c-887b-75f0b44f1659.png)

CDO/catalog-v001.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
3+
<group id="Folder Repository, directory=, recursive=true, Auto-Update=true, version=2" prefer="public" xml:base="">
4+
<uri id="Automatically generated entry, Timestamp=1653487688618" name="https://purls.helmholtz-metadaten.de/cdo" uri="crystallographic-defect-ontology.owl"/>
5+
</group>
6+
</catalog>
Lines changed: 223 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,223 @@
1+
<?xml version="1.0"?>
2+
<rdf:RDF xmlns="https://purls.helmholtz-metadaten.de/cdo"
3+
xml:base="https://purls.helmholtz-metadaten.de/cdo"
4+
xmlns:owl="http://www.w3.org/2002/07/owl#"
5+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6+
xmlns:xml="http://www.w3.org/XML/1998/namespace"
7+
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
8+
xmlns:qudt="http://qudt.org/schema/qudt/"
9+
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
10+
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
11+
xmlns:vann="http://purl.org/vocab/vann/"
12+
xmlns:terms="http://purl.org/dc/terms/">
13+
<owl:Ontology rdf:about="https://purls.helmholtz-metadaten.de/cdo">
14+
<owl:imports rdf:resource="https://purls.helmholtz-metadaten.de/cso"/>
15+
<owl:imports rdf:resource="https://purls.helmholtz-metadaten.de/diso"/>
16+
<terms:contributor rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Said Fathalla</terms:contributor>
17+
<terms:contributor rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Stefan Sandfeld</terms:contributor>
18+
<terms:created xml:lang="en">21.03.2022</terms:created>
19+
<terms:creator xml:lang="en">Ahmad Zainul Ihsan</terms:creator>
20+
<terms:license rdf:resource="http://creativecommons.org/licenses/by/3.0/"/>
21+
<terms:title xml:lang="en">Crystallographic Defect Ontology</terms:title>
22+
<vann:preferredNamespacePrefix rdf:datatype="http://www.w3.org/2001/XMLSchema#string">CDO</vann:preferredNamespacePrefix>
23+
<rdfs:seeAlso>https://github.com/Materials-Data-Science-and-Informatics/dislocation-ontology</rdfs:seeAlso>
24+
</owl:Ontology>
25+
26+
27+
28+
<!--
29+
///////////////////////////////////////////////////////////////////////////////////////
30+
//
31+
// Annotation properties
32+
//
33+
///////////////////////////////////////////////////////////////////////////////////////
34+
-->
35+
36+
37+
38+
39+
<!-- http://purl.org/dc/terms/contributor -->
40+
41+
<owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/contributor"/>
42+
43+
44+
45+
<!-- http://purl.org/dc/terms/created -->
46+
47+
<owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/created"/>
48+
49+
50+
51+
<!-- http://purl.org/dc/terms/creator -->
52+
53+
<owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/creator"/>
54+
55+
56+
57+
<!-- http://purl.org/dc/terms/title -->
58+
59+
<owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/title"/>
60+
61+
62+
63+
<!-- http://purl.org/vocab/vann/preferredNamespacePrefix -->
64+
65+
<owl:AnnotationProperty rdf:about="http://purl.org/vocab/vann/preferredNamespacePrefix"/>
66+
67+
68+
69+
<!-- http://www.w3.org/2002/07/owl#qualifiedCardinality -->
70+
71+
<owl:AnnotationProperty rdf:about="http://www.w3.org/2002/07/owl#qualifiedCardinality"/>
72+
73+
74+
75+
<!-- http://www.w3.org/2004/02/skos/core#prefLabel -->
76+
77+
<owl:AnnotationProperty rdf:about="http://www.w3.org/2004/02/skos/core#prefLabel">
78+
<rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#label"/>
79+
</owl:AnnotationProperty>
80+
81+
82+
83+
<!--
84+
///////////////////////////////////////////////////////////////////////////////////////
85+
//
86+
// Object Properties
87+
//
88+
///////////////////////////////////////////////////////////////////////////////////////
89+
-->
90+
91+
92+
93+
94+
<!-- https://purls.helmholtz-metadaten.de/cdo#hasCrystalStructure -->
95+
96+
<owl:ObjectProperty rdf:about="https://purls.helmholtz-metadaten.de/cdo#hasCrystalStructure">
97+
<rdfs:domain rdf:resource="https://purls.helmholtz-metadaten.de/cdo#CrystallineMaterial"/>
98+
<rdfs:range rdf:resource="https://purls.helmholtz-metadaten.de/cso#CrystalStructure"/>
99+
<rdfs:label xml:lang="en">has crystal structure</rdfs:label>
100+
</owl:ObjectProperty>
101+
102+
103+
104+
<!-- https://purls.helmholtz-metadaten.de/cdo#hasCrystallographicDefect -->
105+
106+
<owl:ObjectProperty rdf:about="https://purls.helmholtz-metadaten.de/cdo#hasCrystallographicDefect">
107+
<rdfs:domain rdf:resource="https://purls.helmholtz-metadaten.de/cdo#CrystallineMaterial"/>
108+
<rdfs:range rdf:resource="https://purls.helmholtz-metadaten.de/cdo#CrystallographicDefect"/>
109+
<rdfs:label xml:lang="en">has crystallographic defect</rdfs:label>
110+
</owl:ObjectProperty>
111+
112+
113+
114+
<!--
115+
///////////////////////////////////////////////////////////////////////////////////////
116+
//
117+
// Classes
118+
//
119+
///////////////////////////////////////////////////////////////////////////////////////
120+
-->
121+
122+
123+
124+
125+
<!-- http://emmo.info/emmo/middle/physicalistic#EMMO_4207e895_8b83_4318_996a_72cfb32acd94 -->
126+
127+
<owl:Class rdf:about="http://emmo.info/emmo/middle/physicalistic#EMMO_4207e895_8b83_4318_996a_72cfb32acd94">
128+
<rdfs:comment xml:lang="en">A instance of a material (e.g. nitrogen) can represent different states of matter. The fact that the individual also belongs to other classes (e.g. Gas) would reveal the actual form in which the material is found.</rdfs:comment>
129+
<rdfs:comment xml:lang="en">Material usually means some definite kind, quality, or quantity of matter, especially as intended for use.</rdfs:comment>
130+
<skos:prefLabel xml:lang="en">Material</skos:prefLabel>
131+
</owl:Class>
132+
133+
134+
135+
<!-- https://purls.helmholtz-metadaten.de/cdo#CrystallineMaterial -->
136+
137+
<owl:Class rdf:about="https://purls.helmholtz-metadaten.de/cdo#CrystallineMaterial">
138+
<rdfs:subClassOf rdf:resource="http://emmo.info/emmo/middle/physicalistic#EMMO_4207e895_8b83_4318_996a_72cfb32acd94"/>
139+
<rdfs:subClassOf>
140+
<owl:Class>
141+
<owl:intersectionOf rdf:parseType="Collection">
142+
<owl:Restriction>
143+
<owl:onProperty rdf:resource="https://purls.helmholtz-metadaten.de/cdo#hasCrystalStructure"/>
144+
<owl:someValuesFrom rdf:resource="https://purls.helmholtz-metadaten.de/cso#CrystalStructure"/>
145+
</owl:Restriction>
146+
<owl:Restriction>
147+
<owl:onProperty rdf:resource="https://purls.helmholtz-metadaten.de/cdo#hasCrystalStructure"/>
148+
<owl:allValuesFrom rdf:resource="https://purls.helmholtz-metadaten.de/cso#CrystalStructure"/>
149+
</owl:Restriction>
150+
</owl:intersectionOf>
151+
</owl:Class>
152+
</rdfs:subClassOf>
153+
<rdfs:subClassOf>
154+
<owl:Class>
155+
<owl:intersectionOf rdf:parseType="Collection">
156+
<owl:Restriction>
157+
<owl:onProperty rdf:resource="https://purls.helmholtz-metadaten.de/cdo#hasCrystallographicDefect"/>
158+
<owl:someValuesFrom rdf:resource="https://purls.helmholtz-metadaten.de/cdo#CrystallographicDefect"/>
159+
</owl:Restriction>
160+
<owl:Restriction>
161+
<owl:onProperty rdf:resource="https://purls.helmholtz-metadaten.de/cdo#hasCrystallographicDefect"/>
162+
<owl:allValuesFrom rdf:resource="https://purls.helmholtz-metadaten.de/cdo#CrystallographicDefect"/>
163+
</owl:Restriction>
164+
</owl:intersectionOf>
165+
</owl:Class>
166+
</rdfs:subClassOf>
167+
<rdfs:comment xml:lang="en">Crystalline material is material characterized by a periodic arrangement of the constituent atoms. The arrangement could be described its crystal structure.</rdfs:comment>
168+
<rdfs:label xml:lang="en">Crystalline Material</rdfs:label>
169+
</owl:Class>
170+
171+
172+
173+
<!-- https://purls.helmholtz-metadaten.de/cdo#CrystallographicDefect -->
174+
175+
<owl:Class rdf:about="https://purls.helmholtz-metadaten.de/cdo#CrystallographicDefect">
176+
<rdfs:comment xml:lang="en">Lattice irregularity having one or more of its dimensions on the order of an atomic diameter.</rdfs:comment>
177+
<rdfs:label xml:lang="en">Crystallographic Defect</rdfs:label>
178+
</owl:Class>
179+
180+
181+
182+
<!-- https://purls.helmholtz-metadaten.de/cdo#GrainBoundary -->
183+
184+
<owl:Class rdf:about="https://purls.helmholtz-metadaten.de/cdo#GrainBoundary">
185+
<rdfs:subClassOf rdf:resource="https://purls.helmholtz-metadaten.de/cdo#CrystallographicDefect"/>
186+
</owl:Class>
187+
188+
189+
190+
<!-- https://purls.helmholtz-metadaten.de/cdo#PointDefect -->
191+
192+
<owl:Class rdf:about="https://purls.helmholtz-metadaten.de/cdo#PointDefect">
193+
<rdfs:subClassOf rdf:resource="https://purls.helmholtz-metadaten.de/cdo#CrystallographicDefect"/>
194+
</owl:Class>
195+
196+
197+
198+
<!-- https://purls.helmholtz-metadaten.de/cso#CrystalStructure -->
199+
200+
<owl:Class rdf:about="https://purls.helmholtz-metadaten.de/cso#CrystalStructure"/>
201+
202+
203+
204+
<!-- https://purls.helmholtz-metadaten.de/diso#Dislocation -->
205+
206+
<owl:Class rdf:about="https://purls.helmholtz-metadaten.de/diso#Dislocation">
207+
<rdfs:subClassOf rdf:resource="https://purls.helmholtz-metadaten.de/cdo#CrystallographicDefect"/>
208+
</owl:Class>
209+
<rdf:Description>
210+
<owl:qualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:qualifiedCardinality>
211+
</rdf:Description>
212+
<rdf:Description>
213+
<owl:qualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:qualifiedCardinality>
214+
</rdf:Description>
215+
<rdf:Description>
216+
<owl:qualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:qualifiedCardinality>
217+
</rdf:Description>
218+
</rdf:RDF>
219+
220+
221+
222+
<!-- Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi -->
223+

CSO/CQs.md

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
## Competence Questions(CQs)
2+
3+
1. Which crystal structure share the same crystal system(e.g. Cubic, hexagonal, etc)?
4+
2. What are the lattice parameters of length given a crystal structure?
5+
3. What are the lattice parameters of angle given a crystal structure?
6+
4. Given the space group of a crystal structure, what is the bravais lattice centering?
7+
5. Given the crystal structure, what are the corresponding space group and point group?
8+
6. Given the point group of a crystal structure, what is the corresponding crystal system?
9+
10+
11+
## Answer to CQs via SPARQL
12+
13+
CQ1.1: Which crystal structure share the same cubic crystal system?
14+
```
15+
PREFIX cso: <https://purls.helmholtz-metadaten.de/cso#>
16+
17+
SELECT ?crystalstructure ?crystal_system WHERE{
18+
?crystalstructure a cso:CrystalStructure ; cso:hasLattice ?lattice .
19+
?lattice cso:hasCrystalSystem ?crystal_system.
20+
?crystal_system a cso:Cubic .
21+
}
22+
```
23+
24+
CQ1.2: Which crystal structure share the same hexagonal crystal system?
25+
```
26+
PREFIX cso: <https://purls.helmholtz-metadaten.de/cso#>
27+
28+
SELECT ?crystalstructure ?crystal_system WHERE{
29+
?crystalstructure a cso:CrystalStructure ; cso:hasLattice ?lattice .
30+
?lattice cso:hasCrystalSystem ?crystal_system.
31+
?crystal_system a cso:Hexagonal .
32+
}
33+
```
34+
CQs. 2: What are the lattice parameters of length given a crystal structure?
35+
```
36+
PREFIX cso: <https://purls.helmholtz-metadaten.de/cso#>
37+
38+
SELECT ?crystalstructure ?length_a ?length_b ?length_c WHERE{
39+
?crystalstructure a cso:CrystalStructure ; cso:hasLattice ?lattice .
40+
?lattice cso:hasUnitCell ?unitcell .
41+
?unitcell cso:hasLatticeParameterLength ?latticeParameterLength.
42+
?latticeParameterLength cso:latticeParameterLengthA ?length_a;
43+
cso:latticeParameterLengthB ?length_b;
44+
cso:latticeParameterLengthC ?length_c.
45+
}
46+
```
47+
48+
CQs. 3: What are the lattice parameters of angle given a crystal structure?
49+
```
50+
PREFIX cso: <https://purls.helmholtz-metadaten.de/cso#>
51+
52+
SELECT ?crystalstructure ?angle_alpha ?angle_beta ?angle_gamma WHERE{
53+
?crystalstructure a cso:CrystalStructure ; cso:hasLattice ?lattice .
54+
?lattice cso:hasUnitCell ?unitcell .
55+
?unitcell cso:hasLatticeParameterAngle ?latticeParameterAngle.
56+
?latticeParameterAngle cso:latticeParameterAngleAlpha ?angle_alpha;
57+
cso:latticeParameterAngleBeta ?angle_beta;
58+
cso:latticeParameterAngleGamma ?angle_gamma.
59+
}
60+
```
61+
62+
CQs 4: Given the space group of a crystal structure, what is the bravais lattice centering?
63+
```
64+
PREFIX cso: <https://purls.helmholtz-metadaten.de/cso#>
65+
66+
SELECT ?crystal_structure ?centering WHERE{
67+
?crystal_structure a cso:CrystalStructure;
68+
cso:hasLattice ?bravais_lattice .
69+
?bravais_lattice cso:centering ?centering .
70+
}
71+
```
72+
73+
CQs 5: Given the crystal structure, what are the corresponding space group and point group?
74+
```
75+
PREFIX cso: <https://purls.helmholtz-metadaten.de/cso#>
76+
PREFIX mdo: <https://w3id.org/mdo/structure/>
77+
78+
79+
SELECT ?crystal_structure ?space_group ?point_group WHERE{
80+
?crystal_structure a cso:CrystalStructure;
81+
mdo:hasSpaceGroup ?sg.
82+
?sg mdo:hasPointGroup ?pg ;
83+
mdo:SpaceGroupSymbol ?space_group .
84+
?pg mdo:PointGroupHMName ?point_group .
85+
}
86+
```
87+
88+
CQs 6a : Given the point group of a crystal structure, what is the corresponding crystal system, e.g. Cubic?
89+
```
90+
PREFIX cso: <https://purls.helmholtz-metadaten.de/cso#>
91+
PREFIX mdo: <https://w3id.org/mdo/structure/>
92+
93+
94+
SELECT ?point_group ?crystal_system WHERE{
95+
?pg a mdo:PointGroup;
96+
mdo:PointGroupHMName ?point_group ;
97+
cso:isPointGroupOf ?crystal_system.
98+
?crystal_system rdf:type cso:Cubic.
99+
}
100+
```
101+
102+
CQs 6b : Given the point group of a crystal structure, what is the corresponding crystal system, e.g. Hexagonal?
103+
```
104+
PREFIX cso: <https://purls.helmholtz-metadaten.de/cso#>
105+
PREFIX mdo: <https://w3id.org/mdo/structure/>
106+
107+
108+
SELECT ?point_group ?crystal_system WHERE{
109+
?pg a mdo:PointGroup;
110+
mdo:PointGroupHMName ?point_group ;
111+
cso:isPointGroupOf ?crystal_system.
112+
?crystal_system rdf:type cso:Hexagonal.
113+
}
114+
```

CSO/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
### Crystal Structure Ontology
2+
3+
Crystal Structure Ontology (CSO) is an ontology developed to represent crystallographic information needed to describe the dislocation. In CSO, several MDO classes are reused to describe the crystal coordinate system, motif/base in a crystal structure, point groups, and space groups.
4+
The standard coordinate system is defined by `MDO:Basis` and `MDO:CoordinateVector` classes that CSO reuses.
5+
The motif/base is an arrangement of chemical species in the crystal structure reuses `MDO:Occupancy`, `MDO:Site`, and `MDO:Species`.
6+
Subsequently, to define the point groups and space groups of a crystal structure, `MDO:PointGroup` and `MDO:SpaceGroup` are reused. Lastly, to define the unit quantity of a property in CSO, the `QUDT:Quantity`, `QUDT:QuantityKind`, and `QUDT:QuantityValue` classes are reused.
7+
![CSO-classes-2](https://user-images.githubusercontent.com/71790028/165483629-0f66d3a9-cde7-4a35-a7b5-17d35429df02.png)
8+
9+
10+
### Project Structure
11+
* [data](/crystal-structure-ontology/data/)
12+
* [Nickel crystal structure](/crystal-structure-ontology/data/MaterialProject/Nickel/overall.ttl)
13+
The Nickel data is collected from [Materials Project](https://materialsproject.org)
14+
* [CQs](/crystal-structure-ontology/CQs.md) is a collection of the competence questions.
15+
* [RDF genererator](/crystal-structure-ontology/python-script/)
16+
* For generating the RDF graph from the given [data](/crystal-structure-ontology/data/), we use the [RDFLib](https://github.com/RDFLib/rdflib) python library.
17+
* To generate the nickel crystal structure, the script is in [here](/crystal-structure-ontology/python-script/) and execute with `python map_data.py`
18+
19+
### Acknowledgments
20+
* European Research Council through the ERC Grant Agreement No. 759419 MuDiLingo (”A Multiscale Dislocation Language for Data-Driven Materials Science”)
21+
* Helmholtz Metadata Collaboration (HMC) within the Hub Information at the Forschungszentrum Jülich.
22+
23+
24+
### Citation
25+
please cite the following paper if you used any part of this work.
26+
27+
`@inproceedings{ihsan2021steps,
28+
title={Steps towards a Dislocation Ontology for Crystalline Materials},
29+
author={Ahmad Zainul Ihsan and Danilo Dessì and Mehwish Alam and Harald Sack and Stefan Sandfeld},
30+
booktitle={Second International Workshop on Semantic Digital Twins },
31+
year={2021},
32+
url={http://ceur-ws.org/Vol-2887/paper4.pdf}}`

0 commit comments

Comments
 (0)