All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.swrlapi.drools.extractors.DroolsSWRLVariableExtractor Maven / Gradle / Ivy

There is a newer version: 2.1.2
Show newest version
package org.swrlapi.drools.extractors;

import org.checkerframework.checker.nullness.qual.NonNull;
import org.semanticweb.owlapi.model.IRI;
import org.swrlapi.bridge.SWRLRuleEngineBridge;
import org.swrlapi.bridge.extractors.TargetRuleEngineExtractorBase;
import org.swrlapi.exceptions.TargetSWRLRuleEngineException;

/**
 * @see org.semanticweb.owlapi.model.SWRLVariable
 */
public class DroolsSWRLVariableExtractor extends TargetRuleEngineExtractorBase
{
  public DroolsSWRLVariableExtractor(@NonNull SWRLRuleEngineBridge bridge)
  {
    super(bridge);
  }

  @NonNull public IRI variableName2VariableIRI(@NonNull String variableName) throws TargetSWRLRuleEngineException
  {
    String variablePrefixedName = variableName;

    return prefixedName2IRI(variablePrefixedName);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy