Hi Fred,
This looks like a general bug in the latest builds, as I get the same error
running the following similar query against our v7 LOD Cloud server,
http://lod.openlinksw.com/sparql:
select ?s ?p ?o (DATATYPE(?o)) as ?otype (LANG(?o)) as ?olang
where
{
{
select distinct ?s
where
{
?s a ?type.
}
limit 50
offset 0
}
?s ?p ?o
}
and have reported this to development to look into ...
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 30 Jan 2014, at 18:23, Frederick Giasson <f...@fgiasson.com> wrote:
> Hi,
>
> I am wondering if I found a compability issue between VOS 6.1.6 and 6.1.8.
>
> I did compile VOS 6.1.8 without any issues, then I ran with with a VOS 6.1.6
> database file. There was no issues, and everything was working as expected,
> until I use the following SPARQL query:
>
>
> ==========
> select ?s ?p ?o (DATATYPE(?o)) as ?otype (LANG(?o)) as ?olang
> where
> {
> {
> select distinct ?s from <http://localhost/datasets/organizations/import>
> where
> {
> ?s a ?type.
> }
> limit 50
> offset 0
> }
>
> ?s ?p ?o
> }
> ==========
>
> If I am requesting the following mimes to the /sparql/ endpoint:
>
> (a) application/sparql-results+xml
> (b) application/sparql-results+json
>
> I am getting the following content from the endpoint:
>
>
> ==========
> <sparql xmlns="http://www.w3.org/2005/sparql-results#"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.w3.org/2001/sw/DataAccess/rf1/result2.xsd">
> <head>
> <variable name="s"/>
> <variable name="p"/>
> <variable name="o"/>
> <variable name="otype"/>
> <variable name="olang"/>
> </head>
> <results distinct="false" ordered="true">
> <result>
> <binding
> name="s"><uri>http://localhost/resources/organization/Random_House</uri></binding>
> <binding
> name="p"><uri>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</uri></binding>
> <binding
> name="o"><uri>http://dbpedia.org/ontology/Publisher</uri></binding>
> </result>
> <result>
> <binding
> name="s"><uri>http://localhost/resources/organization/Random_House</uri></binding>
> <binding
> name="p"><uri>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</uri></binding>
> <binding
> name="o"><uri>http://www.w3.org/ns/org#Organization</uri></binding>
> </result>
> <result>
> <binding
> name="s"><uri>http://localhost/resources/organization/Random_House</uri></binding>
> <binding name="p"><uri>http://xmlns.com/foaf/0.1/homepage</uri></binding>
> <binding name="o"><uri>http://www.randomhouse.com</uri></binding>
> </result>
> <result>
> <binding
> name="s"><uri>http://localhost/resources/organization/Random_House</uri></binding>
> <binding
> name="p"><uri>http://dbpedia.org/ontology/numberOfEmployees</uri></binding>
> <binding name="o"><literal
> datatype="http://www.w3.org/2001/XMLSchema#integer">5712</literal></binding>Virtuoso
> 22023 Error SR544: Function __xsd_type() can not find XML Schema datatype
> that matches SQL datatype UNAME (217)
>
> SPARQL query:
> select ?s ?p ?o (DATATYPE(?o)) as ?otype (LANG(?o)) as ?olang
> where
> {
> {
> select distinct ?s from
> <http://localhost/datasets/organizations/import>
> where
> {
> ?s a ?type.
> }
> limit 50
> offset 0
> }
>
> ?s ?p ?o
> }
> ==========
>
>
> Obviously, the error is related to the datatype request. However, I am not
> sure why it chokes there, and in that way. If I request the text/html mime,
> it works fine.
>
> Is it just that something is missing in the 6.1.6 database that is now
> required by 6.1.8 related to these datatypes? If so, is this something I can
> create by hands?
>
>
> Thanks,
>
> Take care,
>
> Fred
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends. Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk_______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users