Examples of describeResource()


Examples of de.fuberlin.wiwiss.pubby.sources.DataSource.describeResource()

    // homepage/index resource.
    // TODO: Shouldn't we make the index data source available even if there
    //       is an indexResource?
    String indexIRI = webBase + getWebResourcePrefix();
    if (!hasProperty(CONF.indexResource) &&
        result.describeResource(indexIRI).isEmpty()) {
      result = new IndexDataSource(indexIRI, result);
    }
    return result;
  }
View Full Code Here

Examples of de.fuberlin.wiwiss.pubby.sources.DataSource.describeResource()

  /**
   * @return A description of the resource that allows interrogation of the data
   */
  public ResourceDescription getResourceDescription() {
    DataSource source = config.getDataSource();
    Model model = source.describeResource(absoluteIRI);
    if (model.isEmpty()) return null;
    return new ResourceDescription(this, model,
        source.getHighIndegreeProperties(absoluteIRI),
        source.getHighOutdegreeProperties(absoluteIRI),
        config);
View Full Code Here

Examples of de.fuberlin.wiwiss.pubby.sources.MergeDataSource.describeResource()

    // homepage/index resource.
    // TODO: Shouldn't we make the index data source available even if there
    //       is an indexResource?
    String indexIRI = webBase + getWebResourcePrefix();
    if (!hasProperty(CONF.indexResource) &&
        result.describeResource(indexIRI).isEmpty()) {
      result = new IndexDataSource(indexIRI, result);
    }
    return result;
  }
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.