Package de.fuberlin.wiwiss.d2rq

Examples of de.fuberlin.wiwiss.d2rq.ResourceDescriber


    boolean outgoingTriplesOnly = server.isVocabularyResource(resource)
        && !server.getConfig().getVocabularyIncludeInstances();
    int limit = server.getConfig().getLimitPerPropertyBridge();
    Model description = null;
    try {
      ResourceDescriber describer = new ResourceDescriber(
          server.getMapping(), resource.asNode(), outgoingTriplesOnly,
          limit, Math.round(server.getConfig().getPageTimeout() * 1000));
      description = ModelFactory.createModelForGraph(describer.description());
    } catch (QueryCancelledException ex) {
      velocity.reportError(
          504, "504 Gateway Timeout", "The operation timed out.");
      return;
    }
View Full Code Here


          public void describe(Resource resource) {
            log.info("DESCRIBE <" + resource + ">");
            boolean outgoingTriplesOnly = isVocabularyResource(resource)
                && !getConfig().getVocabularyIncludeInstances();
            adder.add(new ResourceDescriber(getMapping(), resource
                .asNode(), outgoingTriplesOnly,
                Relation.NO_LIMIT,
                Math.round(config.getSPARQLTimeout() * 1000)).description());
          }

 
View Full Code Here

TOP

Related Classes of de.fuberlin.wiwiss.d2rq.ResourceDescriber

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.