>From what I read online about the "BODY" elements of kiwi rules... § (S P O) denotes a triple pattern; S and P can be either URIs or variables, and O can be either a URI, a variable, or a literal. A triple pattern occurring in the body of a rule is considered a query pattern, a triple pattern occurring in the head of a rule is considered a construction pattern used for creating new triples So I can write a rule like ($1 $2 "Alan") and I notice that it does match triples with a literal object value of "Alan"@en.
But it won't match a literal of just "Alan" without the English language tag, it seems to have added the tag to the rule silently based on my locale. How can I get Kiwi to match strings that have no language tag, or what about getting it to match integers or other XML typed literals. Is there some syntax in Kiwi that I'm missing that would permit things like that to be expressed ? By any chance can I put an expression into the kiwi rule language that lets me match, say, a range of integer literal objects (eg ($1 $2 <5) or something similar ? Is there a more expressive rule language that I can run against the marmotta triplestore ? Many thanks Alan