Package lupos.engine.operators.rdfs.index

Examples of lupos.engine.operators.rdfs.index.RDFSRoot


      this.rootNode.sendMessage(new BoundVariablesMessage());
      final CorrectOperatorgraphRulePackage recog = new CorrectOperatorgraphRulePackage();
      recog.applyRules(this.rootNode);
      if (this.rdfs != RDFS.NONE) {
        for (final PatternMatcher zpm : this.patternMatchers) {
          final RDFSRoot ic = new RDFSRoot();
          if (this.rdfs == RDFS.RDFS || this.rdfs == RDFS.OPTIMIZEDRDFS) {
            if (this.externalOntology != null) {
              RDFSchemaInference.addInferenceRulesForInstanceData(ic,
                  zpm);
            } else {
              RDFSchemaInference.addInferenceRules(ic, zpm);
            }
          } else if (this.rdfs == RDFS.RUDIMENTARYRDFS
              || this.rdfs == RDFS.OPTIMIZEDRUDIMENTARYRDFS) {
            if (this.externalOntology != null) {
              RudimentaryRDFSchemaInference
              .addInferenceRulesForInstanceData(ic, zpm);
            } else {
              RudimentaryRDFSchemaInference
              .addInferenceRules(ic, zpm);
            }
          } else if (this.rdfs == RDFS.ALTERNATIVERDFS
              || this.rdfs == RDFS.OPTIMIZEDALTERNATIVERDFS) {
            if (this.externalOntology != null) {
              AlternativeRDFSchemaInference
              .addInferenceRulesForInstanceData(ic, zpm);
            } else {
              AlternativeRDFSchemaInference
              .addInferenceRules(ic, zpm);
            }
          }
          ic.addToPatternMatcher(zpm);
          zpm.deleteParents();
          zpm.setParents();
          zpm.detectCycles();
          zpm.sendMessage(new BoundVariablesMessage());
          if (this.externalOntology != null) {
View Full Code Here


      final List<DebugContainer<BasicOperatorByteArray>> correctOperatorGraphRules = recog
      .applyRulesDebugByteArray(this.rootNode, prefixInstance);
      correctOperatorGraphRules.add(0, dc);
      if (this.rdfs != RDFS.NONE) {
        for (final PatternMatcher zpm : this.patternMatchers) {
          final RDFSRoot ic = new RDFSRoot();
          if (this.rdfs == RDFS.RDFS || this.rdfs == RDFS.OPTIMIZEDRDFS) {
            if (this.externalOntology != null) {
              RDFSchemaInference.addInferenceRulesForInstanceData(ic,
                  zpm);
            } else {
              RDFSchemaInference.addInferenceRules(ic, zpm);
            }
          } else if (this.rdfs == RDFS.RUDIMENTARYRDFS
              || this.rdfs == RDFS.OPTIMIZEDRUDIMENTARYRDFS) {
            if (this.externalOntology != null) {
              RudimentaryRDFSchemaInference
              .addInferenceRulesForInstanceData(ic, zpm);
            } else {
              RudimentaryRDFSchemaInference
              .addInferenceRules(ic, zpm);
            }
          } else if (this.rdfs == RDFS.ALTERNATIVERDFS
              || this.rdfs == RDFS.OPTIMIZEDALTERNATIVERDFS) {
            if (this.externalOntology != null) {
              AlternativeRDFSchemaInference
              .addInferenceRulesForInstanceData(ic, zpm);
            } else {
              AlternativeRDFSchemaInference
              .addInferenceRules(ic, zpm);
            }
          }
          ic.addToPatternMatcher(zpm);
          zpm.deleteParents();
          zpm.setParents();
          zpm.detectCycles();
          zpm.sendMessage(new BoundVariablesMessage());
          correctOperatorGraphRules
View Full Code Here

TOP

Related Classes of lupos.engine.operators.rdfs.index.RDFSRoot

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.