-
Notifications
You must be signed in to change notification settings - Fork 15
Description
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:

`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.