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;
}