- From: Chris Welty <cawelty@frontiernet.net>
- Date: Sat, 16 Sep 2006 08:55:45 -0400
- To: jos.deroo@agfa.com
- CC: public-rif-wg@w3.org
Since I suspect many of us don't know sparql, Jos, can you explain what this means and why you posted it to RIF? -Chris jos.deroo@agfa.com wrote: > In writing Prolog I make a lot of use of findall > and in N3 I found it useful as > > e:findall > rdfs:comment > """?SCOPE e:findall (?SELECT ?WHERE ?ANSWER). > unifies ?ANSWER with a list that contains all the > instantiations of ?SELECT satisfying the ?WHERE > clause in the ?SCOPE of all asserted n3 formulae > and their log:conclusion"""; > a rdf:Property; > rdfs:domain log:Formula; > rdfs:range rdf:List. > > I mean useful for 2 reasons > 1/ it is a way to have a simple SPARQL condition > 2/ it is a way to have a SNAF condition when used as > ?SCOPE e:findall (?SELECT ?WHERE rdf:nil). > > There is a test case result at > http://eulersharp.sourceforge.net/2006/02swap/medicE.n3 > > -- Dr. Christopher A. Welty IBM Watson Research Center +1.914.784.7055 19 Skyline Dr. cawelty@frontiernet.net Hawthorne, NY 10532 http://www.research.ibm.com/people/w/welty
Received on Saturday, 16 September 2006 12:56:03 UTC