Skip to content

Commit 8959eb2

Browse files
authored
Merge pull request #1926 from OpenEnergyPlatform/housekeeping-remove-deprecated-references-module
Remove deprecated references module / rename oekg api app
2 parents 746fa1b + e3bde64 commit 8959eb2

File tree

18 files changed

+22
-18
lines changed

18 files changed

+22
-18
lines changed

docs/oeplatform-code/web-api/oekg-api/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,14 +576,14 @@ The `uid` should belong to an existing bundle in OEKG. The remaining fields are
576576

577577
### The SPARQL endpoint for OEKG
578578

579-
`https://openenergy-platform.org/knowledge/oekg_main`
579+
`https://openenergyplatform.org/oekg/sparql/`
580580

581581
Here is an example of how to query the Open Energy Knowledge Graph (OEKG) using SPARQL.
582582

583583
```python
584584
import requests
585585

586-
sparql_endpoint = "https://openenergy-platform.org/knowledge/oekg_main"
586+
sparql_endpoint = "https://openenergy-platform.org/oekg/sparql/"
587587
sparql_query = {
588588
"query": """SELECT ?s ?p ?o
589589
WHERE {

factsheet/frontend/src/components/customTable.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ function EnhancedTableToolbar(props) {
256256
In a nutshell: A scenario bundle provides you with all relevant information to understand a scenario's context and to ease a potential re-use of quantitative data for your own purposes.
257257
</Typography>
258258
<Typography variant="body2">
259-
The scenario bundles are stored in the Open Energy Knowledge Graph (OEKG). The OEKG can be queried using the SPARQL language. We provide a <a href="/sparql_query/gui/">User Interface</a> to simplify this rather technical task.
259+
The scenario bundles are stored in the Open Energy Knowledge Graph (OEKG). The OEKG can be queried using the SPARQL language. We provide a <a href="/oekg/gui/">User Interface</a> to simplify this rather technical task.
260+
If you want to send your own SPARQL query you can do this by send a request to the http-api endpoint.
260261
</Typography>
261262
</Grid>
262263
</Grid>
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
class SparqlQueryConfig(AppConfig):
55
default_auto_field = "django.db.models.BigAutoField"
6-
name = "sparql_query"
6+
name = "oekg"
File renamed without changes.

sparql_query/static/sparql_ui/vendor/yasgui-2.5.0/README.md renamed to oekg/static/sparql_ui/vendor/yasgui-2.5.0/README.md

File renamed without changes.

sparql_query/static/sparql_ui/vendor/yasgui-2.5.0/css/yasgui.min.css renamed to oekg/static/sparql_ui/vendor/yasgui-2.5.0/css/yasgui.min.css

File renamed without changes.

sparql_query/static/sparql_ui/vendor/yasgui-2.5.0/js/yasgui.min.js renamed to oekg/static/sparql_ui/vendor/yasgui-2.5.0/js/yasgui.min.js

File renamed without changes.

0 commit comments

Comments
 (0)