It doesn't matter if you choose a URI that would or would not match in the
data set.  I've had results come back empty on other queries and you get a
valid SPARQL result set XML with no results in it.  The key is that it
chokes on the '=' sign.

On Mon, Sep 13, 2010 at 2:47 PM, Scott Henninger <[email protected]
> wrote:

> Tim; I think this query will return no results.  It's unclear to me
> what DBPedia will send in response to this.  We'll look into it and
> see if we can return an empty result set instead of an error message
> for future versions of TBC.
>
> -- Scott
>
> On Sep 13, 3:58 pm, Tim Harsch <[email protected]> wrote:
> > Hi,
> > The following will execute just fine.
> > SELECT ?thing ?class
> > WHERE {
> >     SERVICE <http://dbpedia.org/sparql> {
> >     ?thing rdf:type ?class .
> > FILTER( ?class != <
> http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine#WineDescriptor> )}
> > }
> >
> > LIMIT 10
> >
> > Replace the '!=' with '=' and it will give HTTP 400.  I tried this with a
> > local sparql end point and dbpedia as well.
>
> --
> You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include TopBraid
> Composer,
> TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]<topbraid-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/topbraid-users?hl=en
>

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to