Skip to content

Commit

Permalink
bring back falsely removed test data
Browse files Browse the repository at this point in the history
  • Loading branch information
BalduinLandolt committed Mar 19, 2024
1 parent d6ccc20 commit 6fd0692
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 38 deletions.
22 changes: 0 additions & 22 deletions test_data/generated_test_data/ontologyR2RV2/anythingHasDate.ttl

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"@id": "http://api.knora.org/ontology/knora-api/simple/v2",
"@type": "owl:Ontology",
"rdfs:label": "The knora-api ontology in the simple schema",
"@graph": [
{
"rdfs:label": "Color",
"rdfs:subPropertyOf": {
"@id": "knora-api:hasValue"
},
"rdfs:comment": "Specifies the color of a region.",
"@type": "owl:DatatypeProperty",
"knora-api:subjectType": {
"@id": "knora-api:Region"
},
"knora-api:objectType": {
"@id": "knora-api:Color"
},
"@id": "knora-api:hasColor"
}
],
"@context": {
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"knora-api": "http://api.knora.org/ontology/knora-api/simple/v2#",
"owl": "http://www.w3.org/2002/07/owl#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"xsd": "http://www.w3.org/2001/XMLSchema#"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@prefix knora-api: <http://api.knora.org/ontology/knora-api/simple/v2#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://api.knora.org/ontology/knora-api/simple/v2>
rdf:type owl:Ontology;
rdfs:label "The knora-api ontology in the simple schema" .

knora-api:hasColor rdf:type owl:DatatypeProperty;
rdfs:comment "Specifies the color of a region.";
rdfs:label "Color";
rdfs:subPropertyOf knora-api:hasValue;
knora-api:objectType knora-api:Color;
knora-api:subjectType knora-api:Region .
Original file line number Diff line number Diff line change
@@ -1,42 +1,40 @@
{
"knora-api:lastModificationDate": {
"@value": "2017-12-19T15:23:42.166Z",
"@type": "xsd:dateTimeStamp"
},
"rdfs:label": "The anything ontology",
"rdfs:label": "The knora-api ontology in the complex schema",
"@graph": [
{
"rdfs:label": "Date",
"rdfs:label": "Color",
"rdfs:subPropertyOf": {
"@id": "knora-api:hasValue"
},
"knora-api:isEditable": true,
"knora-api:isResourceProperty": true,
"knora-api:subjectType": {
"@id": "anything:Thing"
},
"@type": "owl:ObjectProperty",
"salsah-gui:guiAttribute": "ncolors=8",
"knora-api:objectType": {
"@id": "knora-api:DateValue"
"@id": "knora-api:ColorValue"
},
"salsah-gui:guiElement": {
"@id": "salsah-gui:Date"
"@id": "salsah-gui:Colorpicker"
},
"@id": "knora-api:hasColor",
"knora-api:subjectType": {
"@id": "knora-api:Region"
},
"@id": "anything:hasDate"
"rdfs:comment": "Specifies the color of a region."
}
],
"knora-api:attachedToProject": {
"@id": "http://rdfh.ch/projects/0001"
"@id": "http://www.knora.org/ontology/knora-admin#SystemProject"
},
"knora-api:isBuiltIn": true,
"@type": "owl:Ontology",
"@id": "http://0.0.0.0:3333/ontology/0001/anything/v2",
"@id": "http://api.knora.org/ontology/knora-api/v2",
"@context": {
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"knora-api": "http://api.knora.org/ontology/knora-api/v2#",
"owl": "http://www.w3.org/2002/07/owl#",
"salsah-gui": "http://api.knora.org/ontology/salsah-gui/v2#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"anything": "http://0.0.0.0:3333/ontology/0001/anything/v2#"
"xsd": "http://www.w3.org/2001/XMLSchema#"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@prefix knora-api: <http://api.knora.org/ontology/knora-api/v2#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix salsah-gui: <http://api.knora.org/ontology/salsah-gui/v2#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

knora-api:hasColor rdf:type owl:ObjectProperty;
rdfs:comment "Specifies the color of a region.";
rdfs:label "Color";
rdfs:subPropertyOf knora-api:hasValue;
knora-api:isEditable true;
knora-api:isResourceProperty true;
knora-api:objectType knora-api:ColorValue;
knora-api:subjectType knora-api:Region;
salsah-gui:guiAttribute "ncolors=8";
salsah-gui:guiElement salsah-gui:Colorpicker .

<http://api.knora.org/ontology/knora-api/v2>
rdf:type owl:Ontology;
rdfs:label "The knora-api ontology in the complex schema";
knora-api:attachedToProject <http://www.knora.org/ontology/knora-admin#SystemProject>;
knora-api:isBuiltIn true .

0 comments on commit 6fd0692

Please sign in to comment.