Codota Logo
OWLDataFactory.getOWLObjectPropertyDomainAxiom
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain OWLDataFactory
private void myMethod () {
OWLDataFactory o =
  • Codota IconOWLOntologyManager manager;manager.getOWLDataFactory()
  • Codota IconOWLOntology ontology;ontology.getOWLOntologyManager().getOWLDataFactory()
  • Codota IconOWLManager.getOWLDataFactory()
  • Smart code suggestions by Codota
}
origin: owlcs/owlapi

public static OWLObjectPropertyDomainAxiom ObjectPropertyDomain(
  OWLObjectPropertyExpression property,
  OWLClassExpression domain) {
  return DF.getOWLObjectPropertyDomainAxiom(property, domain);
}
origin: net.sourceforge.owlapi/owlapi-apibinding

public static OWLObjectPropertyDomainAxiom ObjectPropertyDomain(
  OWLObjectPropertyExpression property,
  OWLClassExpression domain, Collection<OWLAnnotation> a) {
  return DF.getOWLObjectPropertyDomainAxiom(property, domain, a);
}
origin: net.sourceforge.owlapi/owlapi-distribution

public static OWLObjectPropertyDomainAxiom ObjectPropertyDomain(
  OWLObjectPropertyExpression property,
  OWLClassExpression domain) {
  return DF.getOWLObjectPropertyDomainAxiom(property, domain);
}
origin: net.sourceforge.owlapi/owlapi-apibinding

public static OWLObjectPropertyDomainAxiom ObjectPropertyDomain(
  OWLObjectPropertyExpression property,
  OWLClassExpression domain) {
  return DF.getOWLObjectPropertyDomainAxiom(property, domain);
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

public static OWLObjectPropertyDomainAxiom ObjectPropertyDomain(
  OWLObjectPropertyExpression property,
  OWLClassExpression domain) {
  return DF.getOWLObjectPropertyDomainAxiom(property, domain);
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

public static OWLObjectPropertyDomainAxiom ObjectPropertyDomain(
  OWLObjectPropertyExpression property,
  OWLClassExpression domain, Collection<OWLAnnotation> a) {
  return DF.getOWLObjectPropertyDomainAxiom(property, domain, a);
}
origin: owlcs/owlapi

  @Override
  public OWLObjectPropertyDomainAxiom buildObject() {
    return df.getOWLObjectPropertyDomainAxiom(getProperty(), getDomain(), annotations);
  }
}
origin: owlcs/owlapi

@Override
public OWLAxiom visit(OWLObjectPropertyDomainAxiom axiom) {
  OWLClassExpression domain = axiom.getDomain();
  OWLClassExpression newDomain = domain.accept(classVisitor);
  if (domain.equals(newDomain)) {
    return axiom;
  }
  return df.getOWLObjectPropertyDomainAxiom(axiom.getProperty(), newDomain,
    getAnnotationsWithOptionalExpansionMarker(axiom));
}
origin: owlcs/owlapi

@Override
public OWLAxiom visit(OWLObjectPropertyDomainAxiom axiom) {
  return df.getOWLObjectPropertyDomainAxiom(axiom.getProperty(),
    axiom.getDomain().accept(classVisitor));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public OWLAxiom visit(OWLObjectPropertyDomainAxiom axiom) {
  return df.getOWLObjectPropertyDomainAxiom(axiom.getProperty(),
    axiom.getDomain().accept(classVisitor));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public OWLAxiom visit(OWLObjectPropertyDomainAxiom axiom) {
  return df.getOWLObjectPropertyDomainAxiom(axiom.getProperty(),
    axiom.getDomain().accept(classVisitor));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public OWLAxiom visit(OWLObjectPropertyDomainAxiom axiom) {
  OWLClassExpression domain = axiom.getDomain();
  OWLClassExpression newDomain = domain.accept(classVisitor);
  if (domain.equals(newDomain)) {
    return axiom;
  }
  return df.getOWLObjectPropertyDomainAxiom(axiom.getProperty(), newDomain,
    getAnnotationsWithOptionalExpansionMarker(axiom));
}
origin: net.sourceforge.owlapi/owlapi

public OWLObjectPropertyDomainAxiom getAxiomWithoutAnnotations() {
  if(!isAnnotated()) {
    return this;
  }
  return getOWLDataFactory().getOWLObjectPropertyDomainAxiom(getProperty(), getDomain());
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public OWLObjectPropertyDomainAxiom visit(OWLObjectPropertyDomainAxiom axiom) {
  return df.getOWLObjectPropertyDomainAxiom(get(axiom.getProperty()), get(axiom.getDomain()),
    anns(axiom));
}
origin: net.sourceforge.owlapi/owlapi-distribution

  private void translateObjectPropertyDomain(IRI s, IRI p, IRI o) {
    add(df.getOWLObjectPropertyDomainAxiom(op(s), ce(o), anns()));
    consume(s, p, o);
  }
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public void visit(OWLObjectPropertyDomainAxiom ax) {
  obj = df
    .getOWLObjectPropertyDomainAxiom(dup(ax.getProperty()), dup(ax.getDomain()), anns(ax));
}
origin: owlcs/owlapi

 final public OWLPropertyAxiom ObjectPropertyDomain() throws ParseException {OWLObjectPropertyExpression prop;
  OWLClassExpression desc;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(OBJECTPROPERTYDOMAIN);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = ObjectPropertyExpression();
  desc = ClassExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLObjectPropertyDomainAxiom(prop, desc, axiomAnnos);
}

origin: net.sourceforge.owlapi/owlapi-parsers

 final public OWLPropertyAxiom ObjectPropertyDomain() throws ParseException {OWLObjectPropertyExpression prop;
  OWLClassExpression desc;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(OBJECTPROPERTYDOMAIN);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = ObjectPropertyExpression();
  desc = ClassExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLObjectPropertyDomainAxiom(prop, desc, axiomAnnos);
}

origin: owlcs/owlapi

@Override
public Object visit(OWLObjectPropertyDomainAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLObjectPropertyDomainAxiom(t(axiom.getProperty()), t(axiom
      .getDomain()), t(axiom.annotations())));
}
origin: owlcs/owlapi

  @Override
  public void handle(String currentId, String value, String qualifierBlock, String comment) {
    OWLObjectProperty prop = getOWLObjectProperty(getConsumer().getCurrentId());
    OWLClass cls = getOWLClass(value);
    applyChange(new AddAxiom(getOntology(),
      getDataFactory().getOWLObjectPropertyDomainAxiom(prop, cls)));
  }
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLObjectPropertyDomainAxiom

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

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now