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
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to