BetaMasaheft / Documentation

Die Schriftkultur des christlichen Äthiopiens: Eine multimediale Forschungsumgebung
3 stars 3 forks source link

Visualizations under Resources as well as Syntax view, Work map - do not work #2118

Open eu-genia opened 2 years ago

eu-genia commented 2 years ago

It seems that in the new release none of the visualizations offered here https://betamasaheft.eu/visualizations.html or in the buttons above the records (ms, work) works properly. I had previously removed gender because the SPARQL does not function (https://github.com/BetaMasaheft/Documentation/issues/2047) but it seems that none of the others produces any results either...

eu-genia commented 2 years ago

Sankey diagram should appear here - nothing Sankey diagram of the manuscript

Places should appear here - nothing https://betamasaheft.eu/works/LIT1709Kebran/geoBrowser

PietroLiuzzo commented 2 years ago

Please note that an issue written in May, can very hardly be related to a Release made in January, provided this is the release you mean. It is not clear why you expect a sankey diagram where there are no SdC relations and description provided. The LIT file you point to does not have any placeName in it, so, it correctly shows none. I have fixed the module on the basis of https://betamasaheft.eu/works/LIT3122Galaw/geoBrowser

eu-genia commented 2 years ago

here DabraLibanosHamGG1 or ESamq006 there are sdc relations but I get no result at https://betamasaheft.eu/manuscripts/DabraLibanosHamGG1/graph either

is what is see here https://betamasaheft.eu/workmap?type=repo&worksid=LIT1709Kebran the expected behavior?

as for https://betamasaheft.eu/LitFlow (I do not know what to select and i never looked into LitFlowRest.xqm or LitFlow.xqm) image

PietroLiuzzo commented 2 years ago

for the geobrowser, the fix, already in the live application, not in the repo is replacing the first part of the function in workmap.xqm

declare 
%rest:GET
%rest:path("/BetMasWeb/workmap/KML/{$workid}")
%rest:query-param("type", "{$type}", "repo")
%output:method("xml")
function workmap:kml($workid as xs:string, $type as xs:string*) {
$config:response200,
let $work := 'https://betamasaheft.eu/' || $workid
.... 

it was getting the id and looking for that instead of the uri

eu-genia commented 2 years ago

"gender" works but it does not bring the results as it used to https://github.com/BetaMasaheft/Documentation/issues/1450

it only finds 4 females now, some data must be missing

eu-genia commented 4 months ago

maps were fixed by https://github.com/BetaMasaheft/Documentation/issues/1111 https://github.com/BetaMasaheft/Documentation/issues/1911 but do not work again https://github.com/BetaMasaheft/Documentation/issues/2577