@Override
public Resource export(Model model) {
Resource repImplNode = super.export(model);
ValueFactory vf = ValueFactoryImpl.getInstance();
if (includeInferred != null) {
Literal bool = vf.createLiteral(includeInferred);
model.add(repImplNode, INCLUDE_INFERRED, bool);
}
if (maxQueryTime > 0) {
model.add(repImplNode, MAX_QUERY_TIME, vf.createLiteral(maxQueryTime));
}
if (queryResultLimit >= 0) {
model.add(repImplNode, QUERY_RESULT_LIMIT, vf.createLiteral(queryResultLimit));
}
if (queryLanguage != null) {
model.add(repImplNode, QUERY_LANGUAGE, vf.createLiteral(queryLanguage.getName()));
}
for (URI uri : readContexts) {
model.add(repImplNode, READ_CONTEXT, uri);
}
for (URI resource : addContexts) {