Changes between Version 1 and Version 2 of Virtuoso


Ignore:
Timestamp:
12/20/10 01:23:02 PM (8 years ago)
Author:
wiedi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Virtuoso

    v1 v2  
    1616=== Are there more limitations? === 
    1717In [http://docs.openlinksw.com/virtuoso/fn_file_to_string.html file_to_string()] the file size is limited to 16 MB. 
     18 
     19 
     20=== Common SPARQL Queries === 
     21==== Namespaces ==== 
     22{{{ 
     23PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
     24PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 
     25PREFIX dc:   <http://purl.org/dc/elements/1.1/> 
     26PREFIX owl:  <http://www.w3.org/2002/07/owl#> 
     27PREFIX foaf: <http://xmlns.com/foaf/0.1/> 
     28}}} 
     29 
     30==== Graphs ==== 
     31Show all Graphs: 
     32{{{ 
     33SELECT  DISTINCT ?g 
     34WHERE { 
     35   GRAPH  ?g { 
     36    ?s ?p ?o . 
     37  } 
     38} 
     39ORDER BY DESC(?g) 
     40}}} 
     41 
     42Delete Graph: 
     43{{{ 
     44CLEAR GRAPH <http://example.com/myGraph#> 
     45}}} 
     46 
     47==== counting ==== 
     48Most common 10 items (taken from different urls): 
     49{{{ 
     50PREFIX xy: <http://example.com/xy/> 
     51PREFIX dc:   <http://purl.org/dc/elements/1.1/> 
     52 
     53SELECT COUNT(?url), ?s 
     54WHERE { 
     55    ?sub xy:item ?s . 
     56    ?sub dc:source ?url . 
     57} 
     58ORDER BY DESC(COUNT(?url)) 
     59LIMIT 10 
     60 
     61}}} 
     62 
    1863 
    1964