Problem with my N3 and CWM

Hi All,

I have attached a little illustrative ontology that I am writing to
understand RDF, N3, OWL, CWM, etc and to explore how these technologies
might ultimately be used in .NET (within the travel domain)

 <<filter.n3>>  <<needs.n3>>  <<test.n3>> 
In the file filter.n3 the following rule is found:

		{
			?u :need ?n.
			?p :providesService ?s. 
			?s :satisfies ?n.
		} 
			=> 
		{
			(?u!:name " might want to consider " ?p!:name)
string:concatenation ?z. 
			?u!:name log:outputString ?z.
		}.

In the context of the ontology described in needs.n3 this is supposed to
mean the following:
If a user ?u has a need ?n and provider ?p provides a service ?s that
satisfies ?n, then output a string saying that the user might want to
consider the provider.

The test instances in test.n3 are:
		:P1 a :Person; :name "Andrew Matthews"; :need :Rest.
		:H1	a :Hotel; :name "Royal Victoria Hotel".

I have tried to run cwm using a variety of options but the following is
typical:
cwm needs.n3 test.n3 filter.n3 --think --strings

but I get no response (literally no errors or diagnostics), and if I
remove the --strings option I expected to see some indication that it
had deduced that the rule had been matched for user :P1 and hotel :H1
("Andrew matthews might want to consider the Royal Victoria Hotel")

When I add --chatty=99 I get the following (which doesn't tell me much)
		Begining output.
		   End formula - first of length (42, 6, 0) {42}
In addition I tried some rules from the test area under CWM, and found
that they worked OK, so there appears to be no problems with my
installation of CWM.
So what am I doing wrong?
Regards,
Andrew Matthews
Readify | Senior Developer

Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia

M: +61 400 188 995 | E: andrew.matthews@readify.net | C:
andrew.matthews@readify.net | W: www.readify.net
<http://www.readify.net/> 

The content of this e-mail, including any attachments is a confidential
communication between Readify Pty Ltd and the intended addressee and is
for the sole use of that intended addressee. If you are not the intended
addressee, any use, interference with, disclosure or copying of this
material is unauthorized and prohibited. If you have received this
e-mail in error please contact the sender immediately and then delete
the message and any attachment(s).

Received on Wednesday, 28 March 2007 07:31:26 UTC