Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Raphael
histream
Commits
7bd30a37
Commit
7bd30a37
authored
May 26, 2017
by
R.W.Majeed
Browse files
derive hasPart from isPartOf
parent
665e0a60
Changes
1
Show whitespace changes
Inline
Side-by-side
histream-skos/src/main/java/de/sekmi/histream/ontology/skos/Store.java
View file @
7bd30a37
...
@@ -175,6 +175,7 @@ public class Store implements Ontology, Plugin {
...
@@ -175,6 +175,7 @@ public class Store implements Ontology, Plugin {
inferred
+=
inferInverseRelations
(
SKOS
.
TOP_CONCEPT_OF
,
SKOS
.
HAS_TOP_CONCEPT
);
inferred
+=
inferInverseRelations
(
SKOS
.
TOP_CONCEPT_OF
,
SKOS
.
HAS_TOP_CONCEPT
);
inferred
+=
inferInverseRelations
(
SKOS
.
BROADER
,
SKOS
.
NARROWER
);
inferred
+=
inferInverseRelations
(
SKOS
.
BROADER
,
SKOS
.
NARROWER
);
inferred
+=
inferInverseRelations
(
SKOS
.
NARROWER
,
SKOS
.
BROADER
);
inferred
+=
inferInverseRelations
(
SKOS
.
NARROWER
,
SKOS
.
BROADER
);
inferred
+=
inferInverseRelations
(
HIStreamOntology
.
DWH_IS_PART_OF
,
HIStreamOntology
.
DWH_HAS_PART
);
// TODO a isPartOf b -> b hasPart a
// TODO a isPartOf b -> b hasPart a
if
(
inferred
!=
0
){
if
(
inferred
!=
0
){
log
.
fine
(
"Inferred "
+
inferred
+
" statements."
);
log
.
fine
(
"Inferred "
+
inferred
+
" statements."
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment