sparna-git / shacl-play

SHACL validation UI, SHACL documentation generator, SHACL generator from RDF.
http://shacl-play.sparna.fr
GNU Lesser General Public License v3.0
24 stars 15 forks source link

Test file with unprefixed classes generate packages in diagram generation #122

Closed tfrancart closed 5 months ago

tfrancart commented 5 months ago

No prefixes in the SHACL : test.zip

Generates this kind of PlantUML output:

@startuml
skinparam classFontSize 14
!define LIGHTORANGE
skinparam componentStyle uml2
skinparam wrapMessageWidth 100
skinparam ArrowColor #Maroon
Class "shape:RecordSet" [[#shape:RecordSet]] 
"shape:RecordSet" : http://ontology.performing-arts.ch/cassation  : xsd:string  [0..1]  
"shape:RecordSet" : http://ontology.performing-arts.ch/deliveryNumber  : xsd:string  
"shape:RecordSet" --> "http://www.cidoc-crm.org/cidoc-crm/E55_Type" : http://ontology.performing-arts.ch/hasAccessibility  [0..1]  
"shape:RecordSet" --> "http://www.cidoc-crm.org/cidoc-crm/E55_Type" : http://ontology.performing-arts.ch/hasCopyrightDeclaration  [0..1]  
"shape:RecordSet" : http://ontology.performing-arts.ch/hasCredit  : xsd:string  [0..1]  
"shape:RecordSet" : http://ontology.performing-arts.ch/hasDoublets  : xsd:string  [0..1]  
"shape:RecordSet" : http://ontology.performing-arts.ch/hasInternalNote  : xsd:string  
"shape:RecordSet" : http://ontology.performing-arts.ch/hasNote  : xsd:string  
"shape:RecordSet" --> "http://www.cidoc-crm.org/cidoc-crm/E55_Type" : http://ontology.performing-arts.ch/hasPacking  
"shape:RecordSet" --> "http://www.cidoc-crm.org/cidoc-crm/E55_Type" : http://ontology.performing-arts.ch/hasPermission  [0..1]  
"shape:RecordSet" --> "http://www.cidoc-crm.org/cidoc-crm/E55_Type" : http://ontology.performing-arts.ch/hasPhysicalUsability  [0..1]  
"shape:RecordSet" : http://ontology.performing-arts.ch/hasProcessingConvention  : xsd:string  [0..1]  
"shape:RecordSet" : http://ontology.performing-arts.ch/hasProcessingDate  
"shape:RecordSet" : http://ontology.performing-arts.ch/hasProtectionDuration  : xsd:string  [0..1]  
"shape:RecordSet" : http://ontology.performing-arts.ch/hasResponsibleEmployee  : xsd:string  
"shape:RecordSet" --> "http://www.cidoc-crm.org/cidoc-crm/E55_Type" : http://ontology.performing-arts.ch/hasTermsOfProtection  [0..1]  
"shape:RecordSet" --> "http://www.cidoc-crm.org/cidoc-crm/E55_Type" : http://ontology.performing-arts.ch/hasUsageRightsStill  [0..1]  
"shape:RecordSet" --> "http://www.cidoc-crm.org/cidoc-crm/E55_Type" : http://ontology.performing-arts.ch/hasUsageRightsStreaming  [0..1]  
"shape:RecordSet" : http://ontology.performing-arts.ch/isRelatedTo  : xsd:string  
"shape:RecordSet" : http://ontology.performing-arts.ch/legacyDate  : xsd:string  [0..1]  
"shape:RecordSet" : http://ontology.performing-arts.ch/legacyIdentifier  : xsd:string  
<> diamond_RecordSet_RecordSet_seeAlso
"shape:RecordSet" --> "diamond_RecordSet_RecordSet_seeAlso" : http://ontology.performing-arts.ch/seeAlso
diamond_RecordSet_RecordSet_seeAlso ..  "shape:RecordSet"
"shape:RecordSet" : http://purl.org/ontology/olo/core#index  : xsd:integer  [0..1]  
"shape:RecordSet" : http://schema.org/copyrightNotice  : xsd:string  
"shape:RecordSet" : http://temp.performing-arts.ch/isVirtual  : xsd:boolean  [0..1]  
"shape:RecordSet" : http://www.w3.org/2002/07/owl#sameAs  [0..1]  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#conditionsOfAccess  : xsd:string  [0..1]  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#conditionsOfUse  : xsd:string  [0..1]  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#descriptiveNote  : xsd:string  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#hasCreator  [0..1]  
"shape:RecordSet" --> "https://www.ica.org/standards/RiC/ontology#RecordResourceExtent" : https://www.ica.org/standards/RiC/ontology#hasExtent  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#hasInstantiation  
"shape:RecordSet" --> "https://www.ica.org/standards/RiC/ontology#DocumentaryFormType" : https://www.ica.org/standards/RiC/ontology#hasOrHadAllMembersWithDocumentaryFormType  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#hasOrHadIdentifier  
"shape:RecordSet" --> "https://www.ica.org/standards/RiC/ontology#Language" : https://www.ica.org/standards/RiC/ontology#hasOrHadLanguage  
"shape:RecordSet" --> "http://ontology.performing-arts.ch/ArchivalPlace" : https://www.ica.org/standards/RiC/ontology#hasOrHadLocation  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#hasOrHadSubject  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#hasProvenance  
"shape:RecordSet" --> "http://www.cidoc-crm.org/cidoc-crm/E55_Type" : https://www.ica.org/standards/RiC/ontology#hasRecordSetType  [0..1]  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#history  : xsd:string  [0..1]  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#identifier  : xsd:string  [0..1]  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#isAssociatedWithDate  
"shape:RecordSet" --> "https://www.ica.org/standards/RiC/ontology#Event" : https://www.ica.org/standards/RiC/ontology#isAssociatedWithEvent  
"shape:RecordSet" --> "http://www.cidoc-crm.org/cidoc-crm/E53_Place" : https://www.ica.org/standards/RiC/ontology#isAssociatedWithPlace  [0..1]  
"shape:RecordSet" --> "shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#isOrWasIncludedIn  [0..1]  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#name  [1..*]  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#physicalCharacteristics  : xsd:string  [0..1]  
"shape:RecordSet" : https://www.ica.org/standards/RiC/ontology#recordResourceExtent  : xsd:string  [0..1]  
"shape:RecordSet" : rdfs:comment  : xsd:string  [0..1]  
hide circle
hide methods
hide empty members
@enduml

Yields this:

image