csv

Exporting CSV or outputted data from Virtuoso

#!/bin/bash
/usr/local/virtuoso-opensource/bin/isql-v 1111 dba dba <<'EOF' exec="
sparql select ?s ?p ?o {
  ?s ?p ?o.
}
limit 10;"  > /download/output.txt 
EOF
#!/bin/bash
/usr/local/virtuoso-opensource/bin/isql-v 1111 dba dba <<'EOF' exec="
set blobs on; sparql define output:format 'CSV'
select ?s ?p ?o {
  ?s ?p ?o.
}
limit 1000
" > /download/output.txt 
EOF

How to output from isql the result of a sql select query to a file in Virtuoso?

#!/bin/bash
/usr/local/virtuoso-opensource/bin/i
Etiquetas