11<!DOCTYPE html>
22< html >
33 < head >
4- < title > Sinopia Linked Data - Graph Explorer</ title >
5- < link rel ="stylesheet " href ="https://pyscript.net/releases/2024.11.1/core.css " />
4+ < title > Blue Core - Graph Explorer</ title >
5+
6+ < link rel ="stylesheet " href ="https://pyscript.net/releases/2025.5.1/core.css " />
7+ < link href ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/css/bootstrap.min.css " rel ="stylesheet " integrity ="sha384-4Q6Gf2aSP4eDXB8Miphtr37CMZZQ5oXLH2yaXMJ2w8e2ZtHTl7GptT4jmndRuHDT " crossorigin ="anonymous ">
68 < link href ="static/css/main.css " rel ="stylesheet " />
7- < link href ="static/css/header.css " rel ="stylesheet " />
89 < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.3/font/bootstrap-icons.css ">
910 < script src ="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js " integrity ="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p " crossorigin ="anonymous "> </ script >
10- < script type ="module " src ="https://pyscript.net/releases/2024.11 .1/core.js "> </ script >
11+ < script type ="module " src ="https://pyscript.net/releases/2025.5 .1/core.js "> </ script >
1112 < style >
1213 strong {
1314 font-weight : 800 ;
1415 }
1516 </ style >
1617 </ head >
17- < body >
18- < div class ="editor-navbar ">
19- < h3 > Linked-Data for Production</ h3 >
20- < h1 > Graph Explorer with Sinopia Linked Data</ h1 >
18+ < body class ="container ">
19+ < div class ="editor-navbar row ">
20+ < div class ="col-4 ">
21+ < img src ="static/img/blue-core-v1.svg " class ="float-start " alt ="Blue Core Label " style ="height: 100px ">
22+ </ div >
23+ < div class ="col-8 ">
24+ < h1 > Graph Explorer, Management & Batch Handling</ h1 >
2125 < h4 > Version < span id ="version " > </ span > </ h4 >
26+ </ div >
2227 </ div >
23- < div class ="float-end sticky-top ">
28+ < div class ="float-end sticky-top " style =" background-color: rgb(255,255,255) " >
2429 < button class ="btn btn-outline-success " data-bs-toggle ="modal " data-bs-target ="#graph-repl-modal ">
2530 < img width ="64 " alt ="Python-logo-notext " src ="./static/img/python-repl.svg ">
2631 </ button >
@@ -61,9 +66,7 @@ <h4>Version <span id="version" ></span></h4>
6166 < div class ="tab-pane fade show active " id ="load " role ="tabpanel " aria-labelledby ="home-tab ">
6267 < div class ="container ">
6368 < div id ="intro ">
64- ## Load RDF
65-
66- Environments and Groups
69+ < h2 > Login & Load Options</ h2 >
6770 </ div >
6871 < div class ="row ">
6972 < div class ="col ">
@@ -82,10 +85,15 @@ <h4>Version <span id="version" ></span></h4>
8285 < label for ="https://api.sinopia.io/ " class ="form-check-label "> Production</ label >
8386 </ input >
8487 </ div >
85- < button class ="btn btn-primary btn-lg " py-click ="build_graph ">
86- < i class ="spinner-border d-none " id ="graph-loading-status "> </ i >
87- Build Graph
88- </ button >
88+ < div class ="btn-group " role ="group " aria-label ="Basic Actions ">
89+ < button class ="btn btn-primary btn-lg " py-click ="bluecore_login ">
90+ < span id ="login-action "> Login</ span >
91+ </ button >
92+ < button class ="btn btn-primary btn-lg " py-click ="build_graph ">
93+ < i class ="spinner-border d-none " id ="graph-loading-status "> </ i >
94+ Build Graph
95+ </ button >
96+ </ div >
8997 </ div >
9098 < div class ="col ">
9199 < h4 > Groups</ h4 >
@@ -107,10 +115,11 @@ <h4>Individual Resources</h4>
107115 < div class ="tab-pane fade " id ="graph-summary " role ="tabpanel " aria-labelledby ="profile-tab ">
108116 < div class ="container ">
109117 < div id ="bf-work-instance-item-rdf ">
110- ## Graph Summary
111- The [Sinopia API](https://github.com/ld4p/sinopia_api) is used to construct a small
112- RDF graph and then create a knowledge graph for analysis and visualization of the entities
113- along with their properties.
118+ < h2 > Graph Summary</ h2 >
119+ < p >
120+ Summary of graph loaded from the
121+ < a href ="https://github.com/blue-core-lod/bluecore_api/ "> Blue Core API</ a >
122+ </ p >
114123 </ div >
115124 < div class ="row ">
116125 < div class ="col ">
@@ -122,7 +131,7 @@ <h4>Individual Resources</h4>
122131 < div class ="tab-pane fade " id ="sparql " role ="tabpanel " aria-labelledby ="contact-tab ">
123132 < div class ="container ">
124133 < div id ="sparql-summary ">
125- ## SPARQL
134+ < h2 > SPARQL</ h2 >
126135
127136 </ div >
128137 < div class ="row ">
@@ -136,15 +145,15 @@ <h4>Individual Resources</h4>
136145 </ div >
137146 </ div >
138147 </ div >
139-
148+
140149 < footer >
141150 < p xmlns:cc ="http://creativecommons.org/ns# " >
142151 Version < span id ="footer-version "> </ span > . Documentation is licensed under
143152 < a href ="http://creativecommons.org/licenses/by/4.0/?ref=chooser-v1 "
144153 target ="_blank "
145154 rel ="license noopener noreferrer " style ="display:inline-block; "> Creative Commons Attribution 4.0 International</ a > .
146155 Source code licensed under < a href ="http://www.apache.org/licenses/LICENSE-2.0 "> Apache 2</ a > and available
147- at < a href ="https://github.com/LD4P /graph-explorer "> https://github.com/LD4P /graph-explorer</ a >
156+ at < a href ="https://github.com/blue-core-lod /graph-explorer "> https://github.com/blue-core-lod /graph-explorer</ a >
148157 </ p >
149158 </ footer >
150159
@@ -158,11 +167,14 @@ <h5 class="modal-title" id="graph-repl-modal-title">Graph Explorer - Python REPL
158167 < div class ="modal-body ">
159168 < div class ="sticky-top py-3 bg-light ">
160169 < div id ="err-div " class ="bg-red text-blue text-center border-t-4 "> </ div >
161- < py-repl id ="graph-repl " auto-generate ="true " std-out ="output " std-err ="err-div "> print("Hello")</ py-repl >
162- < div id ="output " class ="p-4 "> </ div >
163- < div id ="err-div "> </ div >
170+ < script type ="py " id ="repl " terminal worker >
171+ import code
172+
173+ code . interact ( )
174+ </ script >
175+ < div id ="output " class ="p-4 "> </ div >
176+ < div id ="err-div "> </ div >
164177 </ div >
165- < py-terminal > </ py-terminal >
166178 </ div >
167179 </ div >
168180 < div class ="modal-footer ">
@@ -189,13 +201,6 @@ <h5 class="modal-title">Graph Explorer Initialization</h5>
189201 </ div >
190202 </ div >
191203</ div >
192-
193- < script >
194- document . addEventListener ( 'DOMContentLoaded' , function ( ) {
195- var myModal = new bootstrap . Modal ( '#splashModal' , { } ) ;
196- myModal . show ( ) ;
197- } ) ;
198- </ script >
199- < script type ="py " src ="./main.py " config ="./pyconfig.json "> </ script >
204+ < script type ="py " src ="./main.py " config ="./pyconfig.json "> </ script >
200205 </ body >
201206</ html >
0 commit comments