Git Product home page Git Product logo

sparnatural-yasgui-plugins's Introduction

Sparnatural-yasgui-plugins

Set of Plugins for Yasgui / YASR useful in conjunction with Sparnatural

sparnatural-yasgui-plugins's People

Contributors

tfrancart avatar

Watchers

 avatar  avatar  avatar

sparnatural-yasgui-plugins's Issues

Ability to process complete binding sets

Yasr.plugins.LabelledUriTable.defaults.bindingSetAdapter = function(bindingSet) {
                console.log("bindingSet adapter called");
                var newBindingSet = {};
                // console.log(bindingSet);
                for (var key in bindingSet) {
                    if(key.startsWith("code")) {                        
                        newBindingSet[key] = {
                            type: "uri",
                            value: "http://fake.uri/"+bindingSet[key].value
                        };
                        newBindingSet[key+"_label"] = bindingSet[key];
                    } else {
                        // default, don't change anything
                        newBindingSet[key] = bindingSet[key];
                    }
                }
                console.log(newBindingSet);
                return newBindingSet;
              };

YasGUI Map Plugin

@SteinerPascal I was wondering if you already had something related to display of a SPARQL results on a map ? Do you have a separate repository for this maybe ?

Image grid / "cards" result display

Generates "cards" based on some properties in the result set.
Something similar to a generic HTML template that was once available in Yasr, which can be provided with e.g. a Mustache template : https://github.com/janl/mustache.js

All columns in the result set would be exposed as Mustache variables, and the actual template would be passed at runtime to the plugin.
There could be a need to have different templates, which could be done by determining which columns are available in the result set.

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.