Skip to content

Commit fab5c8a

Browse files
committed
chore: update yasgui in demo page
1 parent b259cf1 commit fab5c8a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

demo/index.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<title>YASGUI Graph Plugin Demo</title>
1717

1818
<!-- YASGUI CSS -->
19-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@matdata/yasgui@5.0.0/build/yasgui.min.css">
19+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@matdata/yasgui@5.1.0/build/yasgui.min.css">
2020

2121
<!-- Font Awesome for icons -->
2222
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
@@ -138,7 +138,7 @@ <h2 onclick="toggleInstructions()">
138138
<div id="yasgui"></div>
139139

140140
<!-- YASGUI JavaScript -->
141-
<script src="https://cdn.jsdelivr.net/npm/@matdata/yasgui@5.0.0/build/yasgui.min.js"></script>
141+
<script src="https://cdn.jsdelivr.net/npm/@matdata/yasgui@5.1.0/build/yasgui.min.js"></script>
142142

143143
<!-- Sample queries -->
144144
<script src="./queries.js"></script>
@@ -188,8 +188,14 @@ <h2 onclick="toggleInstructions()">
188188
const yasgui = new Yasgui(document.getElementById('yasgui'), {
189189
// Set the SPARQL endpoint
190190
requestConfig: {
191-
endpoint: 'http://localhost:3030/g',
191+
endpoint: 'https://data-interop.era.europa.eu/api/sparql',
192192
},
193+
endpointButtons: [
194+
{ endpoint: "http://localhost:3030/g", label: "localhost:3030/g" },
195+
{ endpoint: "https://dbpedia.org/sparql", label: "DBpedia" },
196+
{ endpoint: "https://query.wikidata.org/sparql", label: "Wikidata" },
197+
{ endpoint: "https://data-interop.era.europa.eu/api/sparql", label: "ERA" }
198+
],
193199
yasr: {
194200
pluginOrder: ['Table', 'Response', 'Graph'],
195201
defaultPlugin: 'Graph',

0 commit comments

Comments
 (0)