On Feb 6, 2017, at 12:33 PM, Beppe Mazzola <[email protected]> wrote: > > Hi to everybody > > I am new to Virtuoso. I am using Virtuoso Open Source 7 in both Windows and > Linux
Hi, Beppe --
VOS 7 covers several years and includes many minor-versions.
It's often helpful (though not always necessary) to know the
exact version in use. This is usually best discovered on the
command-line with --
{virtuoso-binary-name} -?
-- e.g. --
virtuoso-t -?
The first several lines should be provided, as they may all
be relevant. The `Usage:` section can generally be left off.
> I am trying to delete the content of a graph with 75 triples. I have tried
> using the following statements both in ISQL and in the Orchestrator. The
> whole graph removal is tried as well.
>
> [...]
>
> They do not issue errors, but the graph content is not deleted.
This command should completely drop the graph and all statements
contained therein --
SPARQL DROP SILENT <Graph-IRI> ;
If this call is made within a transaction, you might be losing
its effect by not concluding the transaction with --
COMMIT WORK ;
I'm not aware of any bugs along this line, but it's possible
you've encountered one in the version you're running, or that
there's a larger context leading to the behavior you've described.
> It happens both in Windows and in Linux as well as with other graphs.
>
> To execute the commands the user I am logged in is the one who have generated
> the graph with R2RML, and has the dba role.
>
> If I query the available graphs I see the one I am trying to empty. So it's
> there.
>
> SELECT ?g count(?g) as ?cnt
> {
> GRAPH ?g {?s ?p ?o .}
> } GROUP BY ?g
>
> g cnt
> http://test.com/semantic_webgate/dataset/pesticides/resource#
> 75
>
>
> My virtuoso.ini file has only these lines modified.
> SQL_UTF8_EXECS = 1
> DefaultHost = test.com
> DirsAllowed = ., ../vad, C:/tmp
Note that "test.com" is a live domain, so you may get some
surprising results when working with this setting.
"example.com" is usually a better choice, or an actual FQDN
under your control, optimally resolving to your Virtuoso host.
Regards,
Ted
> Anyone has any idea of the reason why I cannot delete the graph content?
>
> Thanks a lot in advance!
>
> Cheers
>
> Beppe
--
A: Yes. http://www.idallen.com/topposting.html
| Q: Are you sure?
| | A: Because it reverses the logical flow of conversation.
| | | Q: Why is top posting frowned upon?
Ted Thibodeau, Jr. // voice +1-781-273-0900 x32
Senior Support & Evangelism // mailto:[email protected]
// http://twitter.com/TallTed
OpenLink Software, Inc. // http://www.openlinksw.com/
10 Burlington Mall Road, Suite 265, Burlington MA 01803
Weblog -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter -- http://twitter.com/OpenLink
Google+ -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Virtuoso-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/virtuoso-users
