oldaplib 0.2.10__py3-none-any.whl → 0.2.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oldaplib/ontologies/oldap.trig +5 -270
- oldaplib/ontologies/shared.trig +151 -215
- oldaplib/ontologies/standard/.gitsave +0 -0
- oldaplib/src/datamodel.py +13 -1
- oldaplib/src/hasproperty.py +1 -1
- oldaplib/src/propertyclass.py +131 -76
- oldaplib/src/resourceclass.py +87 -48
- oldaplib/src/version.py +1 -1
- oldaplib/test/test_datamodel.py +10 -3
- oldaplib/test/test_oldaplistnode.py +7 -6
- oldaplib/test/test_resourceclass.py +5 -4
- oldaplib/testdata/datamodel_test.trig +2 -11
- {oldaplib-0.2.10.dist-info → oldaplib-0.2.11.dist-info}/METADATA +1 -1
- {oldaplib-0.2.10.dist-info → oldaplib-0.2.11.dist-info}/RECORD +15 -14
- {oldaplib-0.2.10.dist-info → oldaplib-0.2.11.dist-info}/WHEEL +0 -0
oldaplib/ontologies/oldap.trig
CHANGED
|
@@ -604,122 +604,16 @@
|
|
|
604
604
|
sh:class :PermissionSet ;
|
|
605
605
|
] .
|
|
606
606
|
|
|
607
|
-
:OldapChronolgyStatementShape a sh:NodeShape, :OldapChronolgyStatement ;
|
|
608
|
-
sh:targetClass :OldapListNode ;
|
|
609
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
610
|
-
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
611
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
612
|
-
dcterms:modified "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
613
|
-
sh:property
|
|
614
|
-
[
|
|
615
|
-
sh:path rdf:type ;
|
|
616
|
-
] ;
|
|
617
|
-
sh:property
|
|
618
|
-
[
|
|
619
|
-
sh:path :chronoStartJDC ;
|
|
620
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
621
|
-
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
622
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
623
|
-
dcterms:modified "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
624
|
-
sh:maxCount "1"^^xsd:integer ;
|
|
625
|
-
sh:minCount "1"^^xsd:integer ;
|
|
626
|
-
sh:datatype xsd:decimal ;
|
|
627
|
-
] ;
|
|
628
|
-
sh:property
|
|
629
|
-
[
|
|
630
|
-
sh:path :chronoStartPrecision ;
|
|
631
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
632
|
-
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
633
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
634
|
-
dcterms:modified "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
635
|
-
sh:maxCount "1"^^xsd:integer ;
|
|
636
|
-
sh:minCount "1"^^xsd:integer ;
|
|
637
|
-
sh:datatype xsd:string ;
|
|
638
|
-
sh:in ("YEAR"^^xsd:string "MONTH"^^xsd:string "DAY"^^xsd:string)
|
|
639
|
-
] ;
|
|
640
|
-
sh:property
|
|
641
|
-
[
|
|
642
|
-
sh:path :chronoEndJDC ;
|
|
643
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
644
|
-
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
645
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
646
|
-
dcterms:modified "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
647
|
-
sh:maxCount "1"^^xsd:integer ;
|
|
648
|
-
sh:minCount "1"^^xsd:integer ;
|
|
649
|
-
sh:datatype xsd:decimal ;
|
|
650
|
-
] ;
|
|
651
|
-
sh:property
|
|
652
|
-
[
|
|
653
|
-
sh:path :chronoEndPrecision ;
|
|
654
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
655
|
-
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
656
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
657
|
-
dcterms:modified "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
658
|
-
sh:maxCount "1"^^xsd:integer ;
|
|
659
|
-
sh:minCount "1"^^xsd:integer ;
|
|
660
|
-
sh:datatype xsd:string ;
|
|
661
|
-
sh:in ("YEAR"^^xsd:string "MONTH"^^xsd:string "DAY"^^xsd:string)
|
|
662
|
-
] ;
|
|
663
|
-
sh:property
|
|
664
|
-
[
|
|
665
|
-
sh:path :chronoCalendar ;
|
|
666
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
667
|
-
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
668
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
669
|
-
dcterms:modified "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
670
|
-
sh:maxCount "1"^^xsd:integer ;
|
|
671
|
-
sh:minCount "1"^^xsd:integer ;
|
|
672
|
-
sh:datatype xsd:string ;
|
|
673
|
-
sh:in ("GREGORIAN"^^xsd:string "JULIAN"^^xsd:string "HEBREW"^^xsd:string "ISLAMIC"^^xsd:string "PERSIAN"^^xsd:string) ;
|
|
674
|
-
] ;
|
|
675
|
-
sh:property
|
|
676
|
-
[
|
|
677
|
-
sh:path :chronoBefore ;
|
|
678
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
679
|
-
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
680
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
681
|
-
dcterms:modified "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
682
|
-
sh:maxCount "1"^^xsd:integer ;
|
|
683
|
-
sh:class :OldapChronolgyStatement ;
|
|
684
|
-
] ;
|
|
685
|
-
sh:property
|
|
686
|
-
[
|
|
687
|
-
sh:path :chronoAfter ;
|
|
688
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
689
|
-
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
690
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
691
|
-
dcterms:modified "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
692
|
-
sh:maxCount "1"^^xsd:integer ;
|
|
693
|
-
sh:class :OldapChronolgyStatement ;
|
|
694
|
-
] ;
|
|
695
|
-
sh:property
|
|
696
|
-
[
|
|
697
|
-
sh:path :chronoMinDelta ;
|
|
698
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
699
|
-
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
700
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
701
|
-
dcterms:modified "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
702
|
-
sh:maxCount "1"^^xsd:integer ;
|
|
703
|
-
sh:datatype xsd:decimal ;
|
|
704
|
-
] ;
|
|
705
|
-
sh:property
|
|
706
|
-
[
|
|
707
|
-
sh:path :chronoMaxDelta ;
|
|
708
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
709
|
-
dcterms:created "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
710
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
711
|
-
dcterms:modified "2023-11-04T12:00:00+00:00"^^xsd:dateTime ;
|
|
712
|
-
sh:maxCount "1"^^xsd:integer ;
|
|
713
|
-
sh:datatype xsd:decimal ;
|
|
714
|
-
] .
|
|
715
|
-
|
|
716
607
|
}
|
|
717
608
|
|
|
718
609
|
:onto {
|
|
719
610
|
oldap:ontology rdf:type owl:Ontology ;
|
|
720
|
-
#owl:versionIRI <http://oldap.org/ontology/version/1.0.0> ;
|
|
721
611
|
owl:versionInfo "0.1.0"^^xsd:string ;
|
|
722
|
-
|
|
612
|
+
|
|
613
|
+
#
|
|
614
|
+
# used for SHACL definition of external ontologies like dcterms etc.
|
|
615
|
+
#
|
|
616
|
+
oldap:externalOntology a owl:AnnotationProperty .
|
|
723
617
|
|
|
724
618
|
###############################################################################
|
|
725
619
|
# Extension (non-standard) for RDF*star
|
|
@@ -742,28 +636,6 @@
|
|
|
742
636
|
:hasAdminPermission a owl:ObjectProperty ;
|
|
743
637
|
rdfs:range :AdminPermission .
|
|
744
638
|
|
|
745
|
-
###############################################################################
|
|
746
|
-
# Properties that are used by skos,
|
|
747
|
-
###############################################################################
|
|
748
|
-
|
|
749
|
-
### http://www.w3.org/2004/02/skos/core#definition
|
|
750
|
-
skos:definition rdf:type owl:DatatypeProperty ;
|
|
751
|
-
rdfs:range rdf:langString .
|
|
752
|
-
|
|
753
|
-
### http://www.w3.org/2004/02/skos/core#editorialNote
|
|
754
|
-
skos:editorialNote rdf:type owl:DatatypeProperty ;
|
|
755
|
-
rdfs:range xsd:string .
|
|
756
|
-
|
|
757
|
-
skos:inScheme rdf:type owl:ObjectProperty ;
|
|
758
|
-
rdfs:range :OldapList .
|
|
759
|
-
|
|
760
|
-
### http://www.w3.org/2004/02/skos/core#prefLabel
|
|
761
|
-
skos:prefLabel rdf:type owl:DatatypeProperty ;
|
|
762
|
-
rdfs:range rdf:langString .
|
|
763
|
-
|
|
764
|
-
skos:broaderTransitive rdf:type owl:ObjectProperty ;
|
|
765
|
-
rdfs:range :OldapListNode .
|
|
766
|
-
|
|
767
639
|
|
|
768
640
|
###############################################################################
|
|
769
641
|
# Properties that are used by the :DataPermission class
|
|
@@ -944,81 +816,6 @@
|
|
|
944
816
|
rdfs:domain :OldapListNode ;
|
|
945
817
|
rdfs:range xsd:positiveInteger .
|
|
946
818
|
|
|
947
|
-
###############################################################################
|
|
948
|
-
# Properties used for :Project
|
|
949
|
-
###############################################################################
|
|
950
|
-
|
|
951
|
-
:chronoStartJDC rdf:type owl:DatatypeProperty ;
|
|
952
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
953
|
-
dcterms:created "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
954
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
955
|
-
dcterms:modified "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
956
|
-
rdfs:domain :OldapChronolgyStatement ;
|
|
957
|
-
rdfs:range xsd:decimal .
|
|
958
|
-
|
|
959
|
-
:chronoStartPrecision rdf:type owl:DatatypeProperty ;
|
|
960
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
961
|
-
dcterms:created "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
962
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
963
|
-
dcterms:modified "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
964
|
-
rdfs:domain :OldapChronolgyStatement ;
|
|
965
|
-
rdfs:range xsd:string .
|
|
966
|
-
|
|
967
|
-
:chronoEndJDC rdf:type owl:DatatypeProperty ;
|
|
968
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
969
|
-
dcterms:created "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
970
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
971
|
-
dcterms:modified "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
972
|
-
rdfs:domain :OldapChronolgyStatement ;
|
|
973
|
-
rdfs:range xsd:decimal .
|
|
974
|
-
|
|
975
|
-
:chronoEndPrecision rdf:type owl:DatatypeProperty ;
|
|
976
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
977
|
-
dcterms:created "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
978
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
979
|
-
dcterms:modified "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
980
|
-
rdfs:domain :OldapChronolgyStatement ;
|
|
981
|
-
rdfs:range xsd:string .
|
|
982
|
-
|
|
983
|
-
:chronoCalendar rdf:type owl:DatatypeProperty ;
|
|
984
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
985
|
-
dcterms:created "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
986
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
987
|
-
dcterms:modified "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
988
|
-
rdfs:domain :OldapChronolgyStatement ;
|
|
989
|
-
rdfs:range xsd:string .
|
|
990
|
-
|
|
991
|
-
:chronoBefore rdf:type owl:ObjectProperty ;
|
|
992
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
993
|
-
dcterms:created "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
994
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
995
|
-
dcterms:modified "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
996
|
-
rdfs:domain :OldapChronolgyStatement ;
|
|
997
|
-
rdfs:range :OldapChronolgyStatement .
|
|
998
|
-
|
|
999
|
-
:chronoAfter rdf:type owl:ObjectProperty ;
|
|
1000
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
1001
|
-
dcterms:created "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
1002
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
1003
|
-
dcterms:modified "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
1004
|
-
rdfs:domain :OldapChronolgyStatement ;
|
|
1005
|
-
rdfs:range :OldapChronolgyStatement .
|
|
1006
|
-
|
|
1007
|
-
:chronoMinDelta rdf:type owl:DatatypeProperty ;
|
|
1008
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
1009
|
-
dcterms:created "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
1010
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
1011
|
-
dcterms:modified "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
1012
|
-
rdfs:domain :OldapChronolgyStatement ;
|
|
1013
|
-
rdfs:range xsd:decimal .
|
|
1014
|
-
|
|
1015
|
-
:chronoMaxDelta rdf:type owl:DatatypeProperty ;
|
|
1016
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
1017
|
-
dcterms:created "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
1018
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
1019
|
-
dcterms:modified "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
1020
|
-
rdfs:domain :OldapChronolgyStatement ;
|
|
1021
|
-
rdfs:range xsd:decimal .
|
|
1022
819
|
|
|
1023
820
|
|
|
1024
821
|
#################################################################
|
|
@@ -1453,68 +1250,6 @@
|
|
|
1453
1250
|
] ;
|
|
1454
1251
|
rdfs:comment "General super class of all things (resources) in tghe OMAS universe"@en .
|
|
1455
1252
|
|
|
1456
|
-
|
|
1457
|
-
:OldapChronolgyStatement rdf:type owl:Class ;
|
|
1458
|
-
dcterms:creator <https://orcid.org/0000-0003-1681-4036> ;
|
|
1459
|
-
dcterms:created "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
1460
|
-
dcterms:contributor <https://orcid.org/0000-0003-1681-4036> ;
|
|
1461
|
-
dcterms:modified "2023-11-04T12:00:00Z"^^xsd:dateTime ;
|
|
1462
|
-
rdfs:subClassOf
|
|
1463
|
-
[
|
|
1464
|
-
rdf:type owl:Restriction ;
|
|
1465
|
-
owl:onProperty :chronoStartJDC ;
|
|
1466
|
-
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
|
|
1467
|
-
owl:onDatatype xsd:decimal
|
|
1468
|
-
] ,
|
|
1469
|
-
[
|
|
1470
|
-
rdf:type owl:Restriction ;
|
|
1471
|
-
owl:onProperty :chronoStartPrecision ;
|
|
1472
|
-
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
|
|
1473
|
-
owl:onDatatype xsd:string
|
|
1474
|
-
] ,
|
|
1475
|
-
[
|
|
1476
|
-
rdf:type owl:Restriction ;
|
|
1477
|
-
owl:onProperty :chronoEndJDC ;
|
|
1478
|
-
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
|
|
1479
|
-
owl:onDatatype xsd:decimal
|
|
1480
|
-
] ,
|
|
1481
|
-
[
|
|
1482
|
-
rdf:type owl:Restriction ;
|
|
1483
|
-
owl:onProperty :chronoEndPrecision ;
|
|
1484
|
-
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
|
|
1485
|
-
owl:onDatatype xsd:string
|
|
1486
|
-
] ,
|
|
1487
|
-
[
|
|
1488
|
-
rdf:type owl:Restriction ;
|
|
1489
|
-
owl:onProperty :chronoCalendar ;
|
|
1490
|
-
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
|
|
1491
|
-
owl:onDatatype xsd:string
|
|
1492
|
-
] ,
|
|
1493
|
-
[
|
|
1494
|
-
rdf:type owl:Restriction ;
|
|
1495
|
-
owl:onProperty :chronoBefore ;
|
|
1496
|
-
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
|
|
1497
|
-
owl:onClass :OldapChronolgyStatement
|
|
1498
|
-
] ,
|
|
1499
|
-
[
|
|
1500
|
-
rdf:type owl:Restriction ;
|
|
1501
|
-
owl:onProperty :chronoAfter ;
|
|
1502
|
-
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
|
|
1503
|
-
owl:onClass :OldapChronolgyStatement
|
|
1504
|
-
] ,
|
|
1505
|
-
[
|
|
1506
|
-
rdf:type owl:Restriction ;
|
|
1507
|
-
owl:onProperty :chronoMinDelta ;
|
|
1508
|
-
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
|
|
1509
|
-
owl:onDatatype xsd:decimal
|
|
1510
|
-
] ,
|
|
1511
|
-
[
|
|
1512
|
-
rdf:type owl:Restriction ;
|
|
1513
|
-
owl:onProperty :chronoMaxDelta ;
|
|
1514
|
-
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
|
|
1515
|
-
owl:onDatatype xsd:decimal
|
|
1516
|
-
] .
|
|
1517
|
-
|
|
1518
1253
|
}
|
|
1519
1254
|
|
|
1520
1255
|
|