Skip to content

Commit

Permalink
new tests added
Browse files Browse the repository at this point in the history
  • Loading branch information
pedropaulofb committed Sep 26, 2023
1 parent afb3a95 commit 7333770
Show file tree
Hide file tree
Showing 59 changed files with 2,513 additions and 24 deletions.
Binary file modified resources/OntoUML Rules.xlsx
Binary file not shown.
21 changes: 21 additions & 0 deletions validator/tests/test_files/CL_SO_01B01.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@prefix : <https://example.org#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ontouml: <https://w3id.org/ontouml#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org> a owl:Ontology ;
dct:conformsTo <https://w3id.org/ontouml>,
<https://w3id.org/ontouml/vocabulary/v1.1.0> ;
dct:created "2023-09-26"^^xsd:date ;
rdfs:comment "Generated by ontouml-json2graph v1.3.2" ;
rdfs:seeAlso "https://w3id.org/ontouml/json2graph"^^xsd:anyURI .

:F3sqS1GEEWUWQQ2K a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C1" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:stereotype ontouml:role .
33 changes: 33 additions & 0 deletions validator/tests/test_files/CL_SO_01B02.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
@prefix : <https://example.org#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ontouml: <https://w3id.org/ontouml#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org> a owl:Ontology ;
dct:conformsTo <https://w3id.org/ontouml>,
<https://w3id.org/ontouml/vocabulary/v1.1.0> ;
dct:created "2023-09-26"^^xsd:date ;
rdfs:comment "Generated by ontouml-json2graph v1.3.2" ;
rdfs:seeAlso "https://w3id.org/ontouml/json2graph"^^xsd:anyURI .

:IceqS1GEEWUWQQ2v a ontouml:Generalization ;
ontouml:general :RP2qS1GEEWUWQQ2e ;
ontouml:specific :F3sqS1GEEWUWQQ2K .

:F3sqS1GEEWUWQQ2K a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C1" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:stereotype ontouml:role .

:RP2qS1GEEWUWQQ2e a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C2" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:stereotype ontouml:phase .
45 changes: 45 additions & 0 deletions validator/tests/test_files/CL_SO_01B03.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
@prefix : <https://example.org#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ontouml: <https://w3id.org/ontouml#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org> a owl:Ontology ;
dct:conformsTo <https://w3id.org/ontouml>,
<https://w3id.org/ontouml/vocabulary/v1.1.0> ;
dct:created "2023-09-26"^^xsd:date ;
rdfs:comment "Generated by ontouml-json2graph v1.3.2" ;
rdfs:seeAlso "https://w3id.org/ontouml/json2graph"^^xsd:anyURI .

:IceqS1GEEWUWQQ2v a ontouml:Generalization ;
ontouml:general :RP2qS1GEEWUWQQ2e ;
ontouml:specific :F3sqS1GEEWUWQQ2K .

:xu5qS1GEEWUWQQ3j a ontouml:Generalization ;
ontouml:general :XJJqS1GEEWUWQQ3P ;
ontouml:specific :RP2qS1GEEWUWQQ2e .

:F3sqS1GEEWUWQQ2K a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C1" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:stereotype ontouml:role .

:XJJqS1GEEWUWQQ3P a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C3" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:stereotype ontouml:subkind .

:RP2qS1GEEWUWQQ2e a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C2" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:stereotype ontouml:phase .
43 changes: 43 additions & 0 deletions validator/tests/test_files/CL_SO_01B04.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
@prefix : <https://example.org#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ontouml: <https://w3id.org/ontouml#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org> a owl:Ontology ;
dct:conformsTo <https://w3id.org/ontouml>,
<https://w3id.org/ontouml/vocabulary/v1.1.0> ;
dct:created "2023-09-26"^^xsd:date ;
rdfs:comment "Generated by ontouml-json2graph v1.3.2" ;
rdfs:seeAlso "https://w3id.org/ontouml/json2graph"^^xsd:anyURI .

:IceqS1GEEWUWQQ2v a ontouml:Generalization ;
ontouml:general :RP2qS1GEEWUWQQ2e ;
ontouml:specific :F3sqS1GEEWUWQQ2K .

