congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Top 12 Jupyter Notebook Extensions
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