Hi Sergio, i'm very busy the next few weeks - but if you can point me to a download for the 3.4 snapshot I'll give it a go.
Rob On Fri, 3 Jun 2016 at 16:52 Sergio Fernández <[email protected]> wrote: > Maybe it's a bug how our SPARQL engine translate SPARQL into SQL... > Have you test it against 3.4.0-SNAPSHOT? Please, do it and file a jira if > it also fails. > > On Fri, Jun 3, 2016 at 8:07 AM, Rob Atkinson <[email protected]> > wrote: > > > Hi > > > > (although I previously created a couple of issues I dont seem to be able > to > > create one now - no option on dashboard.) > > > > > > Anyway I have a query that is valid and works against Sesame that > Marmotta > > 3.3 complains about: > > > > PREFIX dcterms: <http://purl.org/dc/terms/> > > PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> > > PREFIX void: <http://rdfs.org/ns/void#> > > PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> > > PREFIX lid: <http://id.sirf.net/def/schema/lid/> > > > > SELECT * > > WHERE > > { { { <http://resources.opengeospatial.org/def/voc/examples/mdg> > > rdf:type ?___0 } > > OPTIONAL > > { { ?___0 rdfs:label ?___1 } } > > } > > UNION > > { <http://resources.opengeospatial.org/def/voc/examples/mdg> > > rdfs:label ?___2 } > > UNION > > { <http://resources.opengeospatial.org/def/voc/examples/mdg> > > void:sparqlendpoint ?___10 } > > } > > > > If you remove any one of the UNION clauses it works. > > > > The error comes from the underlying postGres: > > org.openrdf.query.QueryEvaluationException: > > org.postgresql.util.PSQLException: ERROR: each UNION query must have the > > same number of columns > > > > maybe this is an openrdf problem - but it works fine under Sesame - so > > maybe its a version thing? > > > > Cheers > > > > > > -- > Sergio Fernández > Partner Technology Manager > Redlink GmbH > m: +43 6602747925 > e: [email protected] > w: http://redlink.co >
