Spaces:
Sleeping
Sleeping
Example query value
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def run_sparql(query):
|
|
19 |
return f"Error: {e}"
|
20 |
|
21 |
# Gradio interface
|
22 |
-
query_input = gr.Textbox(label="SPARQL Query", lines=5, placeholder="SELECT DISTINCT ?b WHERE {?a
|
23 |
output_text = gr.Textbox(label="Query Results", lines=10)
|
24 |
|
25 |
# Launch the app
|
|
|
19 |
return f"Error: {e}"
|
20 |
|
21 |
# Gradio interface
|
22 |
+
query_input = gr.Textbox(label="SPARQL Query", lines=5, placeholder="Enter SPARQL query here", value="SELECT DISTINCT ?b WHERE {?a ?b ?c}")
|
23 |
output_text = gr.Textbox(label="Query Results", lines=10)
|
24 |
|
25 |
# Launch the app
|