:dETqS1GEEWUWQQ4O a ontouml:Generalization ;
ontouml:general :BEDqS1GEEWUWQQ4D ;
ontouml:specific :RP2qS1GEEWUWQQ2e .

:BEDqS1GEEWUWQQ4D a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C3" .

:F3sqS1GEEWUWQQ2K a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C1" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:stereotype ontouml:role .

:RP2qS1GEEWUWQQ2e a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C2" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:stereotype ontouml:phase .
48 changes: 48 additions & 0 deletions validator/tests/test_files/CL_SO_01B05.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
@prefix : <https://example.org#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ontouml: <https://w3id.org/ontouml#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org> a owl:Ontology ;
dct:conformsTo <https://w3id.org/ontouml>,
<https://w3id.org/ontouml/vocabulary/v1.1.0> ;
dct:created "2023-09-26"^^xsd:date ;
rdfs:comment "Generated by ontouml-json2graph v1.3.2" ;
rdfs:seeAlso "https://w3id.org/ontouml/json2graph"^^xsd:anyURI .

:IceqS1GEEWUWQQ2v a ontouml:Generalization ;
ontouml:general :RP2qS1GEEWUWQQ2e ;
ontouml:specific :F3sqS1GEEWUWQQ2K .

:dETqS1GEEWUWQQ4O a ontouml:Generalization ;
ontouml:general :BEDqS1GEEWUWQQ4D ;
ontouml:specific :RP2qS1GEEWUWQQ2e .

:BEDqS1GEEWUWQQ4D a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C3" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:restrictedTo ontouml:functionalComplexNature ;
ontouml:stereotype ontouml:kind .

:F3sqS1GEEWUWQQ2K a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C1" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:restrictedTo ontouml:functionalComplexNature ;
ontouml:stereotype ontouml:role .

:RP2qS1GEEWUWQQ2e a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C2" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:restrictedTo ontouml:functionalComplexNature ;
ontouml:stereotype ontouml:phase .
32 changes: 32 additions & 0 deletions validator/tests/test_files/CL_SO_01B06.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
@prefix : <https://example.org#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ontouml: <https://w3id.org/ontouml#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org> a owl:Ontology ;
dct:conformsTo <https://w3id.org/ontouml>,
<https://w3id.org/ontouml/vocabulary/v1.1.0> ;
dct:created "2023-09-26"^^xsd:date ;
rdfs:comment "Generated by ontouml-json2graph v1.3.2" ;
rdfs:seeAlso "https://w3id.org/ontouml/json2graph"^^xsd:anyURI .

:hoIaS1GEEWUWQQ5J a ontouml:Generalization ;
ontouml:general :LKQaS1GEEWUWQQ44 ;
ontouml:specific :F3sqS1GEEWUWQQ2K .

:F3sqS1GEEWUWQQ2K a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C1" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:restrictedTo ontouml:functionalComplexNature ;
ontouml:stereotype ontouml:role .

:LKQaS1GEEWUWQQ44 a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C2" .
44 changes: 44 additions & 0 deletions validator/tests/test_files/CL_SO_01B07.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
@prefix : <https://example.org#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ontouml: <https://w3id.org/ontouml#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org> a owl:Ontology ;
dct:conformsTo <https://w3id.org/ontouml>,
<https://w3id.org/ontouml/vocabulary/v1.1.0> ;
dct:created "2023-09-26"^^xsd:date ;
rdfs:comment "Generated by ontouml-json2graph v1.3.2" ;
rdfs:seeAlso "https://w3id.org/ontouml/json2graph"^^xsd:anyURI .

:3YyaS1GEEWUWQQ5s a ontouml:Generalization ;
ontouml:general :aL8aS1GEEWUWQQ5e ;
ontouml:specific :LKQaS1GEEWUWQQ44 .

:hoIaS1GEEWUWQQ5J a ontouml:Generalization ;
ontouml:general :LKQaS1GEEWUWQQ44 ;
ontouml:specific :F3sqS1GEEWUWQQ2K .

:F3sqS1GEEWUWQQ2K a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C1" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:restrictedTo ontouml:functionalComplexNature ;
ontouml:stereotype ontouml:role .

:aL8aS1GEEWUWQQ5e a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C3" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:stereotype ontouml:phase .

