Hi Marcelo, The build dates between the production and dev servers are over a year apart, thus I would suggest you upgrade the production server to the same build as on the dev box ...
What does the out put of running the following command on both report:
virtuoso-t -?
Note also the latest virtuoso open source build can also be compiled from the
github archive, as based on the build dates of both machine you are not running
our latest 6.1.6 release, which can be obtained from:
http://www.openlinksw.com/dataspace/dav/wiki/Main/VOSGitUsage
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 17 Jan 2013, at 22:15, Marcelo Aliquintuy <[email protected]> wrote:
> Hi.
>
> Im moving to production environment but the virtuoso thats provide Centos
> have different behavior that dev environment.
>
> example:
>
> === dev ===
>
> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> PREFIX cc: <http://www.toeska.cl/ns/contentcompass/ontology/v1.0#>
> select ?facetItem ?facetLabel ?facetItemValue
> FROM <urn:contentcompass:graph:facet>
> where {
> ?facetItem rdfs:label ?facetLabel .
> ?facetItem rdf:type cc:FacetItem .
> optional{ ?facetItem cc:facetItemValue ?facetItemValue} .
> optional{ ?facetItem cc:hasAttribute ?facetAttribute} .
> optional{ ?facetAttribute cc:name ?name} .
> optional{ ?facetAttribute cc:value ?value} .
> FILTER (?facetItem
> in(<http://www.toeska.cl/ns/contentcompass/ontology/time/v1.0#1872>))
> }
> order by ?facetLabel
> LIMIT 1
>
> result set:
> facetItem facetLabel facetItemValue
> http://www.toeska.cl/ns/contentcompass/ontology/time/v1.0#1872
> "1872"^^<http://www.w3.org/2001/XMLSchema#string>
>
>
> ok, one result is ok
>
> === Production ====
>
> Run the same query and result set empty, too bad!
>
> But if i modify the query, grouping all optional like that
>
> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> PREFIX cc: <http://www.toeska.cl/ns/contentcompass/ontology/v1.0#>
> select ?facetItem ?facetLabel ?facetItemValue
> FROM <urn:contentcompass:graph:facet>
> where {
> ?facetItem rdfs:label ?facetLabel .
> ?facetItem rdf:type cc:FacetItem .
> optional{ ?facetItem cc:facetItemValue ?facetItemValue .
> ?facetItem cc:hasAttribute ?facetAttribute .
> ?facetAttribute cc:name ?name .
> ?facetAttribute cc:value ?value} .
> FILTER (?facetItem
> in(<http://www.toeska.cl/ns/contentcompass/ontology/time/v1.0#1872>))
> }
> order by ?facetLabel
> LIMIT 1
>
> result set:
>
> facetItem facetLabel facetItemValue
> http://www.toeska.cl/ns/contentcompass/ontology/time/v1.0#1872 1872
>
> Nice, i got almost the same data. Two things wear here, different behavior
> and different literal representation
> "1872"^^<http://www.w3.org/2001/XMLSchema#string> vs just 1872
>
>
>
>
> Virtuoso versions below, the data was restore from same backup. Have any
> configuration in virtuoso.ini thats explain this differences
> Production Centos:
> OpenLink Virtuoso Server
> Version 06.01.3127-pthreads for Linux as of Jan 14 2011
> Started on: 2013/01/17 18:31 GMT-180
>
> Dev:
> OpenLink Virtuoso Server
> Version 06.01.3127-pthreads for Linux as of Mar 28 2012
> Started on: 2013/01/14 18:20 GMT-180
>
>
>
> Best Regards!
> --
> Marcelo Aliquintuy
> 87433162
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712_______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812
_______________________________________________ Virtuoso-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/virtuoso-users
