简体   繁体   English

"在 GraphDB 中为 Visual Graph 设置默认配置"

[英]Setting default config for Visual Graph in GraphDB

Is it possible to set a custom advanced graph configuration as a default config to use upon clicking 'Visual Graph' button (eg from the 'Graph overview' sidebar) in GraphDB Free 8.4.1?是否可以将自定义高级图形配置设置为默认配置,以便在 GraphDB Free 8.4.1 中单击“可视图形”按钮(例如,从“图形概览”侧栏)时使用?

I have declared advanced configurations that are suitable for exploring my data, but they are only available through 'Visual Graph' menu.我已经声明了适合探索我的数据的高级配置,但它们只能通过“Visual Graph”菜单获得。 I would like to use them (at least one) also when switching to graph visualisation from the view of triples.从三元组视图切换到图形可视化时,我也想使用它们(至少一个)。

I haven't found such an option so far.到目前为止,我还没有找到这样的选择。 A desperate move could be to rewrite the URL and manually add a fixed '?config= my_config ' parameter, but I hope there is a better way do solve it.一个绝望的举动可能是重写 URL 并手动添加一个固定的 '?config= my_config ' 参数,但我希望有更好的方法来解决它。

There is no option to configure the default queries through GDB Workbench, but what you can do is change the queries in the files in your GDB distribution directly. 没有选项可以通过GDB Workbench配置默认查询,但是您可以做的是直接在GDB发行版的文件中更改查询。 They are located in graphdb/graphdb-/lib/workbench/WEB-INF/lib/graphdb-framework-graph-explore-.jar/graph-explore-queries/.. resourceLinks.sparql is the query for links expansion. 它们位于graphdb / graphdb- / lib / workbench / WEB-INF / lib / graphdb-framework-graph-explore-.jar / graph-explore-queries /中。resourceLinks.sparql是链接扩展的查询。

I have the same question for GraphDB 9.10?我对 GraphDB 9.10 有同样的问题吗? The above answer seems outdated as the paths in the GDB distribution have apparently changed.上述答案似乎已经过时,因为 GDB 发行版中的路径显然已经改变。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM