W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2004

Re: Named Containers : a framework for aggregation and query

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Tue, 12 Oct 2004 17:31:08 +0100
Message-ID: <416C06CC.3090107@hp.com>
CC: Alberto Reggiori <alberto@asemantics.com>, DAWG public list <public-rdf-dawg@w3.org>

Correction:

Seaborne, Andy wrote:
> 
     <snip/>
> 
> I did the following with cwm from CVS:
> 
> file:X.n3 -----------------------
> @prefix :       <X#> .
> @prefix data:   <http://example.org/data/> .
> @prefix log:    <http://www.w3.org/2000/10/swap/log#> .
> 
> 
> { <file:D.n3> log:semantics ?g .
>    ?g log:includes { data:a data:b data:c }
> } => { ?g a :graph } .
> -----------------------
> file:D.n3 -----------------------
> @prefix : <http://example.org/data/> .
> 
> :a :b :c .
> -----------------------
> 
> then used "cwm X.n3 --think" to get:
> 
> which gives ( I put prefixes back and stripped out other stuff like the rule: )
> 
>      ( { data:a  data:b data:c  } ) a X:result .
> 
> ?g is an N3 formula.  Formulae (quoted graphs) are outside RDF (for better or 
> worse - I'm not making a judgement).
> 

That should be:

{ <file:D.n3> log:semantics ?g .
    ?g log:includes { data:a data:b data:c }
} => { ( ?g ) a :result } .
        ^^^^^^^^^^^^^^^^

I forgot to write out the emacs buffer.

	Apologies,
	Andy
Received on Tuesday, 12 October 2004 16:31:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:21 GMT