congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
OWLDataFactory.getOWLHasKeyAxiom
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: owlcs/owlapi

public static OWLHasKeyAxiom HasKey(OWLClassExpression classExpression,
  OWLPropertyExpression... propertyExpressions) {
  return DF.getOWLHasKeyAxiom(classExpression, propertyExpressions);
}
origin: owlcs/owlapi

public static OWLHasKeyAxiom HasKey(Collection<OWLAnnotation> a,
  OWLClassExpression classExpression,
  OWLPropertyExpression... propertyExpressions) {
  return DF.getOWLHasKeyAxiom(classExpression, Arrays.asList(propertyExpressions), a);
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public OWLHasKeyAxiom buildObject() {
  return df.getOWLHasKeyAxiom(getClassExpression(), items, annotations);
}
origin: protegeproject/protege

protected OWLHasKeyAxiom createAxiom(Set<OWLPropertyExpression> properties) {
  /*
   * Degenericized to be compatible with changing OWLAPI interfaces
   */
  return getOWLDataFactory().getOWLHasKeyAxiom(getRootObject(), (Set) properties);
}
origin: edu.stanford.protege/org.protege.editor.owl

protected OWLHasKeyAxiom createAxiom(Set<OWLPropertyExpression> properties) {
  /*
   * Degenericized to be compatible with changing OWLAPI interfaces
   */
  return getOWLDataFactory().getOWLHasKeyAxiom(getRootObject(), (Set) properties);
}
origin: protegeproject/protege

protected OWLHasKeyAxiom createAxiom(Set<OWLPropertyExpression> properties) {
  /*
   * Degenericized to be compatible with changing OWLAPI interfaces
   */
  return getOWLDataFactory().getOWLHasKeyAxiom(getRootObject(), (Set) properties);
}
origin: net.sourceforge.owlapi/owlapi

public OWLHasKeyAxiom getAxiomWithoutAnnotations() {
  if(!isAnnotated()) {
    return this;
  }
  return getOWLDataFactory().getOWLHasKeyAxiom(getClassExpression(), getPropertyExpressions());
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public OWLHasKeyAxiom visit(OWLHasKeyAxiom axiom) {
  return df
    .getOWLHasKeyAxiom(get(axiom.getClassExpression()), list(axiom.propertyExpressions()),
      anns(axiom));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public void visit(OWLHasKeyAxiom ax) {
  obj = df.getOWLHasKeyAxiom(dup(ax.getClassExpression()), set(ax.propertyExpressions()),
    anns(ax));
}
origin: owlcs/owlapi

@Override
public OWLHasKeyAxiom visit(OWLHasKeyAxiom axiom) {
  return df
    .getOWLHasKeyAxiom(get(axiom.getClassExpression()), list(axiom.propertyExpressions()),
      anns(axiom));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public OWLHasKeyAxiom visit(OWLHasKeyAxiom ax) {
  return df.getOWLHasKeyAxiom(t(ax.getClassExpression()), list(ax.propertyExpressions()),
          a(ax));
}
origin: liveontologies/elk-reasoner

@Override
public OWLHasKeyAxiom visit(ElkHasKeyAxiom axiom) {
  return owlFactory_.getOWLHasKeyAxiom(
      convert(axiom.getClassExpression()),
      toPropertyExpressionSet(axiom.getObjectPropertyExpressions(),
          axiom.getDataPropertyExpressions()));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public OWLHasKeyAxiom visit(OWLHasKeyAxiom axiom) {
  return df
    .getOWLHasKeyAxiom(get(axiom.getClassExpression()), list(axiom.propertyExpressions()),
      anns(axiom));
}
origin: liveontologies/elk-reasoner

@Override
public OWLHasKeyAxiom visit(ElkHasKeyAxiom axiom) {
  return owlFactory_.getOWLHasKeyAxiom(
      convert(axiom.getClassExpression()),
      toPropertyExpressionSet(axiom.getObjectPropertyExpressions(),
          axiom.getDataPropertyExpressions()));
}
origin: owlcs/owlapi

@Override
public OWLHasKeyAxiom visit(OWLHasKeyAxiom ax) {
  return df.getOWLHasKeyAxiom(t(ax.getClassExpression()), list(ax.propertyExpressions()),
          a(ax));
}
origin: net.sourceforge.owlapi/owlapi

  public void handleTriple(IRI subject, IRI predicate, IRI object) throws UnloadableImportException {
    consumeTriple(subject, predicate, object);
    OWLClassExpression ce = translateClassExpression(subject);
    Set<OWLPropertyExpression> props = listTranslator.translateToSet(object);
    addAxiom(getDataFactory().getOWLHasKeyAxiom(ce, props, getPendingAnnotations()));
  }
}
origin: net.sourceforge.owlapi/owlapi-distribution

  @Override
  public void handleTriple(IRI s, IRI p, IRI o) {
    if (isCe(s)) {
      consume(s, p, o);
      OWLClassExpression ce = ce(s);
      Set<OWLPropertyExpression> props = listTranslator.translateToSet(o);
      add(df.getOWLHasKeyAxiom(ce, props, anns()));
    }
  }
}
origin: owlcs/owlapi

  @Override
  public void handleTriple(IRI s, IRI p, IRI o) {
    if (isCe(s)) {
      consume(s, p, o);
      OWLClassExpression ce = ce(s);
      Set<OWLPropertyExpression> props = listTranslator.translateToSet(o);
      add(df.getOWLHasKeyAxiom(ce, props, anns()));
    }
  }
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public Object visit(OWLHasKeyAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLHasKeyAxiom(t(axiom.getClassExpression()), t(axiom
      .propertyExpressions()), t(axiom.annotations())));
}
origin: com.github.ansell.owlapi/owlapi-parsers

  @Override
  public void handleTriple(IRI subject, IRI predicate, IRI object) throws UnloadableImportException {
    if (getConsumer().isClassExpression(subject)) {
      consumeTriple(subject, predicate, object);
      OWLClassExpression ce = translateClassExpression(subject);

      Set<OWLPropertyExpression<?,?>> props = listTranslator.translateToSet(object);
      addAxiom(getDataFactory().getOWLHasKeyAxiom(ce, props, getPendingAnnotations()));
    }
  }
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLHasKeyAxiom

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

  • Finding current android device location
  • setContentView (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSharedPreferences (Context)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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