Hi Julien,

As, this query works against the latest commercial archive build as indicated 
in Kingsley sample query against or LOD server hosting the DBpedia datasets 
then this would indicate this issue is resolved in the latest archives which 
need to be published on the git repository, which is currently being work on 
internally. Thus I shall let you know when this is complete or you can track 
the updates to the git develop/7 branch using the following RSS feed:

        https://github.com/openlink/virtuoso-opensource/commits/develop%2F7.atom

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 25 Oct 2013, at 21:49, Julien Plu <julien....@redaction-developpez.com> 
wrote:

> Hi Hugh,
> 
> I just cloned and compiled the develop/7 git branch, and the bug is not 
> solved. The dataset is just DBpedia.
> 
> Best.
> 
> Julien.
> 
> 
> 2013/10/25 Hugh Williams <hwilli...@openlinksw.com>
> Hi Julien,
> 
> Is would be useful to try against a develop/7 git branch which has more 
> recent fixes ? Or if you can provide a pointer to  the datasets to load to 
> recreate this problem then we can load them into a latest commercial build 
> from out latest internal archive to check against that ...
> 
> 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 25 Oct 2013, at 20:45, Julien Plu <julien....@redaction-developpez.com> 
> wrote:
> 
>> I compiled the stable version from here : 
>> https://github.com/openlink/virtuoso-opensource/tree/stable/7
>> 
>> Best.
>> 
>> Julien.
>> 
>> 
>> 2013/10/25 Kingsley Idehen <kide...@openlinksw.com>
>> On 10/25/13 2:28 PM, Julien Plu wrote:
>>> The query works on a Virtuoso 6 yes : 
>>> http://fr.dbpedia.org/sparql?default-graph-uri=&query=select+distinct+count%28%3Fbirth%29+count%28%3Fdeath%29%0D%0Awhere+%7B++++++++++++++%0D%0A++++%3Fentity+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FbirthDate%3E+%3Fbirth+.+++++%0D%0A++++filter%28datatype%28%3Fbirth%29+%3D+xsd%3Adate%29.%0D%0A++++OPTIONAL+%7B%3Fentity+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FdeathDate%3E+%3Fdeath+.%0D%0A++++++++++++filter%28datatype%28%3Fdeath%29+%3D+xsd%3Adate%29.%0D%0A+++
>>>  +%7D%0D%0A%7D&format=text%2Fhtml&timeout=0&debug=on
>>> 
>>> And even this query :
>>> 
>>> prefix xsd: <http://www.w3.org/2001/XMLSchema#>
>>> select distinct count(?birth) count(?death)
>>> 
>>> where {              
>>> 
>>>     ?entity <http://dbpedia.org/ontology/birthDate> ?birth .     
>>> 
>>>     filter(datatype(?birth) = xsd:date).
>>> 
>>>     OPTIONAL {?entity <http://dbpedia.org/ontology/deathDate> ?death .
>>> 
>>>             filter(datatype(?death) = xsd:date).
>>> 
>>>     }
>>> 
>>> }
>>> 
>>> 
>>> Doesn't works. You can try it here : http://data.lirmm.fr:8890/sparql/
>>> 
>>> 
>>> Best.
>>> 
>>> 
>>> Julien.
>>> 
>> 
>> Okay, this is a bug in V7 (or at least the release you are using since the 
>> LOD instance is actually V7 too).
>> 
>> 
>> Kingsley 
>>> 
>>> 
>>> 2013/10/25 Kingsley Idehen <kide...@openlinksw.com>
>>> On 10/25/13 11:35 AM, Julien Plu wrote:
>>>> select distinct count(?birth) count(?death)
>>>> 
>>>> where {              
>>>> 
>>>>     ?entity <http://dbpedia.org/ontology/birthDate> ?birth .     
>>>> 
>>>>     filter(datatype(?birth) = xsd:date).
>>>> 
>>>>     OPTIONAL {?entity <http://dbpedia.org/ontology/deathDate> ?death .
>>>> 
>>>>             filter(datatype(?death) = xsd:date).
>>>> 
>>>>     }
>>>> 
>>>> }
>>>> 
>>>> 
>>>> And this query return the good results :
>>>> 
>>>> select distinct count(?birth) count(?death)
>>>> 
>>>> where {              
>>>> 
>>>>     ?entity <http://dbpedia.org/ontology/birthDate> ?birth .     
>>>> 
>>>>     filter(datatype(?birth) = "http://www.w3.org/2001/XMLSchema#date";).
>>>> 
>>>>     OPTIONAL {?entity <http://dbpedia.org/ontology/deathDate> ?death .
>>>> 
>>>>             filter(datatype(?death) = 
>>>> "http://www.w3.org/2001/XMLSchema#date";).
>>>> 
>>>>     }
>>>> 
>>>> }
>>>> 
>>>> 
>>>> Have-I missed something or is-it really a bug from Virtuoso 7 ?
>>>> 
>>>  It's a bug if you don't have this issue when using Virtuoso 6. That said, 
>>> I would expect the following to work:
>>> 
>>> prefix xsd: <http://www.w3.org/2001/XMLSchema#> 
>>> select distinct count(?birth) count(?death)
>>> 
>>> where {              
>>> 
>>>     ?entity <http://dbpedia.org/ontology/birthDate> ?birth .     
>>> 
>>>     filter(datatype(?birth) = xsd:date).
>>> 
>>>     OPTIONAL {?entity <http://dbpedia.org/ontology/deathDate> ?death .
>>> 
>>>             filter(datatype(?death) = xsd:date).
>>> 
>>>     }
>>> 
>>> }
>>> Proof:
>>> 1. http://kingsley.idehen.net/c/DBYF6E -- query against LOD Cloud Cache .
>>> 
>>> 
>>> -- 
>>> 
>>> Regards,
>>> 
>>> Kingsley Idehen           
>>> Founder & CEO 
>>> OpenLink Software     
>>> Company Web: http://www.openlinksw.com
>>> Personal Weblog: http://www.openlinksw.com/blog/~kidehen
>>> Twitter/Identi.ca handle: @kidehen
>>> Google+ Profile: https://plus.google.com/112399767740508618350/about
>>> LinkedIn Profile: http://www.linkedin.com/in/kidehen
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> October Webinars: Code for Performance
>>> Free Intel webinars can help you accelerate application performance.
>>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most 
>>> from 
>>> the latest Intel processors and coprocessors. See abstracts and register >
>>> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
>>> 
>>> 
>>> _______________________________________________
>>> Virtuoso-users mailing list
>>> Virtuoso-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>> 
>> 
>> -- 
>> 
>> Regards,
>> 
>> Kingsley Idehen            
>> Founder & CEO 
>> OpenLink Software     
>> Company Web: http://www.openlinksw.com
>> Personal Weblog: http://www.openlinksw.com/blog/~kidehen
>> Twitter/Identi.ca handle: @kidehen
>> Google+ Profile: https://plus.google.com/112399767740508618350/about
>> LinkedIn Profile: http://www.linkedin.com/in/kidehen
>> 
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
>> the latest Intel processors and coprocessors. See abstracts and register >
>> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Virtuoso-users mailing list
>> Virtuoso-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>> 
>> 
>> ------------------------------------------------------------------------------
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most 
>> from 
>> the latest Intel processors and coprocessors. See abstracts and register >
>> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk_______________________________________________
>> Virtuoso-users mailing list
>> Virtuoso-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
> 
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk_______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to