-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bring back falsely removed test data
- Loading branch information
1 parent
d6ccc20
commit 6fd0692
Showing
5 changed files
with
82 additions
and
38 deletions.
There are no files selected for viewing
22 changes: 0 additions & 22 deletions
22
test_data/generated_test_data/ontologyR2RV2/anythingHasDate.ttl
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
test_data/generated_test_data/ontologyR2RV2/knoraApiSimpleHasColor.jsonld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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#" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
test_data/generated_test_data/ontologyR2RV2/knoraApiSimpleHasColor.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |
30 changes: 14 additions & 16 deletions
30
...data/ontologyR2RV2/anythingHasDate.jsonld → ...2/knoraApiWithValueObjectsHasColor.jsonld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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#" | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
test_data/generated_test_data/ontologyR2RV2/knoraApiWithValueObjectsHasColor.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |