From 9bf725d48a48185a7363e8601d78f302c72210db Mon Sep 17 00:00:00 2001 From: Phil Barker Date: Thu, 11 Jan 2024 15:43:26 +0000 Subject: [PATCH] Updates for processing >1 target per type --- setup.py | 2 +- tests/TestData/booksSHACL.ttl | 2 +- tests/TestData/booksTAP-shapes.csv | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index d49fc52..1798f11 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name="TAP2SHACL", - version="0.3.1", + version="0.5.0", description="DC TAP to SHACL converter", author="Phil Barker", author_email="phil.barker@pjjk.co.uk", diff --git a/tests/TestData/booksSHACL.ttl b/tests/TestData/booksSHACL.ttl index 9ff8f31..9468e14 100644 --- a/tests/TestData/booksSHACL.ttl +++ b/tests/TestData/booksSHACL.ttl @@ -22,7 +22,7 @@ sh:property <#authorshapeFamilyname>, <#authorshapeGivenname> , <#authorshapeType> ; - sh:targetObjectsOf dct:creator . + sh:targetObjectsOf dct:creator , dct:contributor. <#authorshapeFamilyname> a sh:PropertyShape ; sh:name "Family name"@en ; diff --git a/tests/TestData/booksTAP-shapes.csv b/tests/TestData/booksTAP-shapes.csv index e5597ec..84690dc 100644 --- a/tests/TestData/booksTAP-shapes.csv +++ b/tests/TestData/booksTAP-shapes.csv @@ -1,3 +1,3 @@ shapeID,label,comment,target,targetType,closed,mandatory,severity,Note #BookShape,Book,Shape for describing books,sdo:Book,class,,TRUE,Violation, -#AuthorShape,Author,Shape for describing authors,dct:creator,objectsof,TRUE,FALSE,Warning, +#AuthorShape,Author,Shape for describing authors,"dct:creator, dct:contributor",objectsof,TRUE,FALSE,Warning,