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

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

Best Java code snippets using org.semanticweb.owlapi.model.OWLDataFactory.getOWLObjectPropertyRangeAxiom (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: com.github.ansell.owlapi/owlapi-parsers

@Override
public OWLAxiom createAxiom(OWLObjectProperty s, OWLClassExpression o,
    Set<OWLAnnotation> anns) {
  return dataFactory.getOWLObjectPropertyRangeAxiom(s, o, anns);
}
origin: owlcs/owlapi

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

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

@Override
public OWLAxiom visit(OWLObjectPropertyRangeAxiom axiom) {
  return df.getOWLObjectPropertyRangeAxiom(axiom.getProperty(),
    axiom.getRange().accept(classVisitor));
}
origin: net.sourceforge.owlapi/owlapi-oboformat

@Override
public OWLAxiom visit(OWLObjectPropertyRangeAxiom axiom) {
  OWLClassExpression range = axiom.getRange();
  OWLClassExpression newRange = range.accept(classVisitor);
  if (range.equals(newRange)) {
    return axiom;
  }
  return df.getOWLObjectPropertyRangeAxiom(axiom.getProperty(), newRange,
    getAnnotationsWithOptionalExpansionMarker(axiom));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public OWLAxiom visit(OWLObjectPropertyRangeAxiom axiom) {
  OWLClassExpression range = axiom.getRange();
  OWLClassExpression newRange = range.accept(classVisitor);
  if (range.equals(newRange)) {
    return axiom;
  }
  return df.getOWLObjectPropertyRangeAxiom(axiom.getProperty(), newRange,
    getAnnotationsWithOptionalExpansionMarker(axiom));
}
origin: net.sourceforge.owlapi/owlapi

public OWLObjectPropertyRangeAxiom getAxiomWithoutAnnotations() {
  if(!isAnnotated()) {
    return this;
  }
  return getOWLDataFactory().getOWLObjectPropertyRangeAxiom(getProperty(), getRange());
}
origin: owlcs/owlapi

@Override
public void visit(OWLObjectPropertyRangeAxiom ax) {
  obj = df
    .getOWLObjectPropertyRangeAxiom(dup(ax.getProperty()), dup(ax.getRange()), anns(ax));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
public void visit(OWLObjectPropertyRangeAxiom ax) {
  obj = df
    .getOWLObjectPropertyRangeAxiom(dup(ax.getProperty()), dup(ax.getRange()), anns(ax));
}
origin: net.sourceforge.owlapi/owlapi

public void visit(OWLObjectPropertyRangeAxiom axiom) {
  axiom.getProperty().accept(this);
  OWLObjectPropertyExpression prop = (OWLObjectPropertyExpression) obj;
  axiom.getRange().accept(this);
  OWLClassExpression range = (OWLClassExpression) obj;
  obj = dataFactory.getOWLObjectPropertyRangeAxiom(prop, range, duplicateAxiomAnnotations(axiom));
}
origin: owlcs/owlapi

@Override
public OWLObjectPropertyRangeAxiom visit(OWLObjectPropertyRangeAxiom axiom) {
  return df.getOWLObjectPropertyRangeAxiom(get(axiom.getProperty()), get(axiom.getRange()),
    anns(axiom));
}
origin: net.sourceforge.owlapi/owlapi-parsers

  private void translateAsObjectPropertyRange(IRI s, IRI p, IRI o) {
    OWLObjectPropertyExpression property = op(s);
    OWLClassExpression range = ce(o);
    add(df.getOWLObjectPropertyRangeAxiom(property, range, anns()));
    consume(s, p, o);
  }
}
origin: owlcs/owlapi

 final public void Range() throws ParseException, KRSS2OWLParserException {OWLObjectProperty prop;
  OWLClassExpression rng;
  jj_consume_token(OPENPAR);
  jj_consume_token(RANGE);
  prop = RoleName();
  rng = ConceptExpression();
  jj_consume_token(CLOSEPAR);
addAxiom( df.getOWLObjectPropertyRangeAxiom(prop, rng));
}

origin: owlcs/owlapi

 final public OWLPropertyAxiom ObjectPropertyRange() throws ParseException {OWLObjectPropertyExpression prop;
  OWLClassExpression range;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(OBJECTPROPERTYRANGE);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = ObjectPropertyExpression();
  range = ClassExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLObjectPropertyRangeAxiom(prop, range, axiomAnnos);
}

origin: net.sourceforge.owlapi/owlapi-distribution

 final public void Range() throws ParseException, KRSS2OWLParserException {OWLObjectProperty prop;
  OWLClassExpression rng;
  jj_consume_token(OPENPAR);
  jj_consume_token(RANGE);
  prop = RoleName();
  rng = ConceptExpression();
  jj_consume_token(CLOSEPAR);
addAxiom( df.getOWLObjectPropertyRangeAxiom(prop, rng));
}

origin: net.sourceforge.owlapi/owlapi-distribution

 final public OWLPropertyAxiom ObjectPropertyRange() throws ParseException {OWLObjectPropertyExpression prop;
  OWLClassExpression range;
  Set<OWLAnnotation> axiomAnnos;
  jj_consume_token(OBJECTPROPERTYRANGE);
  jj_consume_token(OPENPAR);
  axiomAnnos = AxiomAnnotationSet();
  prop = ObjectPropertyExpression();
  range = ClassExpression();
  jj_consume_token(CLOSEPAR);
return df.getOWLObjectPropertyRangeAxiom(prop, range, axiomAnnos);
}

origin: net.sourceforge.owlapi/owlapi-krss

final public void Range() throws ParseException, KRSS2OWLParserException {
 OWLObjectProperty prop;
 OWLClassExpression rng;
 jj_consume_token(OPENPAR);
 jj_consume_token(RANGE);
 prop = RoleName();
 rng = ConceptExpression();
 jj_consume_token(CLOSEPAR);
   addAxiom( dataFactory.getOWLObjectPropertyRangeAxiom(prop, rng));
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

 final public void Range() throws ParseException, KRSS2OWLParserException {OWLObjectProperty prop;
  OWLClassExpression rng;
  jj_consume_token(OPENPAR);
  jj_consume_token(RANGE);
  prop = RoleName();
  rng = ConceptExpression();
  jj_consume_token(CLOSEPAR);
addAxiom( df.getOWLObjectPropertyRangeAxiom(prop, rng));
}

origin: owlcs/owlapi

@Override
public Object visit(OWLObjectPropertyRangeAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLObjectPropertyRangeAxiom(t(axiom.getProperty()), t(axiom
      .getRange()), t(axiom.annotations())));
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public Object visit(OWLObjectPropertyRangeAxiom axiom) {
  return visitAxiom(axiom,
    () -> df.getOWLObjectPropertyRangeAxiom(t(axiom.getProperty()), t(axiom
      .getRange()), t(axiom.annotations())));
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLObjectPropertyRangeAxiom

Popular methods of OWLDataFactory

  • getOWLClass
  • getOWLNamedIndividual
  • getOWLObjectProperty
  • getOWLSubClassOfAxiom
  • getOWLClassAssertionAxiom
  • getOWLDataProperty
  • getOWLThing
  • getOWLAnnotationProperty
  • getOWLLiteral
  • 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
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (Timer)
  • getExternalFilesDir (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    This mapper (or, data binder, or codec) provides functionality for converting between Java objects (
  • Menu (java.awt)
  • String (java.lang)
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • JList (javax.swing)
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