tkurz / skosjs Goto Github PK
View Code? Open in Web Editor NEWA javascript-based skos editor. Test the editor on http://tkurz.github.com/skosjs/
License: Apache License 2.0
A javascript-based skos editor. Test the editor on http://tkurz.github.com/skosjs/
License: Apache License 2.0
Browser Google Chrome - it works with Firefox
Assigning free concepts to a concept scheme (via drag/drop) leads to the error message: This kind of drop is not allowed!
It would be useful to be able to list all concepts that are contained in the graph but are not attached to a superconcept and thus don't belong to a concept scheme.
Works well in Firefox, but not so well in chrome and IE. Primary issue is the drag and drop of concepts does not work, so makes editing almost impossible.
This depends on the backend and is most probably a bug in the SPARQL update queries (some unbound variables must be bound within the where clause). The bug occurs for example on fuseki-server.
Drop on Free Concepts should delete all Relations
Then it could use actually any endpoint ;-)
Hi Thomas
I have my Blazegraph server under a local url like http://10.0.1.130:8888/bigdata/namespace/GETTY_AAT/sparql (blazegraph 2.1.4) which is de facto a SPARQL 1.1 endpoint.
The repository is: triples with text index (no quads, no graphs)
when I use your demo and I give this in both fields (select and update) skosjs throw a warning and says "could not list graphs" ...
This repository is used already by SKOS Shuttle - https://skosshuttle.ch so it should contain something like SKOS in a default graph...
What am I missing to get it running?
Thanks (and my compliments)
Cheers
Fabio
The deletion of Concepts does not work
Language settings should be configurable for each graph (not just global for the application)
It should be possible to add new free Concepts
It is useful (and even necessary) that the document is scrollable during the drag and drop process. This feature is not natively supported by browsers.
Is it possible to use skosjs with fuseki server
User might not understand what a Concept or a Scheme is and how they should use it
Support for literal true/false values would be useful, otherwise they need to be entered as string values which allows for all kinds of typos.
Hi Thomas,
I ran this script and i can view the UI and can query the data from fuseki server.
here the only problem is the query which is in the skos-client.js is not matching with skos.rdf.
please clarify me that do you have any dataset. or share any sample query for skos rdf.
Thanks in Advance.
subbu
Text div is to hight if text is longer than with
In the graph selection, it could be useful to list all graphs that have at least one resource of type skos:Concept. This would allow editing existing SKOS hierarchies more easily
It should be possible to sort Concepts (static or dynamic)
When I select the menu item "Open/Create Graph" a dialog is shown but after a few seconds I see an error message "could not list graphs".
The user might be confused because a concept is doubled via drag and drop
if umlaut are used they are displayed in a wrong way and not changeable anymore (maybe a problem of html encoding?)
The query to create a new concept is not valid as it contains an empty WHERE {} clause.
Previously this was WHERE { ?s ?p ?o }.
Locally I modified the query to INSERT DATA in line the the query to create a top concept.
the delete button only shows that this feature is not yet implemented
The SPARQL for getting the list of projects (named graphs) does not specify which named graph to query for the OPTIONAL part of the pattern (skos-client.js line 249). As such this queries the default graph which does not contain a solution. The result in the front end is that the URI of the project/graph is displayed.
var query = "SELECT DISTINCT ?title WHERE { {GRAPH <"+graph+"> { <"+graph+"> <"+ namespaces.RDF +"type><"+namespaces.SKOSJS+"Project> }}UNION {GRAPH <"+graph+"> { ?a <"+ namespaces.RDF +"type><" + namespaces.SKOS + "Concept> }}OPTIONAL {<"+graph+"> <" + OPTIONS.LABEL_GRAPH + "> ?title.}}";//FILTER (lang(?title) = '" + language + "')
should be changed to:
var query = "SELECT DISTINCT ?title WHERE { {GRAPH <"+graph+"> { <"+graph+"> <"+ namespaces.RDF +"type><"+namespaces.SKOSJS+"Project> }}UNION {GRAPH <"+graph+"> { ?a <"+ namespaces.RDF +"type><" + namespaces.SKOS + "Concept> }}OPTIONAL {GRAPH <"+graph+"> {<"+graph+"> <" + OPTIONS.LABEL_GRAPH + "> ?title.}}}";//FILTER (lang(?title) = '" + language + "')
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.