Comments (6)
See a full description here
from developer.
Ah, so would you want something like a button on the Sparql code block? And the results to be outputted as children of the code block?
from developer.
from developer.
Alright. So I added a new command Run SPARQL Query: Custom
This will load to the Custom Query
page initially and grab the last edited sparql code block from the current page.
What left would then be:
- define endpoint / output format
- import endpoint / output format with command
- support block refs
- possibly add a command that does all of the above and just runs the query (skip the dialog preview)
EDIT: added tasks
- run the command when the cursor is on the query block or its parent?
- add shortcut to block menu to run the query
Hopefully this will be helpful in the interim.
https://www.loom.com/share/5ad18cdec7164697893e3c698acf4131
from developer.
Wouldn't it be easier to run the command when the cursor is on the query block or its parent?
In addition, it would be nice to be able to start it from the block menu as is the case with some other extensions.
BTW, what do you mean by
import endpoint / output format with command
from developer.
Wouldn't it be easier to run the command when the cursor is on the query block or its parent?
Depends on the use case, I guess. I believe currently it imports at the cursor position, so if one wanted to import at a different block than the sparql code block, that functionality would be lost. But I'd be happy to add this feature to the list.
In addition, it would be nice to be able to start it from the block menu as is the case with some other extensions.
This can be added to the list as well.
import endpoint / output format with command
This was referring to grabbing the endpoint from a comment in the sparql query block and updating the endpoint in the dialog
from developer.
Related Issues (13)
- Nuke `/backend` directory within roamjs/components HOT 1
- Nuke `/backend` directory within roamjs/components HOT 1
- Remove lambda command from roamjs-scripts HOT 1
- move `addStyle` => `extension.css` HOT 1
- Nuke Versioning extension + API HOT 1
- Explain how to get `extensionAPI` when tooling around in the roam code editor HOT 2
- CodeMirror on SPARQL Custom Query doesn't display HOT 2
- Unknown error occured when querying HOT 2
- Feature request: Get details for properties
- Make SPARQL "Save Query" work with embed block
- SPARQL Import as a separate extension (like it was at RoamJS.com) HOT 1
- Error when running a default SPARQL query HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from developer.