|
16 | 16 | <title>YASGUI Graph Plugin Demo</title> |
17 | 17 |
|
18 | 18 | <!-- 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"> |
20 | 20 |
|
21 | 21 | <!-- Font Awesome for icons --> |
22 | 22 | <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()"> |
138 | 138 | <div id="yasgui"></div> |
139 | 139 |
|
140 | 140 | <!-- 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> |
142 | 142 |
|
143 | 143 | <!-- Sample queries --> |
144 | 144 | <script src="./queries.js"></script> |
@@ -188,8 +188,14 @@ <h2 onclick="toggleInstructions()"> |
188 | 188 | const yasgui = new Yasgui(document.getElementById('yasgui'), { |
189 | 189 | // Set the SPARQL endpoint |
190 | 190 | requestConfig: { |
191 | | - endpoint: 'http://localhost:3030/g', |
| 191 | + endpoint: 'https://data-interop.era.europa.eu/api/sparql', |
192 | 192 | }, |
| 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 | + ], |
193 | 199 | yasr: { |
194 | 200 | pluginOrder: ['Table', 'Response', 'Graph'], |
195 | 201 | defaultPlugin: 'Graph', |
|
0 commit comments