Re: test cases for fromUnionQuery, please

Thank you, Eric, for the complement.

# waiting for the compliment, next ;-)

Maybe some description of user's intent is helpful:
(if I don't care being verbose)

This user wants to get all the information about
"who knows who's mbox", using only data in <c> and <d>.

My catch copy is "being simple".
# although Eric gave me a bonus '}'  ;-)

Cheers,
Yoshio
fukushige.yoshio@jp.panasonic.com
fuku@w3.org


EricP:
> Recording Yoshio and my whiteboard discussion here:
> 
> Given this data:
>   <c>:
>  <A> knows <B>
> 
>   <d>:
>  <B> mbox <mailto:b>
> 
> It seems the following 4 expressions are all equivilent:
> 
> (1) (Named Graphs (arbitrary pre-existing data)):
>   FROM <c> <d>
>   WHERE {
>  GRAPH ?g { ?who knows ?whom } .
>  GRAPH ?g { ?whom mbox ?mbox } .
>  FILTER ?g = <c> || ?g = <d>
> 
> (2) (Source (arbitrary pre-existing data)):
>   FROM <c> <d>
>   WHERE {
>  SOURCE ?g { ?who knows ?whom } .
>  SOURCE ?g { ?whom mbox ?mbox } .
>  FILTER ?g = <c> || ?g = <d>
> 
> (3) (No Default Graph): 
>   FROM <c> <d>
>   WHERE {
>  ?who knows ?whom .
>  ?whom mbox ?mbox } }
> 
> (?) (Source + CLEAR (arbitrary pre-existing data)):
>   CLEAR
>   FROM <c> <d>
>   WHERE {
>  ?who knows ?whom .
>  ?whom mbox ?mbox } }
> 
> It is also possible to compile (3) into (1) or (2).

----- Original Message ----- 
From: "Eric Prud'hommeaux" <eric@w3.org>
To: "Yoshio FUKUSHIGE" <fuku@w3.org>
Cc: "RDF Data Access Working Group" <public-rdf-dawg@w3.org>
Sent: Thursday, June 02, 2005 2:48 PM
Subject: Re: test cases for fromUnionQuery, please

Received on Thursday, 2 June 2005 07:32:56 UTC