Examples of toQuotedString()


Examples of jp.ac.kobe_u.cs.prolog.lang.Term.toQuotedString()

  @Override
  public Predicate exec(Prolog engine) {
    engine.setB0();
    Term a1;
    a1 = arg1.dereference();
    engine.getCurrentOutput().print(a1.toQuotedString());
    return cont;
  }
}
View Full Code Here

Examples of org.semanticweb.owlapi.model.IRI.toQuotedString()

        }
        // there is a prefix manager and o is an IRI
        IRI i = (IRI) o;
        String result = prefixManager.getPrefixIRI(i);
        if (result == null) {
            result = i.toQuotedString();
        }
        return result;
    }

    /** increment count and log. */
 
View Full Code Here

Examples of org.semanticweb.owlapi.model.IRI.toQuotedString()

                try {
                    log.debug("Cannot load from a local bundle relative path", e1);
                    log.debug("Try to load the configuration ontology resolving the given IRI");
                    IRI iri = IRI.create(configPath);
                    if (!iri.isAbsolute()) throw new Exception("IRI seems to be not absolute! value was: "
                                                               + iri.toQuotedString());
                    oConfSrc = new IRIDocumentSource(iri);
                } catch (Exception e) {
                    try {
                        log.debug("Cannot load from the web", e1);
                        log.debug("Try to load the configuration ontology as full local file path");
View Full Code Here

Examples of org.semanticweb.owlapi.model.IRI.toQuotedString()

              .getOWLAnnotationProperty(
                  OWLRDFVocabulary.RDFS_LABEL.getIRI()))) {
        OWLAnnotationValue value = annotation.getValue();
        if (value instanceof IRI) {
          IRI asIRI = (IRI) value;
          allLabels.put(asIRI.toQuotedString(), null);
        } else if (value instanceof OWLLiteral) {
          OWLLiteral sLiteral = (OWLLiteral) value;
          allLabels.put(sLiteral.getLiteral(), sLiteral.getLang());
        }
      }
View Full Code Here

Examples of org.semanticweb.owlapi.model.IRI.toQuotedString()

                try {
                    log.debug("Cannot load from a local bundle relative path", e1);
                    log.debug("Try to load the configuration ontology resolving the given IRI");
                    IRI iri = IRI.create(configPath);
                    if (!iri.isAbsolute()) throw new Exception("IRI seems to be not absolute! value was: "
                                                               + iri.toQuotedString());
                    oConfSrc = new IRIDocumentSource(iri);
                } catch (Exception e) {
                    try {
                        log.debug("Cannot load from the web", e1);
                        log.debug("Try to load the configuration ontology as full local file path");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.