Commit 7bd30a37 authored by R.W.Majeed's avatar R.W.Majeed

derive hasPart from isPartOf

parent 665e0a60
......@@ -175,6 +175,7 @@ public class Store implements Ontology, Plugin {
inferred += inferInverseRelations(SKOS.TOP_CONCEPT_OF, SKOS.HAS_TOP_CONCEPT);
inferred += inferInverseRelations(SKOS.BROADER, SKOS.NARROWER);
inferred += inferInverseRelations(SKOS.NARROWER, SKOS.BROADER);
inferred += inferInverseRelations(HIStreamOntology.DWH_IS_PART_OF, HIStreamOntology.DWH_HAS_PART);
// TODO a isPartOf b -> b hasPart a
if( inferred != 0 ){
log.fine("Inferred "+inferred+" statements.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment