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

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

Best Java code snippets using org.semanticweb.owlapi.model.OWLDataFactory.getOWLObjectExactCardinality (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 OWLObjectExactCardinality ObjectExactCardinality(int cardinality,
  OWLObjectPropertyExpression pe,
  OWLClassExpression ce) {
  return DF.getOWLObjectExactCardinality(cardinality, pe, ce);
}
origin: net.sourceforge.owlapi/owlapi-apibinding

public static OWLObjectExactCardinality ObjectExactCardinality(int cardinality,
  OWLObjectPropertyExpression pe,
  OWLClassExpression ce) {
  return DF.getOWLObjectExactCardinality(cardinality, pe, ce);
}
origin: owlcs/owlapi

  @Override
  public OWLObjectExactCardinality buildObject() {
    return df
      .getOWLObjectExactCardinality(cardinality, verifyNotNull(getProperty()), getRange());
  }
}
origin: net.sourceforge.owlapi/owlapi

public OWLClassExpression visit(OWLObjectExactCardinality desc) {
  if (signature.containsAll(desc.getFiller().getSignature())) {
    OWLClass name = createNewName();
    OWLClassExpression rhs = desc.getFiller().accept(this);
    axioms.add(getSCA(name, rhs));
    return df.getOWLObjectExactCardinality(desc.getCardinality(), desc.getProperty(), name);
  } else {
    return desc;
  }
}
origin: owlcs/owlapi

@Override
public void visit(OWLObjectExactCardinality ce) {
  obj = df.getOWLObjectExactCardinality(ce.getCardinality(), dup(ce.getProperty()),
    dup(ce.getFiller()));
}
origin: owlcs/owlapi

@Override
public OWLClassExpression visit(OWLObjectExactCardinality ce) {
  if (signature.containsAll(asList(ce.getFiller().signature()))) {
    OWLClass name = createNewName();
    axioms.add(getSCA(name, ce.getFiller().accept(this)));
    return ldf.getOWLObjectExactCardinality(ce.getCardinality(), ce.getProperty(),
      name);
  }
  return ce;
}
origin: owlcs/owlapi

