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
eb97d214
Commit
eb97d214
authored
13 years ago
by
Jérôme Euzenat
Browse files
Options
Downloads
Patches
Plain Diff
- translated composition by propertyChainAxioms
parent
b94710e6
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/impl/renderer/OWLAxiomsRendererVisitor.java
+7
-2
7 additions, 2 deletions
...es/exmo/align/impl/renderer/OWLAxiomsRendererVisitor.java
with
7 additions
and
2 deletions
src/fr/inrialpes/exmo/align/impl/renderer/OWLAxiomsRendererVisitor.java
+
7
−
2
View file @
eb97d214
...
@@ -711,6 +711,7 @@ public class OWLAxiomsRendererVisitor extends IndentedRendererVisitor implements
...
@@ -711,6 +711,7 @@ public class OWLAxiomsRendererVisitor extends IndentedRendererVisitor implements
increaseIndent
();
increaseIndent
();
final
Constructor
op
=
e
.
getOperator
();
final
Constructor
op
=
e
.
getOperator
();
String
owlop
=
null
;
String
owlop
=
null
;
if
(
op
==
Constructor
.
COMP
)
owlop
=
"propertyChainAxiom"
;
// JE: FOR TESTING
// JE: FOR TESTING
//owlop = "FORTESTING("+op.name()+")";
//owlop = "FORTESTING("+op.name()+")";
if
(
owlop
==
null
)
throw
new
AlignmentException
(
"Cannot translate property construction in OWL : "
+
op
);
if
(
owlop
==
null
)
throw
new
AlignmentException
(
"Cannot translate property construction in OWL : "
+
op
);
...
@@ -861,7 +862,7 @@ public class OWLAxiomsRendererVisitor extends IndentedRendererVisitor implements
...
@@ -861,7 +862,7 @@ public class OWLAxiomsRendererVisitor extends IndentedRendererVisitor implements
* closure and the compositional closure (or composition) can only be obtained by
* closure and the compositional closure (or composition) can only be obtained by
* defining a property subsumed by this closure through an axiom.
* defining a property subsumed by this closure through an axiom.
* It is also possible to rewrite the reflexive closures as axioms as well.
* It is also possible to rewrite the reflexive closures as axioms as well.
* But the transitive closure can only be obtained through subsuption.
* But the transitive closure can only be obtained through subsu
m
ption.
*/
*/
public
void
visit
(
final
RelationConstruction
e
)
throws
AlignmentException
{
public
void
visit
(
final
RelationConstruction
e
)
throws
AlignmentException
{
Relation
toProcessNext
=
toProcess
;
Relation
toProcessNext
=
toProcess
;
...
@@ -870,7 +871,11 @@ public class OWLAxiomsRendererVisitor extends IndentedRendererVisitor implements
...
@@ -870,7 +871,11 @@ public class OWLAxiomsRendererVisitor extends IndentedRendererVisitor implements
increaseIndent
();
increaseIndent
();
final
Constructor
op
=
e
.
getOperator
();
final
Constructor
op
=
e
.
getOperator
();
String
owlop
=
null
;
String
owlop
=
null
;
if
(
op
==
Constructor
.
INVERSE
)
owlop
=
"owl:inverseOf"
;
if
(
op
==
Constructor
.
INVERSE
)
{
owlop
=
"inverseOf"
;
}
else
if
(
op
==
Constructor
.
COMP
)
{
owlop
=
"propertyChainAxiom"
;
}
// JE: FOR TESTING
// JE: FOR TESTING
//owlop = "FORTESTING("+op.name()+")";
//owlop = "FORTESTING("+op.name()+")";
if
(
owlop
==
null
)
throw
new
AlignmentException
(
"Cannot translate relation construction in OWL : "
+
op
);
if
(
owlop
==
null
)
throw
new
AlignmentException
(
"Cannot translate relation construction in OWL : "
+
op
);
...
...
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