wiki:Virtuoso

Version 1 (modified by wiedi, 8 years ago) (diff)

--

Virtuoso

Get SPARQL Update working

The SPARQL user needs a special sparql_update permission.

How to insert static RDF Files

curl -T static.rdf http://localhost:8890/DAV/home/<username>/rdf_sink/static.rdf -u <username>:<password>

Why aren't all the results returned in my sparql query?

The default for SPARQL/ResultSetMaxRows is 10.000. This can be changed in the configuration.

Are there more limitations?

In file_to_string() the file size is limited to 16 MB.

Ranking

You need the Virtuoso Faceted Browser VAD package.

To calculate the rank execute the following SQL command (use webconsole or isql):

s_rank()

Example Query:

SELECT ?iri( <LONG::IRI_RANK> (?iri) ) AS ?Rank
WHERE 
  {
    ?iri ?x ?y
  }
ORDER BY DESC ( <LONG::IRI_RANK> (?iri) )
LIMIT 10

More Information: