Tabnine Logo
OWLDataFactory.getSWRLRule
Code IndexAdd Tabnine to your IDE (free)

How to use
getSWRLRule
method
in
org.semanticweb.owlapi.model.OWLDataFactory

Best Java code snippets using org.semanticweb.owlapi.model.OWLDataFactory.getSWRLRule (Showing top 20 results out of 315)

origin: com.github.ansell.pellet/pellet-owlapiv3

public static SWRLRule rule(IRI uri, boolean anonymous, Set<? extends SWRLAtom> antecendent,
    Set<? extends SWRLAtom> consequent) {
  if( anonymous )
    return OWL.factory.getSWRLRule( antecendent, consequent );
  return OWL.factory.getSWRLRule( uri, antecendent, consequent );
}
origin: net.sourceforge.owlapi/pellet-owlapi-ignazio1977

public static SWRLRule rule(IRI uri, boolean anonymous, Set<? extends SWRLAtom> antecendent,
    Set<? extends SWRLAtom> consequent) {
  if( anonymous ) {
    return OWL.factory.getSWRLRule( antecendent, consequent );
  }
  return OWL.factory.getSWRLRule(antecendent, consequent);
}
origin: com.github.ansell.pellet/pellet-owlapiv3

public static SWRLRule rule(Set<? extends SWRLAtom> antecendent,
    Set<? extends SWRLAtom> consequent) {
  return OWL.factory.getSWRLRule( antecendent, consequent );
}
origin: com.github.ansell.pellet/pellet-owlapiv3

public static SWRLRule rule(IRI uri, Set<? extends SWRLAtom> antecendent,
    Set<? extends SWRLAtom> consequent) {
  return OWL.factory.getSWRLRule( uri, antecendent, consequent );
}

origin: com.github.ansell.pellet/pellet-owlapiv3

public static SWRLRule rule(String uri, boolean anonymous, Set<? extends SWRLAtom> antecendent,
    Set<? extends SWRLAtom> consequent) {
  if( anonymous )
    return OWL.factory.getSWRLRule( antecendent, consequent );
  return OWL.factory.getSWRLRule( IRI.create( uri ), antecendent, consequent );
}

origin: com.github.galigator.openllet/openllet-owlapi

public static SWRLRule rule(final IRI uri, final Set<? extends SWRLAtom> antecendent, final Set<? extends SWRLAtom> consequent)
{
  if (null == uri)
    return OWL._factory.getSWRLRule(antecendent, consequent);
  return OWL._factory.getSWRLRule(antecendent, consequent, Collections.singleton(labelAnnotation(uri)));
}
origin: com.github.galigator.openllet/openllet-owlapi

public static SWRLRule rule(final IRI uri, final boolean anonymous, final Set<? extends SWRLAtom> antecendent, final Set<? extends SWRLAtom> consequent)
{
  if (anonymous)
    return OWL._factory.getSWRLRule(antecendent, consequent);
  return OWL._factory.getSWRLRule(antecendent, consequent, Collections.singleton(labelAnnotation(uri)));
}
origin: Galigator/openllet

public static SWRLRule rule(final IRI uri, final boolean anonymous, final Set<? extends SWRLAtom> antecendent, final Set<? extends SWRLAtom> consequent)
{
  if (anonymous)
    return OWL._factory.getSWRLRule(antecendent, consequent);
  return OWL._factory.getSWRLRule(antecendent, consequent, Collections.singleton(labelAnnotation(uri)));
}
origin: Galigator/openllet

public static SWRLRule rule(final IRI uri, final Set<? extends SWRLAtom> antecendent, final Set<? extends SWRLAtom> consequent)
{
  if (null == uri)
    return OWL._factory.getSWRLRule(antecendent, consequent);
  return OWL._factory.getSWRLRule(antecendent, consequent, Collections.singleton(labelAnnotation(uri)));
}
origin: com.github.galigator.openllet/openllet-owlapi

