Thanks for solving my previous problem. Next, I am looking at creating procedures.
I somehow do not manage to use VPL variables in sparql queries:
CREATE PROCEDURE VAS_PROPERTY_LABEL (in _uri varchar) {
for (sparql select ?v1_lab where { _uri skos:prefLabel ?v1_lab}) do {
                                                         ^^^^^
          RETURN "v1_lab";
       }
   RETURN _uri;
}
Can I use VPL variables in sparql queries in procedures?
(I know how to include "sql"-variables using $: but that does not seem to be working here)

Are there  examples specific to sparql VPL mixing available somewhere?

Thanks,

Lourens


Reply via email to