mat-o-lab / knowledgeui Goto Github PK
View Code? Open in Web Editor NEWApplication to Interact with a Knowledge Base in a Triple Store
License: Apache License 2.0
Application to Interact with a Knowledge Base in a Triple Store
License: Apache License 2.0
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.
Button save as CSV is not working.
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.
Sparql endpoint: https://fuseki.matolab.org/openbismantic/sparql
File and line:
KnowledgeUI/static/sunburst_utilities.js
Line 195 in a1eed1e
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)
make overview sunburst diagram link to sparklis interface, querying for the list of individuals of the class clicked on
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.
Translate
SPARQL queries from Helena
To SPARKLIS Natural Language.
In this way, creating more predefined queries to be add to our KnowledgeUI.
the class hierarchy query takes to long maybe its better to have this on the server side
https://github.com/Mat-O-Lab/SequentialLearningApp
For help: the main developer is Zia ([email protected]), from BAM.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.