public static SWRLRule rule(final String label, final boolean anonymous, final Set<? extends SWRLAtom> antecendent, final Set<? extends SWRLAtom> consequent)
{
  if (anonymous)
    return OWL._factory.getSWRLRule(antecendent, consequent);
  return OWL._factory.getSWRLRule(antecendent, consequent, Collections.singleton(labelAnnotation(label)));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

  protected SWRLRule getRule(IRI remappedNode, Set<OWLAnnotation> annotations,
    Set<SWRLAtom> consequent,
    Set<SWRLAtom> antecedent) {
    if (!consumer.isAnonymousNode(remappedNode)) {
      return consumer.getDataFactory().getSWRLRule(antecedent, consequent, annotations);
    }
    return consumer.getDataFactory().getSWRLRule(antecedent, consequent, annotations);
  }
}
origin: net.sourceforge.owlapi/owlapi-distribution

  protected SWRLRule getRule(IRI remappedNode, Set<OWLAnnotation> annotations,
    Set<SWRLAtom> consequent,
    Set<SWRLAtom> antecedent) {
    if (!consumer.isAnonymousNode(remappedNode)) {
      return consumer.getDataFactory().getSWRLRule(antecedent, consequent, annotations);
    }
    return consumer.getDataFactory().getSWRLRule(antecedent, consequent, annotations);
  }
}
origin: owlcs/owlapi

  protected SWRLRule getRule(IRI remappedNode, Set<OWLAnnotation> annotations,
    Set<SWRLAtom> consequent,
    Set<SWRLAtom> antecedent) {
    if (!consumer.isAnonymousNode(remappedNode)) {
      return consumer.getDataFactory().getSWRLRule(antecedent, consequent, annotations);
    }
    return consumer.getDataFactory().getSWRLRule(antecedent, consequent, annotations);
  }
}
origin: net.sourceforge.owlapi/owlapi-parsers

  protected SWRLRule getRule(IRI remappedNode, Set<OWLAnnotation> annotations,
    Set<SWRLAtom> consequent,
    Set<SWRLAtom> antecedent) {
    if (!consumer.isAnonymousNode(remappedNode)) {
      return consumer.getDataFactory().getSWRLRule(antecedent, consequent, annotations);
    }
    return consumer.getDataFactory().getSWRLRule(antecedent, consequent, annotations);
  }
}
origin: owlcs/owlapi

@Override
public void visit(SWRLRule rule) {
  obj = df
    .getSWRLRule(asList(rule.body().map(this::dup)), asList(rule.head().map(this::dup)));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public void visit(SWRLRule rule) {
  obj = df
    .getSWRLRule(asList(rule.body().map(this::dup)), asList(rule.head().map(this::dup)));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public void visit(SWRLRule rule) {
  obj = df
    .getSWRLRule(asList(rule.body().map(this::dup)), asList(rule.head().map(this::dup)));
}
origin: net.sourceforge.owlapi/owlapi

public SWRLRule getAxiomWithoutAnnotations() {
  if (!isAnnotated()) {
    return this;
  }
  return getOWLDataFactory().getSWRLRule(getBody(), getHead());
}
origin: owlcs/owlapi

@Override
public Object visit(SWRLRule axiom) {
  return visitAxiom(axiom,
    () -> df.getSWRLRule(t(axiom.body()), t(axiom.head()), t(axiom.annotations())));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public Object visit(SWRLRule axiom) {
  return visitAxiom(axiom,
    () -> df.getSWRLRule(t(axiom.body()), t(axiom.head()), t(axiom.annotations())));
}
org.semanticweb.owlapi.modelOWLDataFactorygetSWRLRule

Popular methods of OWLDataFactory

  • getOWLClass
    Gets an OWL class that has the specified IRI
  • getOWLNamedIndividual
    Gets an OWL individual that has the specified IRI
  • getOWLObjectProperty
    Gets an OWL object property that has the specified IRI
  • getOWLSubClassOfAxiom
  • getOWLClassAssertionAxiom
  • getOWLDataProperty
    Gets an OWL data property that has the specified IRI
  • getOWLThing
    Gets the built in owl:Thing class, which has a URI of
  • getOWLAnnotationProperty
    Gets an OWLAnnotationProperty that has the specified IRI
  • getOWLLiteral
    Convenience method that obtains a literal typed as a boolean.
  • getOWLDeclarationAxiom
    Gets a declaration with zero or more annotations for an entity
  • getOWLObjectIntersectionOf
  • getOWLEquivalentClassesAxiom
  • getOWLObjectIntersectionOf,
  • getOWLEquivalentClassesAxiom,
  • getOWLObjectSomeValuesFrom,
  • getOWLNothing,
  • getOWLObjectComplementOf,
  • getOWLObjectPropertyAssertionAxiom,
  • getOWLAnnotationAssertionAxiom,
  • getOWLDataPropertyAssertionAxiom,
  • getOWLDatatype,
  • getOWLAnnotation

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (Timer)
  • startActivity (Activity)
  • onRequestPermissionsResult (Fragment)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Socket (java.net)
    Provides a client-side TCP socket.
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now