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
Copy file name to clipboardExpand all lines: README.md
+32-19Lines changed: 32 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -7,50 +7,63 @@ We implemented **SCOOP-All**, **SCOOP-Prior**, and **SCOOP-Prior-R**.
7
7
We incorporate [RML2SHACL](https://github.com/RMLio/RML2SHACL), [Astrea](https://github.com/oeg-upm/astrea), and [XSD2SHACL](https://github.com/dtai-kg/XSD2SHACL).
$ python main.py --mode all --parallel True -m usecases/RINF/mappings/ -o usecases/RINF/ontology/ontology.ttl- x usecases/RINF/schema/ -xr usecases/RINF/mappings/
35
+
-ot integrated_shapes_all_rml_owl_xsd.ttl
22
36
```
23
37
24
38
Where:
25
39
-`--mode` is used to specify the integration mode, with three available options: "priority", "priorityR", and "all". Use this option to control the behavior of integration.
40
+
-`--priority` is used to specify the priority order of sources, default is mapping rules higher than ontologies higher than XSD.
26
41
-`--parallel` is used to specify whether parallel mode is enabled. If set to `True`, parallel processing may be used during integration for improved efficiency; if set to `False`, parallel processing is not utilized.
27
-
-`--mappings` is used to specify the path to the folder or mapping files to be translated. Multiple file paths can be provided.
28
-
-`--xsd` is used to specify the path to the folder or XSD files to be translated. Multiple file paths can be provided.
29
-
-`--ontology` is used to specify the path to the folder or ontology files to be translated. Multiple file paths can be provided.
30
-
-`-xr` is used to specify the RML file or folder path for post-adjustment of XSD-driven shapes. Multiple file paths can be provided.
31
-
-`-o` is used to specify the output file path and name. The default value is "shape_integration.ttl". If not provided, the result will be saved to the default file.
42
+
-`-m`, `--mappings` is used to specify the path to the folder or mapping files to be translated. Multiple file paths can be provided.
43
+
-`-x`, `--xsd` is used to specify the path to the folder or XSD files to be translated. Multiple file paths can be provided.
44
+
-`-o`, `--ontology` is used to specify the path to the folder or ontology files to be translated. Multiple file paths can be provided.
45
+
-`-xr`, `--xsd_rml` is used to specify the RML file or folder path for post-adjustment of XSD-driven shapes. Multiple file paths can be provided.
46
+
-`-ot`, `--output` is used to specify the output file path and name. The default value is "shape_integration.ttl". If not provided, the result will be saved to the default file.
This folder constains extracted shapes from different systems and the evaluation results.
4
+
The shapes produced by SCOOP starts with "SCOOP", and those produced by RML2SHACL, Astrea, and XSD2SHACL are saved in "temp" folder starting with the source name.
5
+
6
+
The Qualitative Analysis results can be found in log_target.txt, and the RDF validation results can be found in validation/validation.txt.
7
+
8
+
## Experiments
9
+
10
+
We conducted the experiments as showed in the paper.
11
+
12
+
## Qualitative Analysis
13
+
14
+
run stats_target.py to get the results, which are saved in log_target.txt:
15
+
16
+
```
17
+
$ python STATS/stats_target.py
18
+
```
19
+
20
+
## RDF Validation Analysis
21
+
22
+
run validation.py to get the validation reports
23
+
24
+
```
25
+
$ python STATS/validation.py
26
+
```
27
+
28
+
and then run validation_analysis.py to get the validation analysis results, which are saved in validation/validation.txt:
0 commit comments