GithubHelp home page GithubHelp logo

mat-o-lab / knowledgeui Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 13.46 MB

Application to Interact with a Knowledge Base in a Triple Store

License: Apache License 2.0

Dockerfile 0.12% Python 9.35% HTML 84.28% Shell 0.11% CSS 2.30% JavaScript 3.84%

knowledgeui's People

Contributors

alfrie avatar firmao avatar ghezalahmad avatar horstf avatar poneyvif avatar soudehmasoudian avatar thhanke avatar vandungdo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

ghezalahmad

knowledgeui's Issues

The app can not be launched if the database isn't accessible.

When the app is launched we query the database to fill the sunburst. In our python script the whole app just fail when the result is not what we want. When we want to work on other parts of the project we get stuck about that because we are not able to make it work. It would be a great idea to add a debug/or dev parameter to be able to launch the app even if the database isn't accessible.

YASGUI Integration in Sparklis UI

Currently there is a problem with the usage of YASGUI in Sparklis, osparklis.js cant access the div with id "sparklis-yasgui" (for some reason) which causes the YASGUI initialization to fail. This does work when running the normal sparklis html and js locally, but there might be an issue with the flask or jinja interaction with the script. The current 'fix' simply removes the alert function and hides the yasgui button.

Fix the sunburst diagram OpenBisMantic data

Sparql endpoint: https://fuseki.matolab.org/openbismantic/sparql

File and line:

PREFIX owl: <http://www.w3.org/2002/07/owl#>

Query:
PREFIX owl: http://www.w3.org/2002/07/owl#
PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema#
SELECT ?c (MIN(?label) AS ?label1) ?superclass (count(?x) as ?count) WHERE {
?x a ?c .
OPTIONAL {?c rdfs:label ?label} .
?c rdfs:subClassOf ?superclass.
filter (?c != ?superclass &&
!exists {?c rdfs:subClassOf ?othersuper. ?othersuper rdfs:subClassOf ?superclass.
filter(?c != ?othersuper && ?othersuper != ?superclass)})
} group by ?c ?label1 ?superclass HAVING(?count > 1) order by desc(?count)

Debug rdf visualization

1-Currently when we activate the view toggle before selecting a query the visualization never happens. To be able to see it we need to refresh the page.
2-The names of the nodes and the relations needs to be shorten to their labels/ids.
3-The style of the visualization should be changed to make it more readable.

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.