Skip to content

Commit

Permalink
test: Add test data to anything project (#3441)
Browse files Browse the repository at this point in the history
Co-authored-by: Balduin Landolt <[email protected]>
  • Loading branch information
Nora-Olivia-Ammann and BalduinLandolt authored Dec 11, 2024
1 parent 76d2db2 commit 3660ae6
Show file tree
Hide file tree
Showing 5 changed files with 1,848 additions and 750 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,67 @@
"knora-api:resourceIcon": "thing.png",
"@id": "anything:Thing"
},
{
"rdfs:label": "Archive",
"rdfs:subClassOf": [
{
"@id": "knora-api:ArchiveRepresentation"
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "anything:hasArchiveTitle"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:arkUrl"
},
"owl:cardinality": 1
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasArchiveFile"
},
"owl:cardinality": 1
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasIncomingLink"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasStandoffLinkTo"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:versionArkUrl"
},
"owl:cardinality": 1
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "rdfs:label"
},
"owl:cardinality": 1
}
],
"rdfs:comment": "An archive about a thing",
"@type": "owl:Class",
"knora-api:resourceIcon": "thing.png",
"@id": "anything:ThingArchive"
},
{
"rdfs:label": "Document",
"rdfs:subClassOf": [
Expand Down Expand Up @@ -548,6 +609,67 @@
"knora-api:resourceIcon": "thing.png",
"@id": "anything:ThingPicture"
},
{
"rdfs:label": "Text",
"rdfs:subClassOf": [
{
"@id": "knora-api:TextRepresentation"
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "anything:hasTextTitle"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:arkUrl"
},
"owl:cardinality": 1
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasIncomingLink"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasStandoffLinkTo"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasTextFile"
},
"owl:cardinality": 1
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:versionArkUrl"
},
"owl:cardinality": 1
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "rdfs:label"
},
"owl:cardinality": 1
}
],
"rdfs:comment": "A text about a thing",
"@type": "owl:Class",
"knora-api:resourceIcon": "thing.png",
"@id": "anything:ThingText"
},
{
"rdfs:label": "Thing with region",
"rdfs:subClassOf": [
Expand Down Expand Up @@ -940,6 +1062,20 @@
"@type": "owl:Class",
"@id": "anything:VideoThing"
},
{
"rdfs:label": "archive title",
"rdfs:subPropertyOf": {
"@id": "knora-api:hasValue"
},
"@type": "owl:DatatypeProperty",
"knora-api:subjectType": {
"@id": "anything:ThingArchive"
},
"knora-api:objectType": {
"@id": "xsd:string"
},
"@id": "anything:hasArchiveTitle"
},
{
"rdfs:label": "A blue thing",
"rdfs:subPropertyOf": {
Expand Down Expand Up @@ -1175,6 +1311,20 @@
},
"@id": "anything:hasText"
},
{
"rdfs:label": "text title",
"rdfs:subPropertyOf": {
"@id": "knora-api:hasValue"
},
"@type": "owl:DatatypeProperty",
"knora-api:subjectType": {
"@id": "anything:ThingText"
},
"knora-api:objectType": {
"@id": "xsd:string"
},
"@id": "anything:hasTextTitle"
},
{
"rdfs:label": "document about a thing",
"rdfs:subPropertyOf": {
Expand Down
Loading

0 comments on commit 3660ae6

Please sign in to comment.