ShowVoc: Display information: local vs remote dataset

80 views
Skip to first unread message

Emidio Stani

unread,
Sep 27, 2024, 6:59:13 AM9/27/24
to vocbench-user
Hello,

for a client I am proposing the usage of ShowVoc.

So, on my laptop, I have installed Graphdb with lucene plugin and connecting simply ShowVoc with GraphDb.

Now, if I create a dataset on ShowVoc by accessing a remote repository on GraphDB:
- I can see the list of concepts and concept scheme on the left side
- When I click on a concept I would expect to see the  list the metadata related (type skos:Concept, broader etc.) on the right side. 
When I click on the data-oriented graph of the concept I can see all the metadata related.
- I cannot see the alignments with other concepts in the Alignment view

If I create a dataset on ShowVoc as local I am able to see the list of metadata and see alignments in the Alignment view

Is this normal behaviour, if not what I should do ?

Note that I didn't touch the ResourceView at all to hide or show the metadata.

Thanks,

Emidio


 

dataset-remote.png
dataset-local.png

Emidio Stani

unread,
Sep 27, 2024, 8:05:03 AM9/27/24
to vocbench-user
Some more information on the system

I realize that I have I GraphDB 10.5 while in the manual is written 10.6.2. I will try again and let you know.

Emidio Stani

unread,
Sep 27, 2024, 8:59:17 AM9/27/24
to vocbench-user
Hello,

I have just tried again with ShowVoc 3.2.0 and GraphDB 10.6.2 or 10.7.4 and I experience the same problem.

Roland Wingerter

unread,
Sep 27, 2024, 11:31:54 AM9/27/24
to vocbench-user
Dear Emidio,
go to the admin dashboard and open the dropdown menu in the table's last column. Run Create/refresh dataset and metadata Create/refresh index. That should help.
Kind regards
Roland

Emidio Stani

unread,
Sep 27, 2024, 11:40:57 AM9/27/24
to vocbench-user
Thanks you Roland, I have tried that and it doesn't solve the issue.

You can also notice from the screenshots that the icons next to concepts change, is it also designed like this ?

Cheers,

Emidio

Roland Wingerter

unread,
Sep 27, 2024, 1:05:50 PM9/27/24
to vocbench-user
Concepts should have blue, round icons. Something is wrong with the data or the project configuration, but I'm sorry, right now I have no idea what it could be.

Emidio Stani

unread,
Sep 27, 2024, 4:33:41 PM9/27/24
to vocbench-user
Thanks Roland to try to help,

it is the same file, having skos:Concept and skos:ConceptScheme, but loaded in 3 ways:
1) create local and upload a turtle file from ShowVoc, that works I see the concepts in blue
2) create remote and upload a turtle file from ShowVoc, that works as well, I see the concepts in blue and I can see it is created on GraphDB
3) access remote from GraphDB, where I uploaded my file, the icons are the purple diamonds and I cannot display the metadata.

Cheers

Roland Wingerter

unread,
Sep 28, 2024, 11:45:22 AM9/28/24
to vocbench-user
Dear Emidio,

That explains it. The third method is not recommended, it is better to create projects in VocBench or ShowVoc.

As a test, I created a project in GRAPHDB (using the default settings offered by GDB) and imported a small SKOS-XL thesaurus.
When I access the remote repo in VB3 the concepts are displayed with the purple diamonds icon and the resource view is empty, just like in your screenshot. 

Running the following SPARQL query shows that the data have been imported into the NULL graph.

PREFIX rdf4j: <http://rdf4j.org/schema/rdf4j#>

## Count triples per graph
SELECT DISTINCT ?g
(COUNT(*) as ?count )
WHERE {
    {
    GRAPH ?g  { ?s ?p ?o . }
    }
    UNION    
    {
        GRAPH rdf4j:nil { ?s ?p ?o }
        BIND (rdf4j:nil AS ?g )
}
} GROUP BY ?g

You can fix that in VB3. Open the project in VB3, go to Global Data Management then choose "Refactoring" and "Migrate data to baseURI graph".

Kind regards
Roland

Emidio Stani

unread,
Oct 1, 2024, 6:30:06 AM10/1/24
to Roland Wingerter, vocbench-user
Thank you Roland for your time to investigate!

My intention is to automate the insertion of data in GraphDB, coming from other data sources, and so display it in ShowVoc for end users. 

I could create a project once from ShowVoc storing it in GraphDB and then perform sparql update queries on the graphdb repository, I will try it.

It would be nice to fix the third method though.

Cheers,

Emidio
 

--
You received this message because you are subscribed to the Google Groups "vocbench-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vocbench-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vocbench-user/11e33a44-d4dc-4a42-aecc-07fd3ba3ee33n%40googlegroups.com.


--
Emidio Stani

Eric vanderLinden

unread,
Oct 5, 2024, 10:15:16 AM10/5/24
to vocbench-user
I have the same issue's.
I had the third option and in GraphDB and the NULL graph problem you mention.
I tried the solution: go to Global Data Management then choose "Refactoring" and "Migrate data to baseURI graph".
But for the error:  Could not open RDF4J Connection for transaction
Some rights issue? everything is on the same ubuntu server.

I deleted the dataset in showvoc and vocbench, the repository in graphDB was deleted and did the second option.
Now the issue with the ResourceView solved... I see the information but all the matches exact, brad narrow etc. are not links anymore, internal and external. 
Is there a way to have both.

an extra question the concepts in the ResourceView are the id's only, is there a way to include the label. 

Roland Wingerter

unread,
Oct 6, 2024, 12:55:08 PM10/6/24
to vocbench-user
Dear Eric,

If you do not see labels, I guess the project type and lexicalization models do not fit the data. The easiest solution is to start over again and recreate the project in ShowVoc or VB3.
Check out the " Optional data preloading " option in VB3, which automatically determines the suitable project type and lexicalization model from the file content.
Kind regards
Roland

Eric vanderLinden

unread,
Oct 7, 2024, 10:06:50 AM10/7/24
to vocbench-user
As an update...
I was very focussed on this being a template problem. Thank you for pointing out the other option.
I've got it now.

The other issue, with the clickable narrower, broader etc. in the suet view.
You need to double click, I found out by chance when my finger had a nervous twitch and accidentally clicked twice.
This is more a UI problem. In the result view the left pane you click once, so you expect this in the right pane as wel.

there are icons/pointers for doubleClick.

Eric

Reply all
Reply to author
Forward
0 new messages