sdu_smart 0.1.1 → 0.1.2
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.
- checksums.yaml +4 -4
- data/lib/sdu_smart/provision/capability.rb +1 -7
- data/lib/sdu_smart/provision/external_constraint.rb +1 -7
- data/lib/sdu_smart/provision/instruction.rb +1 -7
- data/lib/sdu_smart/provision/permission.rb +1 -7
- data/lib/sdu_smart/provision/possibility.rb +1 -7
- data/lib/sdu_smart/provision/recommendation.rb +1 -7
- data/lib/sdu_smart/provision/requirement.rb +1 -7
- data/lib/sdu_smart/provision/statement.rb +1 -7
- data/lib/sdu_smart/provision.rb +10 -0
- data/lib/sdu_smart/rdf/namespaces/isq_namespace.rb +12 -0
- data/lib/sdu_smart/rdf/namespaces.rb +1 -1
- data/lib/sdu_smart/version.rb +1 -1
- metadata +9 -6
- data/lib/sdu_smart/rdf/namespaces/isoiec80000_namespace.rb +0 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1cc27a4f4cad6abd40ac501a08dc0932cc9f0929c3bb1bc383ee33338579807e
|
|
4
|
+
data.tar.gz: 50ef369f2de4ad4ea4c095e7093b95a659a115503ca978a88cf6aad051b7ae9a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2194b52c75e440c78e64757a9511a6d2c942409f64a15ed564a6f835f316ec5d9d5fb83660a8ab78344249c6c2557e49fcbf81aa0fe3e7d03af7183c69c61b01
|
|
7
|
+
data.tar.gz: ecadbad708aa733fcfdedffcd6ae8020c98f03b2b2318a8596afc94bd6a2bef83d6873c8743280a39c7bdabd5e815a0a7a46e9fbbc2dcd62dfda3da2139ebb11
|
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
module SduSmart
|
|
4
4
|
class Capability < Provision
|
|
5
|
-
|
|
6
|
-
namespace SduSmart::Rdf::Namespaces::SmartNamespace
|
|
7
|
-
|
|
8
|
-
subject { |m| "https://w3id.org/standards/smart/ontologies/core/#{m.id}" }
|
|
9
|
-
|
|
10
|
-
type "smart:Capability"
|
|
11
|
-
end
|
|
5
|
+
provision_subtype "Capability"
|
|
12
6
|
end
|
|
13
7
|
end
|
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
module SduSmart
|
|
4
4
|
class ExternalConstraint < Provision
|
|
5
|
-
|
|
6
|
-
namespace SduSmart::Rdf::Namespaces::SmartNamespace
|
|
7
|
-
|
|
8
|
-
subject { |m| "https://w3id.org/standards/smart/ontologies/core/#{m.id}" }
|
|
9
|
-
|
|
10
|
-
type "smart:ExternalConstraint"
|
|
11
|
-
end
|
|
5
|
+
provision_subtype "ExternalConstraint"
|
|
12
6
|
end
|
|
13
7
|
end
|
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
module SduSmart
|
|
4
4
|
class Instruction < Provision
|
|
5
|
-
|
|
6
|
-
namespace SduSmart::Rdf::Namespaces::SmartNamespace
|
|
7
|
-
|
|
8
|
-
subject { |m| "https://w3id.org/standards/smart/ontologies/core/#{m.id}" }
|
|
9
|
-
|
|
10
|
-
type "smart:Instruction"
|
|
11
|
-
end
|
|
5
|
+
provision_subtype "Instruction"
|
|
12
6
|
end
|
|
13
7
|
end
|
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
module SduSmart
|
|
4
4
|
class Permission < Provision
|
|
5
|
-
|
|
6
|
-
namespace SduSmart::Rdf::Namespaces::SmartNamespace
|
|
7
|
-
|
|
8
|
-
subject { |m| "https://w3id.org/standards/smart/ontologies/core/#{m.id}" }
|
|
9
|
-
|
|
10
|
-
type "smart:Permission"
|
|
11
|
-
end
|
|
5
|
+
provision_subtype "Permission"
|
|
12
6
|
end
|
|
13
7
|
end
|
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
module SduSmart
|
|
4
4
|
class Possibility < Provision
|
|
5
|
-
|
|
6
|
-
namespace SduSmart::Rdf::Namespaces::SmartNamespace
|
|
7
|
-
|
|
8
|
-
subject { |m| "https://w3id.org/standards/smart/ontologies/core/#{m.id}" }
|
|
9
|
-
|
|
10
|
-
type "smart:Possibility"
|
|
11
|
-
end
|
|
5
|
+
provision_subtype "Possibility"
|
|
12
6
|
end
|
|
13
7
|
end
|
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
module SduSmart
|
|
4
4
|
class Recommendation < Provision
|
|
5
|
-
|
|
6
|
-
namespace SduSmart::Rdf::Namespaces::SmartNamespace
|
|
7
|
-
|
|
8
|
-
subject { |m| "https://w3id.org/standards/smart/ontologies/core/#{m.id}" }
|
|
9
|
-
|
|
10
|
-
type "smart:Recommendation"
|
|
11
|
-
end
|
|
5
|
+
provision_subtype "Recommendation"
|
|
12
6
|
end
|
|
13
7
|
end
|
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
module SduSmart
|
|
4
4
|
class Requirement < Provision
|
|
5
|
-
|
|
6
|
-
namespace SduSmart::Rdf::Namespaces::SmartNamespace
|
|
7
|
-
|
|
8
|
-
subject { |m| "https://w3id.org/standards/smart/ontologies/core/#{m.id}" }
|
|
9
|
-
|
|
10
|
-
type "smart:Requirement"
|
|
11
|
-
end
|
|
5
|
+
provision_subtype "Requirement"
|
|
12
6
|
end
|
|
13
7
|
end
|
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
module SduSmart
|
|
4
4
|
class Statement < Provision
|
|
5
|
-
|
|
6
|
-
namespace SduSmart::Rdf::Namespaces::SmartNamespace
|
|
7
|
-
|
|
8
|
-
subject { |m| "https://w3id.org/standards/smart/ontologies/core/#{m.id}" }
|
|
9
|
-
|
|
10
|
-
type "smart:Statement"
|
|
11
|
-
end
|
|
5
|
+
provision_subtype "Statement"
|
|
12
6
|
end
|
|
13
7
|
end
|
data/lib/sdu_smart/provision.rb
CHANGED
|
@@ -51,5 +51,15 @@ module SduSmart
|
|
|
51
51
|
namespace: SduSmart::Rdf::Namespaces::DcatNamespace,
|
|
52
52
|
to: :distribution
|
|
53
53
|
end
|
|
54
|
+
|
|
55
|
+
def self.provision_subtype(rdf_name)
|
|
56
|
+
rdf do
|
|
57
|
+
namespace SduSmart::Rdf::Namespaces::SmartNamespace
|
|
58
|
+
|
|
59
|
+
subject { |m| "https://w3id.org/standards/smart/ontologies/core/#{m.id}" }
|
|
60
|
+
|
|
61
|
+
type "smart:#{rdf_name}"
|
|
62
|
+
end
|
|
63
|
+
end
|
|
54
64
|
end
|
|
55
65
|
end
|
|
@@ -5,7 +5,7 @@ module SduSmart
|
|
|
5
5
|
module Namespaces
|
|
6
6
|
autoload :SmartNamespace, "#{__dir__}/namespaces/smart_namespace"
|
|
7
7
|
autoload :OaNamespace, "#{__dir__}/namespaces/oa_namespace"
|
|
8
|
-
autoload :
|
|
8
|
+
autoload :IsqNamespace, "#{__dir__}/namespaces/isq_namespace"
|
|
9
9
|
autoload :DcatNamespace, "#{__dir__}/namespaces/dcat_namespace"
|
|
10
10
|
autoload :ProvNamespace, "#{__dir__}/namespaces/prov_namespace"
|
|
11
11
|
autoload :SkosXlNamespace, "#{__dir__}/namespaces/skosxl_namespace"
|
data/lib/sdu_smart/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sdu_smart
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: exe
|
|
9
10
|
cert_chain: []
|
|
10
|
-
date:
|
|
11
|
+
date: 2026-05-27 00:00:00.000000000 Z
|
|
11
12
|
dependencies:
|
|
12
13
|
- !ruby/object:Gem::Dependency
|
|
13
14
|
name: lutaml-model
|
|
@@ -15,14 +16,14 @@ dependencies:
|
|
|
15
16
|
requirements:
|
|
16
17
|
- - "~>"
|
|
17
18
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.8.
|
|
19
|
+
version: 0.8.11
|
|
19
20
|
type: :runtime
|
|
20
21
|
prerelease: false
|
|
21
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
23
|
requirements:
|
|
23
24
|
- - "~>"
|
|
24
25
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.8.
|
|
26
|
+
version: 0.8.11
|
|
26
27
|
description: Ruby gem providing the SmartSDU Core Ontology information model. Includes
|
|
27
28
|
Entity, Provision, TermEntry, PublicationDocument, SKOS taxonomy instances, and
|
|
28
29
|
RDF namespace modules. Built on lutaml-model with Turtle and JSON-LD serialization
|
|
@@ -56,7 +57,7 @@ files:
|
|
|
56
57
|
- lib/sdu_smart/rdf.rb
|
|
57
58
|
- lib/sdu_smart/rdf/namespaces.rb
|
|
58
59
|
- lib/sdu_smart/rdf/namespaces/dcat_namespace.rb
|
|
59
|
-
- lib/sdu_smart/rdf/namespaces/
|
|
60
|
+
- lib/sdu_smart/rdf/namespaces/isq_namespace.rb
|
|
60
61
|
- lib/sdu_smart/rdf/namespaces/oa_namespace.rb
|
|
61
62
|
- lib/sdu_smart/rdf/namespaces/prov_namespace.rb
|
|
62
63
|
- lib/sdu_smart/rdf/namespaces/skosxl_namespace.rb
|
|
@@ -83,6 +84,7 @@ metadata:
|
|
|
83
84
|
source_code_uri: https://github.com/metanorma/sdu-smart
|
|
84
85
|
changelog_uri: https://github.com/metanorma/sdu-smart/releases
|
|
85
86
|
rubygems_mfa_required: 'true'
|
|
87
|
+
post_install_message:
|
|
86
88
|
rdoc_options: []
|
|
87
89
|
require_paths:
|
|
88
90
|
- lib
|
|
@@ -97,7 +99,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
97
99
|
- !ruby/object:Gem::Version
|
|
98
100
|
version: '0'
|
|
99
101
|
requirements: []
|
|
100
|
-
rubygems_version: 3.
|
|
102
|
+
rubygems_version: 3.5.22
|
|
103
|
+
signing_key:
|
|
101
104
|
specification_version: 4
|
|
102
105
|
summary: SmartSDU Core Ontology — Lutaml-model classes with RDF serialization.
|
|
103
106
|
test_files: []
|