congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
OWLDataFactory.getBooleanOWLDatatype
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: net.sourceforge.owlapi/owlapi-distribution

public static OWLDatatype Boolean() {
  return DF.getBooleanOWLDatatype();
}
origin: owlcs/owlapi

public static OWLDatatype Boolean() {
  return DF.getBooleanOWLDatatype();
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

public static OWLDatatype Boolean() {
  return DF.getBooleanOWLDatatype();
}
origin: net.sourceforge.owlapi/owlapi-apibinding

public static OWLDatatype Boolean() {
  return DF.getBooleanOWLDatatype();
}
origin: SmartDataAnalytics/DL-Learner

private OWLDataRange asDataOneOf(OWLDataFactory df, Set<Literal> literals){
  //return Boolean datatype because it doesn't make sense to return a enumeration of Boolean values
  if(getOWLDatatype(df, literals).equals(df.getBooleanOWLDatatype())){
    return df.getBooleanOWLDatatype();
  }
  return df.getOWLDataOneOf(asOWLLiterals(df, literals));
}

origin: SmartDataAnalytics/DL-Learner

private OWLDataRange asDataOneOf(OWLDataFactory df, Set<Literal> literals){
  //return Boolean datatype because it doesn't make sense to return a enumeration of Boolean values
  if(getOWLDatatype(df, literals).equals(df.getBooleanOWLDatatype())){
    return df.getBooleanOWLDatatype();
  }
  return df.getOWLDataOneOf(asOWLLiterals(df, literals));
}

origin: SmartDataAnalytics/DL-Learner

private OWLDataRange asMaxFacet(OWLDataFactory df, Set<Literal> literals){
  //return Boolean datatype because it doesn't make sense to return a facet of Boolean values
  if(getOWLDatatype(df, literals).equals(df.getBooleanOWLDatatype())){
    return df.getBooleanOWLDatatype();
  }
  Literal max = getMax(literals);
  
  OWLFacetRestriction maxRestriction = df.getOWLFacetRestriction(OWLFacet.MAX_INCLUSIVE, asOWLLiteral(df, max));
  
  return df.getOWLDatatypeRestriction(getOWLDatatype(df, literals), maxRestriction);
}

origin: SmartDataAnalytics/DL-Learner

private OWLDataRange asMaxFacet(OWLDataFactory df, Set<Literal> literals){
  //return Boolean datatype because it doesn't make sense to return a facet of Boolean values
  if(getOWLDatatype(df, literals).equals(df.getBooleanOWLDatatype())){
    return df.getBooleanOWLDatatype();
  }
  Literal max = getMax(literals);
  
  OWLFacetRestriction maxRestriction = df.getOWLFacetRestriction(OWLFacet.MAX_INCLUSIVE, asOWLLiteral(df, max));
  
  return df.getOWLDatatypeRestriction(getOWLDatatype(df, literals), maxRestriction);
}

origin: SmartDataAnalytics/DL-Learner

private OWLDataRange asMinFacet(OWLDataFactory df, Set<Literal> literals){
  //return Boolean datatype because it doesn't make sense to return a facet of Boolean values
  if(getOWLDatatype(df, literals).equals(df.getBooleanOWLDatatype())){
    return df.getBooleanOWLDatatype();
  }
  Literal min = getMin(literals);
  
  OWLFacetRestriction minRestriction = df.getOWLFacetRestriction(OWLFacet.MIN_INCLUSIVE, asOWLLiteral(df, min));
  
  return df.getOWLDatatypeRestriction(getOWLDatatype(df, literals), minRestriction);
}

origin: SmartDataAnalytics/DL-Learner

private OWLDataRange asMinFacet(OWLDataFactory df, Set<Literal> literals){
  //return Boolean datatype because it doesn't make sense to return a facet of Boolean values
  if(getOWLDatatype(df, literals).equals(df.getBooleanOWLDatatype())){
    return df.getBooleanOWLDatatype();
  }
  Literal min = getMin(literals);
  
  OWLFacetRestriction minRestriction = df.getOWLFacetRestriction(OWLFacet.MIN_INCLUSIVE, asOWLLiteral(df, min));
  
  return df.getOWLDatatypeRestriction(getOWLDatatype(df, literals), minRestriction);
}

origin: SmartDataAnalytics/DL-Learner

private OWLDataRange asFacet(OWLDataFactory df, Set<Literal> literals){
  //return Boolean datatype because it doesn't make sense to return a facet of Boolean values
  if(getOWLDatatype(df, literals).equals(df.getBooleanOWLDatatype())){
    return df.getBooleanOWLDatatype();
  }
  Literal min = getMin(literals);
  Literal max = getMax(literals);
  
  OWLFacetRestriction minRestriction = df.getOWLFacetRestriction(OWLFacet.MIN_INCLUSIVE, asOWLLiteral(df, min));
  OWLFacetRestriction maxRestriction = df.getOWLFacetRestriction(OWLFacet.MAX_INCLUSIVE, asOWLLiteral(df, max));
  
  return df.getOWLDatatypeRestriction(getOWLDatatype(df, literals), minRestriction, maxRestriction);
}

origin: SmartDataAnalytics/DL-Learner

private OWLDataRange asFacet(OWLDataFactory df, Set<Literal> literals){
  //return Boolean datatype because it doesn't make sense to return a facet of Boolean values
  if(getOWLDatatype(df, literals).equals(df.getBooleanOWLDatatype())){
    return df.getBooleanOWLDatatype();
  }
  Literal min = getMin(literals);
  Literal max = getMax(literals);
  
  OWLFacetRestriction minRestriction = df.getOWLFacetRestriction(OWLFacet.MIN_INCLUSIVE, asOWLLiteral(df, min));
  OWLFacetRestriction maxRestriction = df.getOWLFacetRestriction(OWLFacet.MAX_INCLUSIVE, asOWLLiteral(df, max));
  
  return df.getOWLDatatypeRestriction(getOWLDatatype(df, literals), minRestriction, maxRestriction);
}

origin: SmartDataAnalytics/DL-Learner

OWLDataRange booleanRange = df.getBooleanOWLDatatype();
OWLLiteral lit = df.getOWLLiteral(1);
origin: SmartDataAnalytics/DL-Learner

case 45:
 jj_consume_token(45);
         range = df.getBooleanOWLDatatype();
 break;
case 46:
origin: SmartDataAnalytics/DL-Learner

OWLDataRange booleanRange = df.getBooleanOWLDatatype();
OWLLiteral lit = df.getOWLLiteral(1);
org.semanticweb.owlapi.modelOWLDataFactorygetBooleanOWLDatatype

Javadoc

A convenience method that obtains the datatype that represents booleans. This datatype will have the URI of <http://www.w3.org/2001/XMLSchema#boolean>

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

  • Updating database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • requestLocationUpdates (LocationManager)
  • compareTo (BigDecimal)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JFileChooser (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • Top plugins for Android Studio
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