Git Product home page Git Product logo

Comments (6)

kvistgaard avatar kvistgaard commented on August 9, 2024

See a full description here

from developer.

mdroidian avatar mdroidian commented on August 9, 2024

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?

image

from developer.

kvistgaard avatar kvistgaard commented on August 9, 2024

from developer.

mdroidian avatar mdroidian commented on August 9, 2024

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.

kvistgaard avatar kvistgaard commented on August 9, 2024

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.

image

BTW, what do you mean by

import endpoint / output format with command

from developer.

mdroidian avatar mdroidian commented on August 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.