Re: ISSUE-20: SPARQL Update: Empty vs non-existent graphs

On 07/01/2010 9:06 PM, Paul Gearon wrote:
> On Wed, Dec 23, 2009 at 6:33 AM, Andy Seaborne<andy.seaborne@talis.com>  wrote:
>> ISSUE-20
    ...
>> It can show up in query in
>>    SELECT * { GRAPH ?g {...} }
>
> Just to be clear, we expect:
>
>    SELECT ?g { GRAPH ?g { ?s ?p ?o } }
>
> to only return graphs with something in them, right? I suppose this
> means there's no standard way to query for the existence of an empty
> graph.

The simplest would be:

SELECT ?g { GRAPH ?g { } }

	Andy

Received on Friday, 8 January 2010 09:58:43 UTC