W3C home > Mailing lists > Public > public-cwm-talk@w3.org > July to September 2004

Re: How do you use path in a rule? My attempt doesn't work

From: naudts guido <naudts_vannoten@yahoo.com>
Date: Wed, 29 Sep 2004 07:18:17 -0700 (PDT)
Message-ID: <20040929141817.77507.qmail@web40501.mail.yahoo.com>
To: "Jones, David H" <david.h.jones@boeing.com>
Cc: public-cwm-talk@w3.org

Hallo,
As I understand it a path represents a node in the
graph.
The path ?x.ed:coursename represents a coursename, so
this expression stands for :c1234 or :c1235.

The following rule:
{?x a ed:Training. ?y a per:Personnel. ?x ed:trainees
?y. ?x.ed:courseName ed:language ?z} => {?y
per:languagesSpoken ?z}.
gives the desired result.
Greetings, Guido Naudts.
--- "Jones, David H" <david.h.jones@boeing.com> wrote:

> The rules at the bottom of the attached file are
> intended to derive per:languagesSpoken from a path,
> but apparently there is something wrong with the
> path expression.  Can someone point out the problem.
> 
>  <<languagesSpoken.n3>> 
> Command line:
> 
> python ..\cwm.py languagesSpoken.n3  --think 
> 
> Regards,
> 
> David H. Jones
> Boeing Phantom Works, 
> Mathematics & Computing Technology
> 425-865-6924 
> 425-865-2964 (FAX)
> david.h.jones@boeing.com
> 
> 
> 

> ATTACHMENT part 2 application/octet-stream
name=languagesSpoken.n3




		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
Received on Wednesday, 29 September 2004 14:18:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:01 GMT