[Kim-discussion] Extend proton ontology

2011-06-22 Thread Srecko Joksimovic
Hello everyone! I have extended Proton ontology, and created acm_proton.ttl file. This file contains my Concepts. When I annotate document, I want to see only these Concepts. I saw tutorial, I have read few posts, but I could not find the solution. I have edited kim/config/owlim.ttl file, and

Re: [Kim-discussion] Extend proton ontology

2011-06-22 Thread srecko joksimovic
Hello Philip, I think that I could send you a part of this file. This is what I have defined: http://www.lornet.org/acm-ccs/proton#K.7.0 a protont:Topic ; protons:generatedBy http://www.lornet.org/acm-ccs/proton#TrustedSrc ; protons:hasMainAlias

Re: [Kim-discussion] Extend proton ontology

2011-06-22 Thread Philip Alexiev @ Ontotext
Hi, 1. First make sure http://www.lornet.org/acm-ccs/proton#TrustedSrc is declared as trusted. This is a statement from KIM's knowledge base: http://www.ontotext.com/kim/2006/05/wkb#Gazetteer http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://proton.semanticweb.org/2006/05/protons#Trusted

Re: [Kim-discussion] Extend proton ontology

2011-06-22 Thread Philip Alexiev @ Ontotext
Hi Srecko, You state that a source is trusted by importing a statement like this in owlim: http://www.lornet.org/acm-ccs/proton#TrustedSrc http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://proton.semanticweb.org/2006/05/protons#Trusted . You can either add this to your custom RDF or you

Re: [Kim-discussion] Extend proton ontology

2011-06-22 Thread Philip Alexiev @ Ontotext
For step 2, you can take a look at the already existing grammars, who transform Lookup annotations to meaningful annotations. One such is KIM/context/default/resources/grammar/main/gazrules.jape . Your grammar for Topic will look like this: Phase: GazTopic Input: Lookup Options: control =