- From: <jos.deroo@agfa.com>
- Date: Sat, 8 Oct 2005 21:17:02 +0200
- To: Dan Connolly <connolly@w3.org>
- Cc: public-cwm-talk@w3.org
really wanted to have that rpo:mu test case running with cwm as it is also an example of using lists with SPARQL it now works I believe.. i.e. SPARQL query ### http://www.agfa.com/w3c/euler/example003Q.rq PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rpo: <http://eulersharp.sourceforge.net/2003/03swap/rpo-rules#> PREFIX : <http://wopeg.mitra.com/triples/fa/case001#> CONSTRUCT { ?X rpo:mu ?Y } WHERE { ?X rpo:mu ?Y } when given http://www.agfa.com/w3c/euler/example001P.n3 http://www.agfa.com/w3c/euler/example002P.n3 http://www.agfa.com/w3c/euler/rpo-rules.n3 now returns ( :Ann :AdultAge ) rpo:mu 0.5833 . ( :Ann :AdultAgeOrIncreasedIntraocularPressure ) rpo:mu 0.722222222222 . ( :Ann :ChildAge ) rpo:mu 0.4167 . ( :Ann :ChildAgeAndIncreasedIntraocularPressure ) rpo:mu 0.4167 . ( :Ann :IncreasedIntraocularPressure ) rpo:mu 0.722222222222 . ( :Ann :NonIncreasedIntraocularPressure ) rpo:mu 0.277777777778 . ( :Ann :NormalIntraocularPressure ) rpo:mu 0.277777777778 . cwm is now happy with above rpo-rules :-) -- Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/ Jos De_Roo 06/10/2005 00:59 To: Dan Connolly <connolly@w3.org>@AGFASMTP cc: "Miles, AJ (Alistair)" <A.J.Miles@rl.ac.uk>, dwood@mindswap.org, "Eric Prud'hommeaux" <eric@w3.org>, public-cwm-talk@w3.org Subject: Re: quick note on using list:in with SPARQL? [was: querying RDF lists] Yes Dan, will do my utmost best to spare some time to do so (and you kindly asked that before, but have so much on my todo stack .. :)) At least I'm very happy that we can run such queries with cwm as pointed out in http://lists.w3.org/Archives/Public/public-cwm-talk/2005JulSep/0001.html -- Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/ PS slightly related and in realm of fuzzy set, cwm seems to loop with last rule {?X :mu (?C ?M). (1.0 ?M) math:difference ?N} => {?X :mu (?C^owl:complementOf ?N)}. in http://www.agfa.com/w3c/euler/rpo-rules.n3 i.e. it loops for 3rd n3ql query in http://www.agfa.com/w3c/euler/example003Q.n3 when running cwm http://lists.w3.org/Archives/Public/public-cwm-talk/2005JulSep/att-0021/example001P.n3 http://lists.w3.org/Archives/Public/public-cwm-talk/2005JulSep/att-0021/example002P.n3 http://www.agfa.com/w3c/euler/rpo-rules.n3 -think -query=http://www.agfa.com/w3c/euler/example003Q.n3 when running euler http://lists.w3.org/Archives/Public/public-cwm-talk/2005JulSep/att-0021/example001P.n3 http://lists.w3.org/Archives/Public/public-cwm-talk/2005JulSep/att-0021/example002P.n3 http://www.agfa.com/w3c/euler/rpo-rules.n3 -nope -think -query http://www.agfa.com/w3c/euler/example003Q.n3 we get answer http://www.agfa.com/w3c/euler/example003E.n3 Dan Connolly <connolly@w3.org> 05/10/2005 17:48 To: "Eric Prud'hommeaux" <eric@w3.org>, Jos De_Roo/AMDUS/MOR/Agfa-NV/BE/BAYER@AGFA, "Miles, AJ (Alistair)" <A.J.Miles@rl.ac.uk> cc: public-cwm-talk@w3.org, dwood@mindswap.org Subject: quick note on using list:in with SPARQL? [was: querying RDF lists] On Wed, 2005-10-05 at 11:55 +0100, Miles, AJ (Alistair) wrote: http://lists.w3.org/Archives/Public/public-rdf-dawg-comments/2005Oct/0002.html [... a comment on SPARQL ... I'm following up here in public-cwm-talk ...] > > See: > > a service description approach to accessingCollections > > http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0169 > > > > I hadn't thought of this solution. Given this, I understand the WG's position. > > I think it would be helpful if someone wrote this up in the near future - maybe DAWG could write a short note describing the options? Linked from the SPARQL language spec so it's easy to find? Yes, I have been thinking about it for a while. Jos, EricP, did I ever ask you about that? Are you interested to write a little 2 page note on querying lists with list:in ? Anybody else? -- Dan Connolly, W3C http://www.w3.org/People/Connolly/ D3C2 887B 0F92 6005 C541 0875 0F91 96DE 6E52 C29E
Received on Saturday, 8 October 2005 19:17:20 UTC