Hi Hugh,
Sorry for not responding sooner.
I didn't develop the application that ran the import and export so I had to do
some research.
Looks like the application uses com.hp.hpl.jena.graph.BulkUpdateHandler to
import and export the data.
Also, I have noticed one thing - the BulkUpdateHandler's removeAll() function
is very slow (> 1 hour) to remove data (< 50,000 triples) from Virtuoso.
Do you know if there is a better function to remove the graph data within a
reasonably short time?
Thank you so much for your help.
Eliza
From: Hugh Williams <hwilli...@openlinksw.com<mailto:hwilli...@openlinksw.com>>
Date: Sunday, February 15, 2015 7:31 PM
To: Eliza Chan <elc2...@med.cornell.edu<mailto:elc2...@med.cornell.edu>>
Cc: james anderson <ja...@dydra.com<mailto:ja...@dydra.com>>,
"virtuoso-users@lists.sourceforge.net<mailto:virtuoso-users@lists.sourceforge.net>"
<virtuoso-users@lists.sourceforge.net<mailto:virtuoso-users@lists.sourceforge.net>>
Subject: Re: [Virtuoso-users] Virtuoso changes nonNegativeInteger to Integer
Hi Eliza,
Can you please provide steps of how you are importing the data into Virtuoso
and then exporting it, so it can be tried locally ?
Also, note that the Virtuoso 7.2 stable/7 release went out last week [1], thus
I would suggest updating from source forge or git and retesting …
[1]
http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/#2015-02-11:%20Virtuoso%207.2.0%20Released,%20Open%20Source%20and%20Commercial%20Editions
Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc. // http://www.openlinksw.com/
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
On 12 Feb 2015, at 18:06, Eliza Chan
<elc2...@med.cornell.edu<mailto:elc2...@med.cornell.edu>> wrote:
Hi James,
Thank you for your feedback.
Please see the following reasons for keeping the nonNegativeInteger type:
1) The designation of nonNegativeInteger makes sense for the maxCardinality
property. We know that a negative value would be invalid, and we'd like to
clearly express that.
2) We obtain our ontologies from a variety of sources. They are designed and
maintained by their originators. As long as they are semantically valid, we
would like to use them without modification.
3) For the reason of data integrity, we'd like to restrict the type so that we
are confident that it will retain its assigned type when writing into and
reading out of the triple store.
That's why it would be very nice if Virtuoso could accommodate the
nonNegativeInteger type without modifying it.
Regards,
Eliza
From: james anderson <ja...@dydra.com<mailto:ja...@dydra.com>>
Date: Thursday, February 12, 2015 6:42 AM
To: Eliza Chan <elc2...@med.cornell.edu<mailto:elc2...@med.cornell.edu>>
Subject: Re: [Virtuoso-users] Virtuoso changes nonNegativeInteger to Integer
good morning, ms chan;
i write to you as a bystander on the virtuoso list, who is most curious, what
you use case is, such the the specific concrete datatype,
xsd:nonNegativeInteger, is in itself significant, rather than just the domain
value itself?
is the mechanism which interprets the owl definition so restrictive, that it is
not sufficient, that the actual type of the domain value satisfy the constraint
and, in addition, the domain specified in the literal must also conform?
are you at liberty to describe why the integer type is not specifically
sufficient?
best regards, from berlin,
On 2015-02-11, at 16:49, Eliza Chan
<elc2...@med.cornell.edu<mailto:elc2...@med.cornell.edu>> wrote:
Hi,
We are facing an issue with the import of some RDF files to Virtuoso.
The issue here is, Virtuoso changes all the nonNegativeInteger datatypes to
integer.
Please see the following example …
Original content being imported into Virtuoso:
<owl:Restriction>
<owl:onProperty rdf:resource="http://www.w3.org/2006/vcard/ns#country"/>
<owl:maxCardinality
rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:maxCardinality>
</owl:Restriction>
Export from Virtuoso:
<rdf:Description rdf:nodeID="b17159">
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Restriction" />
<owl:onProperty rdf:resource="http://www.w3.org/2006/vcard/ns#country" />
<owl:maxCardinality
rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</owl:maxCardinality>
</rdf:Description>
Note that the datatype for maxCardinality has been modified by Virtuoso from
nonNegativeInteger to integer.
Is there a way to resolve this issue so that Virtuoso is able to keep the
original datatype?
FYI - We are using Virtuoso Open Source stable version 7.
Thank you so much for your help.
Eliza
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now.
http://goparallel.sourceforge.net/_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net<mailto:Virtuoso-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/virtuoso-users
---
james anderson | ja...@dydra.com<mailto:ja...@dydra.com> |
http://dydra.com<http://dydra.com/>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now.
http://goparallel.sourceforge.net/_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net<mailto:Virtuoso-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/virtuoso-users
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users