dbd_onto 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +2 -0
- data/.rvmrc +1 -0
- data/.travis.yml +10 -0
- data/Gemfile +4 -0
- data/Guardfile +7 -0
- data/HISTORY.txt +5 -0
- data/LICENSE.txt +22 -0
- data/README.md +58 -0
- data/Rakefile +1 -0
- data/dbd_onto.gemspec +29 -0
- data/lib/dbd_onto/base.rb +6 -0
- data/lib/dbd_onto/fact_methods.rb +10 -0
- data/lib/dbd_onto/meta.rb +38 -0
- data/lib/dbd_onto/provenance.rb +54 -0
- data/lib/dbd_onto/provenance_methods.rb +24 -0
- data/lib/dbd_onto/version.rb +3 -0
- data/lib/dbd_onto.rb +7 -0
- data/spec/lib/dbd_onto/base_spec.rb +9 -0
- data/spec/lib/dbd_onto/meta_spec.rb +49 -0
- data/spec/lib/dbd_onto/provenance_spec.rb +105 -0
- data/spec/spec_helper.rb +11 -0
- metadata +183 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 15cd696a44197409a3a17797ebf8bcbd93631d9c
|
4
|
+
data.tar.gz: f001d417f57720e846231c268934346025d6fb64
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c1667901bdee7e801ec0fe148cd8abd015ab580c0ac563911ce0b1f0a46e86efcc2258db8f1ebc4bc86f4ebd1d2e30d54a9aea5482c123058784f1ab9345215b
|
7
|
+
data.tar.gz: ce7659741dbcc13bb87463ebda947178a173e3fdc880e0155e812a256f04aa3e3d889899aa28f2dc4f3b7f0461ffd51e5557ac0c5599fcdd8d401b3f9e0a1907
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rvmrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rvm use --create 2.0.0@dbd_onto
|
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/Guardfile
ADDED
data/HISTORY.txt
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Peter Vandenabeele
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
# DbdOnto
|
2
|
+
|
3
|
+
Ontologies for [Dbd].
|
4
|
+
|
5
|
+
First a limited Provenance ontology is constructed, because it is required for all facts. This provenance ontology also has a provenance resource (using the provenance predicates defined in itself, to bootstrap the system).
|
6
|
+
|
7
|
+
The Provenance ontology uses one meta:defines_predicate attribute from a new Meta ontology. This is needed to describe the definition of predicates, since predicates cannot be the subject of Fact (in Dbd, a subject is an abstract UUID, not a URI, so a link is needed between a resource (all facts with the same subject) and the predicate (that is then the object for this fact that defines the predicate)).
|
8
|
+
|
9
|
+
[![Gem Version](https://badge.fury.io/rb/dbd_onto.png)](http://badge.fury.io/rb/dbd_onto)
|
10
|
+
[![Build Status](https://travis-ci.org/petervandenabeele/dbd_onto.png?branch=master)](http://travis-ci.org/petervandenabeele/dbd_onto)
|
11
|
+
|
12
|
+
## Installation
|
13
|
+
|
14
|
+
Add this line to your application's Gemfile:
|
15
|
+
|
16
|
+
gem 'dbd_onto'
|
17
|
+
|
18
|
+
## Usage
|
19
|
+
|
20
|
+
Used by Dbd and applications that use Dbd.
|
21
|
+
|
22
|
+
## Examples
|
23
|
+
|
24
|
+
The ontology is stored as a [Dbd]::Graph. Displaying it in short format:
|
25
|
+
|
26
|
+
```
|
27
|
+
dbd_onto $ irb
|
28
|
+
2.0.0-p195 :001 > require 'dbd_onto'
|
29
|
+
=> true
|
30
|
+
2.0.0-p195 :002 > DbdOnto::Provenance.new.each {|f| puts f.short} ; nil
|
31
|
+
[ prov ] : 44c2dd0f : prov:context : public
|
32
|
+
[ prov ] : 44c2dd0f : prov:source : https://github.com/petervandenabeele/dbd/blob/d37360070e7f8e6
|
33
|
+
[ prov ] : 44c2dd0f : dcterms:creator : Peter Vandenabeele (@peter_v)
|
34
|
+
[ prov ] : 44c2dd0f : dcterms:created : 2013-05-26 21:30:00 UTC
|
35
|
+
[ prov ] : 44c2dd0f : prov:license : Copyright 2013 Peter Vandenabeele (http://vandenabeele.com),
|
36
|
+
44c2dd0f : e350ae17 : meta:defines_predicate : prov:context
|
37
|
+
44c2dd0f : e350ae17 : rdfs:label : Context
|
38
|
+
44c2dd0f : 5256a1be : meta:defines_predicate : prov:source
|
39
|
+
44c2dd0f : 5256a1be : rdfs:label : Source
|
40
|
+
44c2dd0f : dd57068f : meta:defines_predicate : prov:license
|
41
|
+
44c2dd0f : dd57068f : rdfs:label : License
|
42
|
+
44c2dd0f : 5cddba10 : meta:defines_predicate : dcterms:creator
|
43
|
+
44c2dd0f : 5cddba10 : rdfs:label : Creator
|
44
|
+
44c2dd0f : ece58739 : meta:defines_predicate : dcterms:created
|
45
|
+
44c2dd0f : ece58739 : rdfs:label : Created
|
46
|
+
=> nil
|
47
|
+
2.0.0-p195 :003 > DbdOnto::Meta.new.each {|f| puts f.short} ; nil
|
48
|
+
[ prov ] : b75f3b8c : prov:context : public
|
49
|
+
[ prov ] : b75f3b8c : prov:source : https://github.com/petervandenabeele/dbd_onto/blob/08adb5bf0e
|
50
|
+
[ prov ] : b75f3b8c : dcterms:creator : Peter Vandenabeele (@peter_v)
|
51
|
+
[ prov ] : b75f3b8c : dcterms:created : 2013-06-03 21:00:00 UTC
|
52
|
+
[ prov ] : b75f3b8c : prov:license : Copyright 2013 Peter Vandenabeele (http://vandenabeele.com),
|
53
|
+
b75f3b8c : bd07e072 : meta:defines_predicate : meta:defines_predicate
|
54
|
+
b75f3b8c : bd07e072 : rdfs:label : Defines predicate
|
55
|
+
=> nil
|
56
|
+
```
|
57
|
+
|
58
|
+
[Dbd]: https://github.com/petervandenabeele/dbd#readme
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/dbd_onto.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'dbd_onto/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "dbd_onto"
|
8
|
+
spec.version = DbdOnto::VERSION
|
9
|
+
spec.authors = ["Peter Vandenabeele"]
|
10
|
+
spec.email = ["peter@vandenabeele.com"]
|
11
|
+
spec.description = %q{Ontologies for Dbd}
|
12
|
+
spec.summary = %q{Ontologies for Dbd}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency 'bundler', '>= 1.2.4'
|
22
|
+
spec.add_development_dependency 'rake'
|
23
|
+
spec.add_development_dependency 'guard-rspec'
|
24
|
+
spec.add_development_dependency 'terminal-notifier-guard'
|
25
|
+
spec.add_development_dependency 'yard'
|
26
|
+
spec.add_runtime_dependency 'rdf', '~> 1.0.6'
|
27
|
+
spec.add_runtime_dependency 'ruby_peter_v', '>= 0.0.8'
|
28
|
+
spec.add_runtime_dependency 'dbd', '>= 0.0.5'
|
29
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module DbdOnto
|
2
|
+
class Meta < Base
|
3
|
+
|
4
|
+
META_ATTRIBUTES = %w(defines_predicate)
|
5
|
+
|
6
|
+
def initialize
|
7
|
+
super
|
8
|
+
self << provenance
|
9
|
+
self << meta_resources
|
10
|
+
end
|
11
|
+
|
12
|
+
private
|
13
|
+
|
14
|
+
def provenance_attributes
|
15
|
+
[
|
16
|
+
#[predicate, object]
|
17
|
+
['prov:context', 'public'],
|
18
|
+
['prov:source' , 'https://github.com/petervandenabeele/dbd_onto/blob/08adb5bf0ed5cd259ad4d31d9d8ebbbe230c66b1/lib/dbd_onto/provenance.rb'],
|
19
|
+
['dcterms:creator' , 'Peter Vandenabeele (@peter_v)'],
|
20
|
+
['dcterms:created', Time.new(2013,6,3,23,0,0,'+02:00').utc],
|
21
|
+
['prov:license', 'Copyright 2013 Peter Vandenabeele (http://vandenabeele.com), licensed under MIT license.']
|
22
|
+
]
|
23
|
+
end
|
24
|
+
|
25
|
+
def meta_resources
|
26
|
+
META_ATTRIBUTES.map do |attribute|
|
27
|
+
resource = Dbd::Resource.new(provenance_subject: provenance.subject)
|
28
|
+
resource << fact_defines_predicate_meta(attribute)
|
29
|
+
resource << fact_label(attribute)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def fact_defines_predicate_meta(attribute)
|
34
|
+
Dbd::Fact.new(predicate: 'meta:defines_predicate', object: "meta:#{attribute}")
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
module DbdOnto
|
2
|
+
class Provenance < Base
|
3
|
+
|
4
|
+
PROV_ATTRIBUTES = %w(context source license)
|
5
|
+
DCTERMS_ATTRIBUTES = %w(creator created)
|
6
|
+
|
7
|
+
def initialize
|
8
|
+
super
|
9
|
+
self << provenance
|
10
|
+
self << prov_resources
|
11
|
+
self << dcterms_resources
|
12
|
+
end
|
13
|
+
|
14
|
+
private
|
15
|
+
|
16
|
+
def provenance_attributes
|
17
|
+
[
|
18
|
+
#[predicate, object]
|
19
|
+
['prov:context', 'public'],
|
20
|
+
['prov:source' , 'https://github.com/petervandenabeele/dbd/blob/d37360070e7f8e61a19c2bca210c881a151ded75/docs/rationale.md'],
|
21
|
+
['dcterms:creator' , 'Peter Vandenabeele (@peter_v)'],
|
22
|
+
['dcterms:created', Time.new(2013,5,26,23,30,0,'+02:00').utc],
|
23
|
+
['prov:license', 'Copyright 2013 Peter Vandenabeele (http://vandenabeele.com), licensed under MIT license.']
|
24
|
+
]
|
25
|
+
end
|
26
|
+
|
27
|
+
def prov_resources
|
28
|
+
PROV_ATTRIBUTES.map do |attribute|
|
29
|
+
resource = Dbd::Resource.new(provenance_subject: provenance.subject)
|
30
|
+
resource << fact_defines_predicate_prov(attribute)
|
31
|
+
resource << fact_label(attribute)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# NOTE using dcterms:creator is not exact for now as the range
|
36
|
+
# should be a dcterms:Agent and it is a Literal here.
|
37
|
+
def dcterms_resources
|
38
|
+
DCTERMS_ATTRIBUTES.map do |attribute|
|
39
|
+
resource = Dbd::Resource.new(provenance_subject: provenance.subject)
|
40
|
+
resource << fact_defines_predicate_dcterms(attribute)
|
41
|
+
resource << fact_label(attribute)
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
def fact_defines_predicate_prov(attribute)
|
46
|
+
Dbd::Fact.new(predicate: 'meta:defines_predicate', object: "prov:#{attribute}")
|
47
|
+
end
|
48
|
+
|
49
|
+
def fact_defines_predicate_dcterms(attribute)
|
50
|
+
Dbd::Fact.new(predicate: 'meta:defines_predicate', object: "dcterms:#{attribute}")
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module DbdOnto
|
2
|
+
module ProvenanceMethods
|
3
|
+
|
4
|
+
def provenance
|
5
|
+
# memoize to avoid making new_provenance on each call
|
6
|
+
@provenance ||= new_provenance
|
7
|
+
end
|
8
|
+
|
9
|
+
def new_provenance
|
10
|
+
Dbd::ProvenanceResource.new.tap do |_provenance|
|
11
|
+
provenance_attributes.each do |provenance_fact_data|
|
12
|
+
_provenance << provenance_fact(provenance_fact_data)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def provenance_fact(provenance_fact_data)
|
18
|
+
Dbd::ProvenanceFact.new(
|
19
|
+
predicate: provenance_fact_data.first,
|
20
|
+
object: provenance_fact_data.last)
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
end
|
data/lib/dbd_onto.rb
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe DbdOnto::Meta do
|
4
|
+
|
5
|
+
it "is a Dbd::Graph" do
|
6
|
+
subject.should be_a(Dbd::Graph)
|
7
|
+
end
|
8
|
+
|
9
|
+
it "all facts in the provenance ontology have a provenance with context public" do
|
10
|
+
subject.all? do |fact|
|
11
|
+
fact.is_a?(Dbd::ProvenanceFact) ||
|
12
|
+
check_provenance?(subject.by_subject(fact.provenance_subject))
|
13
|
+
end.should be_true
|
14
|
+
end
|
15
|
+
|
16
|
+
def check_provenance?(provenance_facts)
|
17
|
+
provenance_facts.detect {|p| p.predicate == 'prov:context' && p.object == 'public'} &&
|
18
|
+
provenance_facts.detect {|p| p.predicate == 'prov:source'} &&
|
19
|
+
provenance_facts.detect {|p| p.predicate == 'dcterms:creator'} &&
|
20
|
+
provenance_facts.detect {|p| p.predicate == 'dcterms:created'} &&
|
21
|
+
provenance_facts.detect {|p| p.predicate == 'prov:license'}
|
22
|
+
end
|
23
|
+
|
24
|
+
describe "properties include" do
|
25
|
+
|
26
|
+
let(:meta_defines_predicate_subject) do
|
27
|
+
subject.detect do |fact|
|
28
|
+
fact.predicate == 'meta:defines_predicate' &&
|
29
|
+
fact.object == 'meta:defines_predicate'
|
30
|
+
end.subject
|
31
|
+
end
|
32
|
+
|
33
|
+
describe "meta:defines_predicate" do
|
34
|
+
|
35
|
+
let(:defines_predicate_facts) { subject.by_subject(meta_defines_predicate_subject) }
|
36
|
+
|
37
|
+
it "defines the predicate meta:defines_predicate" do
|
38
|
+
meta_defines_predicate_subject.should_not be_nil
|
39
|
+
end
|
40
|
+
|
41
|
+
it "has label 'Defines predicate'" do
|
42
|
+
defines_predicate_facts.detect do |fact|
|
43
|
+
fact.predicate == 'rdfs:label' &&
|
44
|
+
fact.object == 'Defines predicate'
|
45
|
+
end.should_not be_nil
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,105 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe DbdOnto::Provenance do
|
4
|
+
|
5
|
+
it "is a Dbd::Graph" do
|
6
|
+
subject.should be_a(Dbd::Graph)
|
7
|
+
end
|
8
|
+
|
9
|
+
it "all facts in the provenance ontology have a provenance with context public" do
|
10
|
+
subject.all? do |fact|
|
11
|
+
fact.is_a?(Dbd::ProvenanceFact) ||
|
12
|
+
check_provenance?(subject.by_subject(fact.provenance_subject))
|
13
|
+
end.should be_true
|
14
|
+
end
|
15
|
+
|
16
|
+
def check_provenance?(provenance_facts)
|
17
|
+
provenance_facts.detect {|p| p.predicate == 'prov:context' && p.object == 'public'} &&
|
18
|
+
provenance_facts.detect {|p| p.predicate == 'prov:source'} &&
|
19
|
+
provenance_facts.detect {|p| p.predicate == 'dcterms:creator'} &&
|
20
|
+
provenance_facts.detect {|p| p.predicate == 'dcterms:created'} &&
|
21
|
+
provenance_facts.detect {|p| p.predicate == 'prov:license'}
|
22
|
+
end
|
23
|
+
|
24
|
+
describe "properties include" do
|
25
|
+
|
26
|
+
let(:context_subject) do
|
27
|
+
subject.detect do |fact|
|
28
|
+
fact.predicate == 'meta:defines_predicate' &&
|
29
|
+
fact.object == 'prov:context'
|
30
|
+
end.subject
|
31
|
+
end
|
32
|
+
|
33
|
+
let(:source_subject) do
|
34
|
+
subject.detect do |fact|
|
35
|
+
fact.predicate == 'meta:defines_predicate' &&
|
36
|
+
fact.object == 'prov:source'
|
37
|
+
end.subject
|
38
|
+
end
|
39
|
+
|
40
|
+
describe "prov:subject and prov:source" do
|
41
|
+
it "are different subjects" do
|
42
|
+
context_subject.should_not == source_subject
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe "prov:context" do
|
47
|
+
|
48
|
+
let(:context_facts) { subject.by_subject(context_subject) }
|
49
|
+
|
50
|
+
it "defines the predicate prov:context" do
|
51
|
+
context_subject.should_not be_nil
|
52
|
+
end
|
53
|
+
|
54
|
+
it "has label Context" do
|
55
|
+
context_facts.detect do |fact|
|
56
|
+
fact.predicate == 'rdfs:label' &&
|
57
|
+
fact.object == 'Context'
|
58
|
+
end.should_not be_nil
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
describe "prov:source" do
|
63
|
+
|
64
|
+
let(:source_facts) { subject.by_subject(source_subject) }
|
65
|
+
|
66
|
+
it "defines the predicate prov:source" do
|
67
|
+
source_subject.should_not be_nil
|
68
|
+
end
|
69
|
+
|
70
|
+
it "has label Source" do
|
71
|
+
source_facts.detect do |fact|
|
72
|
+
fact.predicate == 'rdfs:label' &&
|
73
|
+
fact.object == 'Source'
|
74
|
+
end.should_not be_nil
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe "dcterms:creator" do
|
79
|
+
it "defines the predicate" do
|
80
|
+
subject.detect do |fact|
|
81
|
+
fact.predicate == 'meta:defines_predicate' &&
|
82
|
+
fact.object == 'dcterms:creator'
|
83
|
+
end.should_not be_nil
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
describe "dcterms:created" do
|
88
|
+
it "defines the predicate" do
|
89
|
+
subject.detect do |fact|
|
90
|
+
fact.predicate == 'meta:defines_predicate' &&
|
91
|
+
fact.object == 'dcterms:created'
|
92
|
+
end.should_not be_nil
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
describe "prov:license" do
|
97
|
+
it "defines the predicate" do
|
98
|
+
subject.detect do |fact|
|
99
|
+
fact.predicate == 'meta:defines_predicate' &&
|
100
|
+
fact.object == 'prov:license'
|
101
|
+
end.should_not be_nil
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'dbd_onto'
|
2
|
+
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
5
|
+
|
6
|
+
# Run specs in random order to surface order dependencies. If you find an
|
7
|
+
# order dependency and want to debug it, you can fix the order by providing
|
8
|
+
# the seed, which is printed after each run.
|
9
|
+
# --seed 1234
|
10
|
+
config.order = 'random'
|
11
|
+
end
|
metadata
ADDED
@@ -0,0 +1,183 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: dbd_onto
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Peter Vandenabeele
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-06-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.2.4
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.2.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: guard-rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: terminal-notifier-guard
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: yard
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rdf
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.0.6
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.0.6
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: ruby_peter_v
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.0.8
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.0.8
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: dbd
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.0.5
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.0.5
|
125
|
+
description: Ontologies for Dbd
|
126
|
+
email:
|
127
|
+
- peter@vandenabeele.com
|
128
|
+
executables: []
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files: []
|
131
|
+
files:
|
132
|
+
- .gitignore
|
133
|
+
- .rspec
|
134
|
+
- .rvmrc
|
135
|
+
- .travis.yml
|
136
|
+
- Gemfile
|
137
|
+
- Guardfile
|
138
|
+
- HISTORY.txt
|
139
|
+
- LICENSE.txt
|
140
|
+
- README.md
|
141
|
+
- Rakefile
|
142
|
+
- dbd_onto.gemspec
|
143
|
+
- lib/dbd_onto.rb
|
144
|
+
- lib/dbd_onto/base.rb
|
145
|
+
- lib/dbd_onto/fact_methods.rb
|
146
|
+
- lib/dbd_onto/meta.rb
|
147
|
+
- lib/dbd_onto/provenance.rb
|
148
|
+
- lib/dbd_onto/provenance_methods.rb
|
149
|
+
- lib/dbd_onto/version.rb
|
150
|
+
- spec/lib/dbd_onto/base_spec.rb
|
151
|
+
- spec/lib/dbd_onto/meta_spec.rb
|
152
|
+
- spec/lib/dbd_onto/provenance_spec.rb
|
153
|
+
- spec/spec_helper.rb
|
154
|
+
homepage: ''
|
155
|
+
licenses:
|
156
|
+
- MIT
|
157
|
+
metadata: {}
|
158
|
+
post_install_message:
|
159
|
+
rdoc_options: []
|
160
|
+
require_paths:
|
161
|
+
- lib
|
162
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - '>='
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0'
|
172
|
+
requirements: []
|
173
|
+
rubyforge_project:
|
174
|
+
rubygems_version: 2.0.3
|
175
|
+
signing_key:
|
176
|
+
specification_version: 4
|
177
|
+
summary: Ontologies for Dbd
|
178
|
+
test_files:
|
179
|
+
- spec/lib/dbd_onto/base_spec.rb
|
180
|
+
- spec/lib/dbd_onto/meta_spec.rb
|
181
|
+
- spec/lib/dbd_onto/provenance_spec.rb
|
182
|
+
- spec/spec_helper.rb
|
183
|
+
has_rdoc:
|