Hi Alistair,
the input annotation set for all the PRs in KIM is the default one.
That's the most probable reason.
Two solutions:
A. use something like the Annotation Set Transfer PR (AST) and move
the annotations you need from the Original markups set to the default
one. Then the rule should fire.
If you have trouble editing the KIM pipeline - please contact us we
can edit it or tell you how to do it.
B. You add a new JAPE Transducer with your rules and give its input
annotation set to be the Original markup.
If it doesn't work - please alert so that we can do the changes
ourselves and avoid further hassle.
all the best
borislav
On Jul 15, 2009, at 6:26 PM, <[email protected]> <[email protected]
> wrote:
Hi,
Thanks for helping with the various queries I've had recently! I now
have another.
I'm using XML style tags to create markup in my input document e.g.
<Customer>Acme co</Customer>
My question is, how do I ensure that KIM is able to identify the
annotation set called 'Original markups' so that I can use the tags
in my jape rules?
I have added a rule to organization_name.jape (and added Customer as
an input) :
Rule: Customer
Priority: 50
(
{Customer}
)
:orgName -->
:orgName.TempOrganization = {kind = "unknown", rule =
"Competitor", class = "http://proton.semanticweb.org/2006/05/protont#Organization
"}
but it doesn't seem to fire when I run the populator. When I load it
in GATE (as a standalone rule) using a JAPE transducer and set the
inputASName to 'Original markups', it successfully creates an
entity. However, when I create a GATE pipline with the transducer
followed by the KIM client, KIM again fails to pick up the created
entity (the temp organization) to convert this to an organization.
Can you help?
Thanks,
Alistair
Alistair Duke
Next Generation Web Research
Centre for Information & Security Systems Research
BT Innovate
___________________________
Office: +44(0) 1473 608192
Mobile: +44(0) 7730 426257
Fax : +44(0) 1473 606755
Email: [email protected]
This email contains BT information, which may be privileged or
confidential.
It's meant only for the individual(s) or entity named above. If
you're not the intended
recipient, note that disclosing, copying, distributing or using this
information
is prohibited. If you've received this email in error, please let me
know immediately
on the email address above. Thank you.
We monitor our email system, and may record your emails.
British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no: 1800000
_______________________________________________
Kim-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion
_______________________________________________
Kim-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion