From 1837832808cdb53931897267e4a3602855b6b8ea Mon Sep 17 00:00:00 2001 From: Sander van den Hoek Date: Thu, 20 Feb 2025 15:28:17 +0100 Subject: [PATCH] feat: Updated pet store to include some semantics (#4745) * Updated pet store to include some semantics * added example.com IRI for table-ref in pet store * replaced semantics with current master state * removed 2 color ontologyTermURI's for example of different behavior --- data/_models/specific/petstore.csv | 16 ++++++++-------- data/_ontologies/Tag.csv | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/data/_models/specific/petstore.csv b/data/_models/specific/petstore.csv index 984ee58474..3e259187c9 100644 --- a/data/_models/specific/petstore.csv +++ b/data/_models/specific/petstore.csv @@ -1,7 +1,7 @@ tableName,tableExtends,tableType,columnName,columnType,key,required,refSchema,refTable,refLink,refBack,refLabel,defaultValue,validation,visible,computed,semantics,profiles,label,description Pet,,,,,,,,,,,,,,,,,Petstore,,My pet store example table Order,,,,,,,,,,,,,,,,,Petstore,, -User,,,,,,,,,,,,,,,,,Petstore,, +User,,,,,,,,,,,,,,,,http://xmlns.com/foaf/0.1/Person,Petstore,, Category,,,,,,,,,,,,,,,,,Petstore,, Category,,,name,,1,true,,,,,,,,,,,Petstore,, Order,,,orderId,auto_id,1,true,,,,,,,,,ORDER:${mg_autoid},,Petstore,, @@ -19,12 +19,12 @@ Pet,,,tags,ontology_array,,,,Tag,,,,,,,,,Petstore,, Pet,,,weight,decimal,,true,,,,,,,,,,,Petstore,, Pet,,,Heading2,heading,,,,,,,,,,,,,Petstore,, Pet,,,orders,refback,,,,Order,,pet,,,,,,,Petstore,, -User,,,username,,1,true,,,,,,,,,,,Petstore,, -User,,,firstName,,,,,,,,,,,,,,Petstore,, -User,,,lastName,,,,,,,,,,,,,,Petstore,, -User,,,picture,file,,,,,,,,,,,,,Petstore,, -User,,,email,email,,,,,,,,,,,,,Petstore,, +User,,,username,,1,true,,,,,,,,,,http://xmlns.com/foaf/0.1/accountName,Petstore,, +User,,,firstName,,,,,,,,,,,,,http://xmlns.com/foaf/0.1/firstName,Petstore,, +User,,,lastName,,,,,,,,,,,,,http://xmlns.com/foaf/0.1/lastName,Petstore,, +User,,,picture,file,,,,,,,,,,,,http://xmlns.com/foaf/0.1/img,Petstore,, +User,,,email,email,,,,,,,,,,,,http://xmlns.com/foaf/0.1/mbox,Petstore,, User,,,password,,,,,,,,,,,,,,Petstore,, -User,,,phone,,,,,,,,,,,,,,Petstore,, +User,,,phone,,,,,,,,,,,,,http://xmlns.com/foaf/0.1/phone,Petstore,, User,,,userStatus,int,,,,,,,,,,,,,Petstore,, -User,,,pets,ref_array,,,,Pet,,,,,,,,,Petstore,, \ No newline at end of file +User,,,pets,ref_array,,,,Pet,,,,,,,,http://example.com/petstore#hasPets,Petstore,, \ No newline at end of file diff --git a/data/_ontologies/Tag.csv b/data/_ontologies/Tag.csv index 8be6181acf..fb781419d1 100644 --- a/data/_ontologies/Tag.csv +++ b/data/_ontologies/Tag.csv @@ -1,7 +1,7 @@ order,name,label,parent,codesystem,code,ontologyTermURI,definition ,colors,,,,,, -,red,,colors,,,, -,green,,colors,,,, +,red,,colors,,,https://dbpedia.org/page/Red, +,green,,colors,,,https://dbpedia.org/page/Green, ,blue,,colors,,,, ,purple,,colors,,,, ,species,,,,,,