//Initialize sgvizler Query for actors
var A = new sgvizler.Query();
A.query(" PREFIX dc: <http://purl.org/dc/terms/> PREFIX am: <http://data.linkedmdb.org/resource/movie/actor_name> SELECT ?actorName ?actorLink WHERE { ?actorLink am: 'Christian Bale' . ?actorLink am: ?actorName . } ")
.endpointURL("http://data.linkedmdb.org/sparql")
.endpointOutputFormat("jsonp")
.chartFunction("sgvizler.visualization.Table")
.draw("searchResults");
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://www.google.com/jsapi"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/2.10.0/d3.v2.min.js"></script>
<script src="https://mgskjaeveland.github.io/sgvizler/v/0.6/sgvizler.js"></script>
<div id="searchResults"> </div>
我正在使用 Sgvizler 0.6 来可视化一些 SPARQL 查询,但是由于某种原因,当返回链接并尝试单击它时,会返回 baseURL + 真实 URL。有什么方法可以删除 baseURL 并只保留实际网页的 URL 吗?