:LKQaS1GEEWUWQQ44 a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C2" .
42 changes: 42 additions & 0 deletions validator/tests/test_files/CL_SO_01B08.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
@prefix : <https://example.org#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ontouml: <https://w3id.org/ontouml#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org> a owl:Ontology ;
dct:conformsTo <https://w3id.org/ontouml>,
<https://w3id.org/ontouml/vocabulary/v1.1.0> ;
dct:created "2023-09-26"^^xsd:date ;
rdfs:comment "Generated by ontouml-json2graph v1.3.2" ;
rdfs:seeAlso "https://w3id.org/ontouml/json2graph"^^xsd:anyURI .

:hoIaS1GEEWUWQQ5J a ontouml:Generalization ;
ontouml:general :LKQaS1GEEWUWQQ44 ;
ontouml:specific :F3sqS1GEEWUWQQ2K .

:p.2aS1GEEWUWQQ6c a ontouml:Generalization ;
ontouml:general :fSWaS1GEEWUWQQ6L ;
ontouml:specific :LKQaS1GEEWUWQQ44 .

:F3sqS1GEEWUWQQ2K a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C1" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:restrictedTo ontouml:functionalComplexNature ;
ontouml:stereotype ontouml:role .

:fSWaS1GEEWUWQQ6L a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C3" .

:LKQaS1GEEWUWQQ44 a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C2" .
45 changes: 45 additions & 0 deletions validator/tests/test_files/CL_SO_01B09.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
@prefix : <https://example.org#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ontouml: <https://w3id.org/ontouml#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org> a owl:Ontology ;
dct:conformsTo <https://w3id.org/ontouml>,
<https://w3id.org/ontouml/vocabulary/v1.1.0> ;
dct:created "2023-09-26"^^xsd:date ;
rdfs:comment "Generated by ontouml-json2graph v1.3.2" ;
rdfs:seeAlso "https://w3id.org/ontouml/json2graph"^^xsd:anyURI .

:hoIaS1GEEWUWQQ5J a ontouml:Generalization ;
ontouml:general :LKQaS1GEEWUWQQ44 ;
ontouml:specific :F3sqS1GEEWUWQQ2K .

:p.2aS1GEEWUWQQ6c a ontouml:Generalization ;
ontouml:general :fSWaS1GEEWUWQQ6L ;
ontouml:specific :LKQaS1GEEWUWQQ44 .

:F3sqS1GEEWUWQQ2K a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C1" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:restrictedTo ontouml:functionalComplexNature ;
ontouml:stereotype ontouml:role .

:fSWaS1GEEWUWQQ6L a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C3" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:restrictedTo ontouml:functionalComplexNature ;
ontouml:stereotype ontouml:kind .

:LKQaS1GEEWUWQQ44 a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C2" .
35 changes: 35 additions & 0 deletions validator/tests/test_files/CL_SO_01B10.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@prefix : <https://example.org#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ontouml: <https://w3id.org/ontouml#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org> a owl:Ontology ;
dct:conformsTo <https://w3id.org/ontouml>,
<https://w3id.org/ontouml/vocabulary/v1.1.0> ;
dct:created "2023-09-26"^^xsd:date ;
rdfs:comment "Generated by ontouml-json2graph v1.3.2" ;
rdfs:seeAlso "https://w3id.org/ontouml/json2graph"^^xsd:anyURI .

:hoIaS1GEEWUWQQ5J a ontouml:Generalization ;
ontouml:general :LKQaS1GEEWUWQQ44 ;
ontouml:specific :F3sqS1GEEWUWQQ2K .

:F3sqS1GEEWUWQQ2K a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C1" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:restrictedTo ontouml:functionalComplexNature ;
ontouml:stereotype ontouml:role .

:LKQaS1GEEWUWQQ44 a ontouml:Class ;
ontouml:isAbstract false ;
ontouml:isDerived false ;
ontouml:isPowertype false ;
ontouml:name "C2" ;
ontouml:order "1"^^xsd:nonNegativeInteger ;
ontouml:restrictedTo ontouml:functionalComplexNature ;
ontouml:stereotype ontouml:kind .
Loading

0 comments on commit 7333770

Please sign in to comment.