Package de.fuberlin.wiwiss.d2rq.vocab

Examples of de.fuberlin.wiwiss.d2rq.vocab.VocabularySummarizer


   */
  public Mapping parse() {
    if (this.mapping != null) {
      return this.mapping;
    }
    new VocabularySummarizer(D2RQ.class).assertNoUndefinedTerms(model,
        D2RQException.MAPPING_UNKNOWN_D2RQ_PROPERTY,
        D2RQException.MAPPING_UNKNOWN_D2RQ_CLASS);
    ensureAllDistinct(new Resource[]{D2RQ.Database, D2RQ.ClassMap, D2RQ.PropertyBridge,
        D2RQ.TranslationTable, D2RQ.Translation}, D2RQException.MAPPING_TYPECONFLICT);
    this.mapping = new Mapping();
View Full Code Here


    this.model = FileManager.get().loadModel(this.configURL);
    Resource server = findServerResource();
    if (server == null) {
      return;
    }
    new VocabularySummarizer(D2RConfig.class).assertNoUndefinedTerms(model,
        D2RQException.CONFIG_UNKNOWN_PROPERTY,
        D2RQException.CONFIG_UNKNOWN_CLASS);
    Statement s = server.getProperty(D2RConfig.baseURI);
    if (s != null) {
      this.baseURI = s.getResource().getURI();
View Full Code Here

TOP

Related Classes of de.fuberlin.wiwiss.d2rq.vocab.VocabularySummarizer

Copyright © 2018 www.massapicom. 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.