@Override
public OWLObjectExactCardinality visit(OWLObjectExactCardinality ce) {
  return df.getOWLObjectExactCardinality(ce.getCardinality(), get(ce.getProperty()),
    get(ce.getFiller()));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public void visit(OWLObjectExactCardinality ce) {
  obj = df.getOWLObjectExactCardinality(ce.getCardinality(), dup(ce.getProperty()),
    dup(ce.getFiller()));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public OWLObjectExactCardinality visit(OWLObjectExactCardinality ce) {
  return df.getOWLObjectExactCardinality(ce.getCardinality(), t(ce.getProperty()),
          t(ce.getFiller()));
}
origin: owlcs/owlapi

@Override
public OWLObjectExactCardinality visit(OWLObjectExactCardinality ce) {
  return df.getOWLObjectExactCardinality(ce.getCardinality(), t(ce.getProperty()),
          t(ce.getFiller()));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public OWLObjectExactCardinality visit(OWLObjectExactCardinality ce) {
  return df.getOWLObjectExactCardinality(ce.getCardinality(), get(ce.getProperty()),
    get(ce.getFiller()));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public void visit(OWLObjectExactCardinality ce) {
  obj = df.getOWLObjectExactCardinality(ce.getCardinality(), dup(ce.getProperty()),
    dup(ce.getFiller()));
}
origin: owlcs/owlapi

@Override
public Object visit(OWLObjectExactCardinality ce) {
  return visit(ce,
    () -> df.getOWLObjectExactCardinality(ce.getCardinality(), t(ce.getProperty()), t(ce
      .getFiller())));
}
origin: owlcs/owlapi

 final public OWLClassExpression Exactly() throws ParseException {OWLObjectProperty prop;
  OWLClassExpression filler;
  int card;
  jj_consume_token(OPENPAR);
  jj_consume_token(EXACTLY);
  card = Integer();
  prop = RoleName();
  filler = ConceptExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLObjectExactCardinality(card, prop, filler);
}

origin: net.sourceforge.owlapi/owlapi-distribution

 final public OWLClassExpression Exactly() throws ParseException {OWLObjectProperty prop;
  OWLClassExpression filler;
  int card;
  jj_consume_token(OPENPAR);
  jj_consume_token(EXACTLY);
  card = Integer();
  prop = RoleName();
  filler = ConceptExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLObjectExactCardinality(card, prop, filler);
}

origin: net.sourceforge.owlapi/owlapi-osgidistribution

 final public OWLClassExpression Exactly() throws ParseException {OWLObjectProperty prop;
  OWLClassExpression filler;
  int card;
  jj_consume_token(OPENPAR);
  jj_consume_token(EXACTLY);
  card = Integer();
  prop = RoleName();
  filler = ConceptExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLObjectExactCardinality(card, prop, filler);
}

origin: com.github.ansell.owlapi/owlapi-parsers

final public OWLClassExpression Exactly() throws ParseException {
  OWLObjectProperty prop;
  OWLClassExpression filler;
  int card;
  jj_consume_token(OPENPAR);
  jj_consume_token(EXACTLY);
  card = Integer();
  prop = RoleName();
  filler = ConceptExpression();
  jj_consume_token(CLOSEPAR);
  return dataFactory.getOWLObjectExactCardinality(card, prop, filler);
}
origin: owlcs/owlapi

  @Override
  public OWLObjectExactCardinality translate(IRI mainNode) {
    int cardi = translateInteger(mainNode, OWL_QUALIFIED_CARDINALITY);
    IRI propertyIRI = getConsumer().getResourceObject(mainNode, OWL_ON_PROPERTY, true);
    OWLObjectPropertyExpression property = getConsumer()
      .translateObjectPropertyExpression(verifyNotNull(propertyIRI));
    IRI fillerIRI = getConsumer().getResourceObject(mainNode, OWL_ON_CLASS, true);
    OWLClassExpression filler = accessor.translateClassExpression(verifyNotNull(fillerIRI));
    return getDataFactory().getOWLObjectExactCardinality(cardi, property, filler);
  }
}
origin: net.sourceforge.owlapi/owlapi-distribution

  @Override
  public OWLObjectExactCardinality translate(IRI mainNode) {
    int cardi = translateInteger(mainNode, OWL_QUALIFIED_CARDINALITY);
    IRI propertyIRI = getConsumer().getResourceObject(mainNode, OWL_ON_PROPERTY, true);
    OWLObjectPropertyExpression property = getConsumer()
      .translateObjectPropertyExpression(verifyNotNull(propertyIRI));
    IRI fillerIRI = getConsumer().getResourceObject(mainNode, OWL_ON_CLASS, true);
    OWLClassExpression filler = accessor.translateClassExpression(verifyNotNull(fillerIRI));
    return getDataFactory().getOWLObjectExactCardinality(cardi, property, filler);
  }
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

  @Override
  public OWLObjectExactCardinality translate(IRI mainNode) {
    int cardi = translateInteger(mainNode, OWL_QUALIFIED_CARDINALITY);
    IRI propertyIRI = getConsumer().getResourceObject(mainNode, OWL_ON_PROPERTY, true);
    OWLObjectPropertyExpression property = getConsumer()
      .translateObjectPropertyExpression(verifyNotNull(propertyIRI));
    IRI fillerIRI = getConsumer().getResourceObject(mainNode, OWL_ON_CLASS, true);
    OWLClassExpression filler = accessor.translateClassExpression(verifyNotNull(fillerIRI));
    return getDataFactory().getOWLObjectExactCardinality(cardi, property, filler);
  }
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLObjectExactCardinality

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

  • Running tasks concurrently on multiple threads
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • setContentView (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
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