Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sampo on Virtuoso KG #61

Open
FPannach opened this issue Jun 20, 2024 · 0 comments
Open

Sampo on Virtuoso KG #61

FPannach opened this issue Jun 20, 2024 · 0 comments

Comments

@FPannach
Copy link

Hi,

we are running our KG on Virtuoso and I am trying to set up a sampo app for us. I followed the tutorial and watched the video, but my queries do not seem to go through to the frontend. The endpoint is set up correctly, I get the right number of instances in the perspective, but nothing else. I set up the endpoint for Yasgui, and there the queries work and I get the right results.

Now I noticed in the video, around 18:55, Heikki says something along the lines that it is easy to set up the queries for Virtuoso, but unfortunately I cannot hear the rest of the sentence properly.

I currently have just two properties and one facet, the standard ones from the tutorial:
"properties": [ { "id": "prefLabel", "valueType": "object", "makeLink": true, "externalLink": true, "sortValues": true, "numberedList": false, "onlyOnInstancePage": true }, { "id": "uri", "valueType": "object", "makeLink": true, "externalLink": true, "sortValues": true, "numberedList": false, "onlyOnInstancePage": true } ], "facets": { "prefLabel": { "containerClass": "one", "facetType": "text", "filterType": "textFilter", "sortByPredicate": "skos:prefLabel", "textQueryProperty": "skos:prefLabel" }

The table head is also empty, despite having specified the properties:
grafik

`const perspectiveID = 'perspective1'

export const workProperties = `
{
?id skos:prefLabel ?prefLabel__id
BIND(?prefLabel__id AS ?prefLabel__prefLabel)
BIND(CONCAT("/${perspectiveID}/page/", REPLACE(STR(?id), "^.*\\/(.+)", "$1")) AS ?prefLabel__dataProviderUrl)
BIND(?id as ?uri__id)
BIND(?id as ?uri__dataProviderUrl)
BIND(?id as ?uri__prefLabel)
}
``

Any help would be very much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant