Hello all,

I'm trying to model a very simple and naive scenario, but with little
success. An expert on a topic is someone who recently participated in
some sort of activity or event about said topic. I'm trying to infer
who is an expert based on these criteria using Jena Rules in TBC. Any
hints on how to rewrite the rule below into working format would be
greatly appreciated (if it is at all possible). All of the applicable
"?something":s in my model have dates that are newer than the date
given, so the greaterThan clause should if it worked return true for
them. It does not.

[findCompetencies: (?expert :participatedIn ?something) (?
something :hasTopic ?topic) (?something :hasDate ?date) greaterThan(?
date, "2005-01-01T08:00:00")  -> (?expert :hasCompetenceIn ?topic)]

I suppose I need to specify that the given date is an xsd:dateTime.
How do I go about that?

Cheers,

Karl Hammar

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to