Re: [Virtuoso-users] Comparing date/time literals of different types

2011-06-21 Thread Ivan Mikhailov
Martin, It's roll of dice. SPARQL comparison of RDF literals of different types is not specified, the exception is comparison of RDF literals of different numeric types. I intend to improve it, well, some day, but I should warn that it will be in some distant future. Please cast values to some co

Re: [Virtuoso-users] Mapping two table into one quad storage?

2011-06-21 Thread Hugh Williams
Hi Hoan, You can create your own Quad Map Storage for loading your RDFView into or use the virtrdf:DefaultQuadStorage location used by the conductor when creating RDFViews as detailed at: http://docs.openlinksw.com/virtuoso/rdfsparqlintegrationmiddleware.html#rdfviewconfiguring

[Virtuoso-users] "0001"^^xsd:gYear

2011-06-21 Thread Martin Gerlach
Hi, related to my previous question, I noticed that importing the date "0001"^^xsd:gYear (or "0001-01-01"^^xsd:date, or "0001-01-01T00:00:01"^^xsd:dateTime, and no matter whether through isql or SPARQL endpoint) results in a date/time literal with a date part of "8676-02-04". (years ""

[Virtuoso-users] Mapping two table into one quad storage?

2011-06-21 Thread Nguyen Mau Quoc Hoan
Hi. How could I map two table with the same quad storage RDF view? Is this possible? I want to create a quad storage that will be used to store all triple which are created from different table using mapping RDF View. Any help? Thanks in advance.

[Virtuoso-users] Comparing date/time literals of different types

2011-06-21 Thread Martin Gerlach
Hi, is there any documentation on which date/time types can be safely used in comparisons? I noticed that xsd:gYear and xsd:date do not work: SELECT ('2007'^^xsd:gYear < '2007-01-01'^^xsd:date) ('2007'^^xsd:gYear <= '2007-01-01'^^xsd:date) ('2007'^^xsd:gYear > '2007-01-01'^^xsd:date) ('2007'^