miguel76 / SparqlBlocks

Using Blockly library for building SPARQL queries with blocks.
MIT License
23 stars 9 forks source link

Accessing sparql query string externally #5

Closed garychen319 closed 7 years ago

garychen319 commented 7 years ago

Is there a way to access the sparql query generated from sparqlblocks externally? For eg. I want to display it within the page rather than saving it to a file.

miguel76 commented 7 years ago

Currently the user interface does not provide a way to see the SPARQL query in the same page. What you can do, apart from saving it, is seeing the query in YASGUI (using the command "Open Query in YASGUI"). Regarding the code, each query block object has the property sparqlQueryStr that holds the current generated SPARQL query. I would not thus be difficult to add a way of showing it in the page itself.

miguel76 commented 7 years ago

I close the issue because it was actually a question. Please create a new issue if you want to propose a specific feature.