Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Alignment API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
moex
Alignment API
Commits
16bf925c
Commit
16bf925c
authored
17 years ago
by
Jean-François Djoufak Kengue
Browse files
Options
Downloads
Patches
Plain Diff
Better comparison of couple of ontologies in an iterative process
parent
291bce0c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/fr/inrialpes/exmo/align/util/GroupAlign.java
+7
-7
7 additions, 7 deletions
src/fr/inrialpes/exmo/align/util/GroupAlign.java
with
7 additions
and
7 deletions
src/fr/inrialpes/exmo/align/util/GroupAlign.java
+
7
−
7
View file @
16bf925c
...
...
@@ -273,7 +273,6 @@ public class GroupAlign {
Alignment
init
=
null
;
//OWLOntology onto1 = null;
//OWLOntology onto2 = null;
URI
uri11
=
null
;
if
(
urlprefix
!=
null
){
prefix
=
urlprefix
+
"/"
+
dir
.
getName
()+
"/"
;
...
...
@@ -292,10 +291,11 @@ public class GroupAlign {
BasicConfigurator
.
configure
();
//System.err.println("Before: uri1= "+uri1+", uri11= "+uri11);
if
(
uri1
==
null
)
{
uri1
1
=
new
URI
(
prefix
+
source
);}
else
{
uri1
1
=
uri1
;}
//
System.err.println("After: uri1= "+uri1+", uri11= "+
uri1
1)
;
if
(
uri1
==
null
)
{
uri1
=
new
URI
(
prefix
+
source
);}
if
(
source
!=
null
&&
target
!=
null
)
{
uri1
=
new
URI
(
prefix
+
source
)
;}
//
else{uri11 =
uri1;
}
URI
uri2
=
new
URI
(
prefix
+
target
);
System
.
err
.
println
(
" uri1= "
+
uri1
+
"\n uri2= "
+
uri2
);
/*
handler = new OWLRDFErrorHandler() {
...
...
@@ -315,7 +315,7 @@ public class GroupAlign {
*/
if
(
debug
>
1
)
System
.
err
.
println
(
" Handler set"
);
if
(
debug
>
1
)
System
.
err
.
println
(
" URI1: "
+
uri1
1
);
if
(
debug
>
1
)
System
.
err
.
println
(
" URI1: "
+
uri1
);
if
(
debug
>
1
)
System
.
err
.
println
(
" URI2: "
+
uri2
);
//try {
...
...
@@ -328,7 +328,7 @@ public class GroupAlign {
AlignmentParser
aparser
=
new
AlignmentParser
(
debug
-
1
);
//init = aparser.parse( initName, loadedOntologies);
init
=
aparser
.
parse
(
initName
);
uri1
1
=
init
.
getFile1
();
uri1
=
init
.
getFile1
();
uri2
=
init
.
getFile2
();
if
(
debug
>
1
)
System
.
err
.
println
(
" Init parsed"
);
}
...
...
@@ -343,7 +343,7 @@ public class GroupAlign {
java
.
lang
.
reflect
.
Constructor
alignmentConstructor
=
alignmentClass
.
getConstructor
(
cparams
);
result
=
(
AlignmentProcess
)
alignmentConstructor
.
newInstance
(
mparams
);
result
.
init
(
uri1
1
,
uri2
);
result
.
init
(
uri1
,
uri2
);
//result.setFile1(uri11);
//result.setFile2(uri2);
}
catch
(
Exception
ex
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment