Hello Houda
In fresh versions of Virtuoso, you can use sql:SAMPLE() as a temporary
workaround for missing SAMPLE ().
SPARQL 1.1 will be supported rather sooner than later, we hope we can
make it one of two implementations required by W3C policy for CR status
of the spec.
Best Regards,
Ivan Mikha
Hi Houda,
Virtuoso does now implement the SPARQL 1.1 GROUP_CONCAT and SAMPLE aggregate
functions.
Note however their is a slight deviation from SPARQL 1.1 in that as the
specification is not fully ratified stable, SAMPLE and GROUP_CONCAT are not
added as keywords directly and need to be pref
Hi,
I need to know how to return one random label (for each item) when the item
has several labels (using SPARQL). I tried the following query, but it
returns the same label for all persons
SELECT ?person ?name WHERE {
?person a foaf:Agent .
{ SELECT ?name WHERE {
?person rdfs:label ?name
}