ontomde-uml2-kb 1.0.4

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.
data/History.txt ADDED
@@ -0,0 +1,13 @@
1
+ == 0.9.0 /2007-12-01
2
+ * First public release
3
+ * package renamed from xMDA to ontoMDE
4
+
5
+ == 0.3.0 / 2007-03-01
6
+ * use case support added
7
+
8
+ == 0.2.0 / 2007-02-01
9
+ * finalized version
10
+
11
+ == 0.1.0 / 2006-02-01
12
+ * initial working prototype
13
+
data/Manifest.txt ADDED
@@ -0,0 +1,14 @@
1
+ History.txt
2
+ Manifest.txt
3
+ README.txt
4
+ Rakefile
5
+ lib/ontomde-uml2-kb/MYMODEL_kb.pprj
6
+ lib/ontomde-uml2-kb/MYMODEL_kb.rdf
7
+ lib/ontomde-uml2-kb/MYMODEL_kb.rdfs
8
+ lib/ontomde-uml2-kb.rb
9
+ lib/ontomde-uml2-kb/version.rb
10
+ lib/ontomde-uml2-kb/protege.rb
11
+ lib/ontomde-uml2-kb/command.rb
12
+ lib/ontomde-uml2-kb/datatypeMapping.rb
13
+ test/test_ontomde-uml2-kb.rb
14
+ bin/ontomde-umlToProtege
data/README.txt ADDED
@@ -0,0 +1,73 @@
1
+ ontomde-uml2-kb
2
+ by stephane (pierre) Carrie
3
+ http://ontomde.rubyforge.org/
4
+
5
+ == DESCRIPTION:
6
+
7
+ Converts a UML2 model into a Prot�g� 2000 RDF/RDFS model.
8
+
9
+ UML2 classes are converted into RDFS classes to allow data instances to be created.
10
+
11
+ This tool is primarily used to create data test editors.
12
+
13
+ == FEATURES/PROBLEMS:
14
+
15
+ This Protege 2000 export tool supports:
16
+ * single and incremental use.
17
+ * transparent update of name changes from source to target mode.
18
+ * class
19
+ * abstract class
20
+ * interface
21
+ * enumerated types
22
+ * generalization links
23
+ * implementation links
24
+ * property, association, composition and aggregation
25
+ * single and multivalued properties
26
+ * mandatory fields (cardinaly=0 or >0)
27
+ * UML documentation notes export to Protege 2000 for easy reference.
28
+
29
+ == SYNOPSIS:
30
+
31
+ * Create a UML2 model with your case tool.
32
+ * Serialize this model to a RDF file using ontoMDA plugin.
33
+ * Run ontomde command:
34
+
35
+ $ ontomde-uml2-kb --nt myUMLModel.nt
36
+
37
+ This command has generated a prot�g� 2000 project.
38
+ * Open file myUMLModel.nt.pprj with Prot�g�2000.
39
+ * Populate your Prot�g� 2000 project with your test data.
40
+
41
+ You may then use ontomde-uml2-kbjava (trough ontomde-java-frontend) and generate junit tests skeleton with the test data created in the Prot�g� model.
42
+
43
+
44
+ == REQUIREMENTS:
45
+
46
+ REDLAND library is used to convert from Prot�g� 2000 RDF/XML and ontoMDE RDF/ntriples formats. ontoMDE is bundled with REDLAND for windows. Linux users will need to install REDLAND rapper command.
47
+
48
+ == INSTALL:
49
+
50
+ * (windows) gem install ontomde-uml2-kb
51
+ * (unix) sudo gem install ontomde-uml2-kb
52
+ * (unix) install REDLAND
53
+
54
+ Additional information is available on ontoMDE web site :
55
+ http://ontomde.rubyforge.org/website/download.html
56
+ == LICENSE:
57
+
58
+ Copyright (C) 2008 Orange-labs
59
+ 38 rue General Leclerc
60
+ 92130 ISSY LES MOULINEAUX, France
61
+
62
+ This program is free software: you can redistribute it and/or modify
63
+ it under the terms of the GNU Affero General Public License as
64
+ published by the Free Software Foundation, either version 3 of the
65
+ License, or (at your option) any later version.
66
+
67
+ This program is distributed in the hope that it will be useful,
68
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
69
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
70
+ GNU Affero General Public License for more details.
71
+
72
+ You should have received a copy of the GNU Affero General Public License
73
+ along with this program. If not, see http://www.gnu.org/licenses/.
data/Rakefile ADDED
@@ -0,0 +1,21 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'hoe'
5
+ require './lib/ontomde-uml2-kb/version.rb'
6
+
7
+ Hoe.new('ontomde-uml2-kb', Ontomde::Uml2::Kb::VERSION) do |p|
8
+ p.rubyforge_name = 'ontomde'
9
+ p.author = 'Stephane (Pierre) Carrie'
10
+ p.email = 'stephanepierre.carrie@orange-ftgroup.com'
11
+ p.summary = 'OntoMDE UML2 / protege2000integration cartridge'
12
+ p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
13
+ p.url="http://ontomde.rubyforge.org"
14
+ p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
15
+ p.extra_deps=[
16
+ [ 'ontomde-uml2', "= #{Ontomde::Uml2::Kb::VERSION}" ]
17
+ ]
18
+ p.spec_extras={ :required_ruby_version => '>=1.8.6' ,:required_rubygems_version => '>=1.0.0'}
19
+ end
20
+
21
+ # vim: syntax=Ruby
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'ontomde-uml2-kb'
4
+ require 'ontomde-uml2-kb/command.rb'