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

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

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

origin: owlcs/owlapi

@Override
public OWLImportsDeclaration buildObject() {
  return df.getOWLImportsDeclaration(getIRI());
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
public OWLImportsDeclaration buildObject() {
  return df.getOWLImportsDeclaration(getIRI());
}
origin: net.sourceforge.owlapi/owlapi-fixers

@Override
public OWLImportsDeclaration buildObject() {
  return df.getOWLImportsDeclaration(getIRI());
}
origin: net.sourceforge.owlapi/owlapi

public OWLImportsDeclaration parseImportsDeclaration(OWLOntology ont) throws ParserException {
  consumeToken(IMPORT);
  IRI importedOntologyIRI = parseIRI();
  return dataFactory.getOWLImportsDeclaration(importedOntologyIRI);
}
origin: owlcs/owlapi

private OWLImportsDeclaration parseImportsDeclaration() {
  consumeToken(IMPORT);
  return df.getOWLImportsDeclaration(parseIRI());
}
origin: owlcs/owlapi

 final public OWLImportsDeclaration ImportsDeclaration() throws ParseException {IRI iri;
  jj_consume_token(IMPORT);
  jj_consume_token(OPENPAR);
  iri = IRI();
  jj_consume_token(CLOSEPAR);
return df.getOWLImportsDeclaration(iri);
}

origin: net.sourceforge.owlapi/owlapi-osgidistribution

 final public OWLImportsDeclaration ImportsDeclaration() throws ParseException {IRI iri;
  jj_consume_token(IMPORT);
  jj_consume_token(OPENPAR);
  iri = IRI();
  jj_consume_token(CLOSEPAR);
return df.getOWLImportsDeclaration(iri);
}

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

final public OWLImportsDeclaration ImportsDeclaration() throws ParseException {
  IRI iri;
  jj_consume_token(IMPORT);
  jj_consume_token(OPENPAR);
  iri = IRI();
  jj_consume_token(CLOSEPAR);
  OWLImportsDeclaration importsDeclaration = dataFactory
      .getOWLImportsDeclaration(iri);
  return importsDeclaration;
}
origin: net.sourceforge.owlapi/owlapi

final public OWLImportsDeclaration ImportsDeclaration() throws ParseException {
 IRI iri;
 jj_consume_token(IMPORT);
 jj_consume_token(OPENPAR);
 iri = IRI();
 jj_consume_token(CLOSEPAR);
   OWLImportsDeclaration importsDeclaration = dataFactory.getOWLImportsDeclaration(iri);
   {if (true) return importsDeclaration;}
 throw new Error("Missing return statement in function");
}
origin: net.sourceforge.owlapi/owlapi-distribution

 final public OWLImportsDeclaration ImportsDeclaration() throws ParseException {IRI iri;
  jj_consume_token(IMPORT);
  jj_consume_token(OPENPAR);
  iri = IRI();
  jj_consume_token(CLOSEPAR);
return df.getOWLImportsDeclaration(iri);
}

origin: edu.stanford.protege/org.protege.owl.server

@Override
public RemoveImport read(OWLInputStream in) throws IOException {
  IRI importedOntologyIRI = (IRI) in.read();
  OWLImportsDeclaration importDeclaration = in.getOWLDataFactory().getOWLImportsDeclaration(importedOntologyIRI);
  return new RemoveImport(in.getFakeOntology(), importDeclaration);
}
origin: net.sourceforge.owlapi/owlapi-parsers

 final public OWLImportsDeclaration ImportsDeclaration() throws ParseException {IRI iri;
  jj_consume_token(IMPORT);
  jj_consume_token(OPENPAR);
  iri = IRI();
  jj_consume_token(CLOSEPAR);
return df.getOWLImportsDeclaration(iri);
}

origin: edu.stanford.protege/org.protege.owl.server

@Override
public AddImport read(OWLInputStream in) throws IOException {
  IRI importedOntologyIRI = (IRI) in.read();
  OWLImportsDeclaration importDeclaration = in.getOWLDataFactory().getOWLImportsDeclaration(importedOntologyIRI);
  return new AddImport(in.getFakeOntology(), importDeclaration);
}
origin: org.integratedmodelling/klab-common

public void addImport(IOntology ontology) {
  if (!this.ontology.getImports().contains(((Ontology) ontology).ontology)) {
    OWLDataFactory factory = this.ontology.getOWLOntologyManager()
        .getOWLDataFactory();
    OWLImportsDeclaration imp = factory.getOWLImportsDeclaration(IRI
        .create(((Ontology) ontology).ontology.getOntologyID()
            .getOntologyIRI().toString()));
    this.ontology.getOWLOntologyManager()
        .applyChange(new AddImport(this.ontology, imp));
    this.imported.add(ontology.getConceptSpace());
  }
}
origin: owlcs/owlapi

@Override
void endElement() {
  IRI ontIRI = handler.getIRI(getText().trim());
  OWLImportsDeclaration decl = df.getOWLImportsDeclaration(ontIRI);
  handler.getOWLOntologyManager().applyChange(new AddImport(handler.getOntology(), decl));
  handler.getOWLOntologyManager().makeLoadImportRequest(decl, handler.getConfiguration());
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

@Override
void endElement() {
  IRI ontIRI = handler.getIRI(getText().trim());
  OWLImportsDeclaration decl = df.getOWLImportsDeclaration(ontIRI);
  handler.getOWLOntologyManager().applyChange(new AddImport(handler.getOntology(), decl));
  handler.getOWLOntologyManager().makeLoadImportRequest(decl, handler.getConfiguration());
}
origin: net.sourceforge.owlapi/owlapi-distribution

@Override
void endElement() {
  IRI ontIRI = handler.getIRI(getText().trim());
  OWLImportsDeclaration decl = df.getOWLImportsDeclaration(ontIRI);
  handler.getOWLOntologyManager().applyChange(new AddImport(handler.getOntology(), decl));
  handler.getOWLOntologyManager().makeLoadImportRequest(decl, handler.getConfiguration());
}
origin: net.sourceforge.owlapi/owlapi

public void endElement() throws OWLParserException, UnloadableImportException {
  IRI ontIRI = getIRI(getText().trim());
  OWLImportsDeclaration decl = getOWLDataFactory().getOWLImportsDeclaration(ontIRI);
  getOWLOntologyManager().applyChange(new AddImport(getOntology(), decl));
  getOWLOntologyManager().makeLoadImportRequest(decl);
}
origin: net.sourceforge.owlapi/owlapi-parsers

@Override
void endElement() {
  IRI ontIRI = handler.getIRI(getText().trim());
  OWLImportsDeclaration decl = df.getOWLImportsDeclaration(ontIRI);
  handler.getOWLOntologyManager().applyChange(new AddImport(handler.getOntology(), decl));
  handler.getOWLOntologyManager().makeLoadImportRequest(decl, handler.getConfiguration());
}
origin: com.github.ansell.owlapi/owlapi-parsers

@Override
public void endElement() throws OWLParserException, UnloadableImportException {
  IRI ontIRI = getIRI(getText().trim());
  OWLImportsDeclaration decl = getOWLDataFactory().getOWLImportsDeclaration(ontIRI);
  getOWLOntologyManager().applyChange(new AddImport(getOntology(), decl));
  getOWLOntologyManager().makeLoadImportRequest(decl, getConfiguration());
}
org.semanticweb.owlapi.modelOWLDataFactorygetOWLImportsDeclaration

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

  • Start an intent from android
  • setContentView (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getContentResolver (Context)
  • String (java.lang)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Github Copilot alternatives
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