Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

The resources in the KIM default IE pipeline depend on the KIM default ontology - the PROTON ontology.

For mapping an ontology to PROTON use either equivalence, or subsumption mechanisms.

Generally subsumption is preferred.

Subclass the three major classes from the new ontology to the corresponding three major classes in PROTON

This means, for example, that when making a query to the knowledge base about People from PROTON, the result will be both people from the new ontology and PROTON. On the other hand, when searching for people from the new ontology, the result will be only from the new ontology.

  • Create a file called newOntology_proton.nt in which to store all the RDF data that aligns the ontology to PROTON.
  • Put this file in a dedicated folder.

Example:

<http://example.org/ontology/Place> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://proton.semanticweb.org/2006/05/protont#Location> .
<http://example.org/ontology/Person> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://proton.semanticweb.org/2006/05/protont#Person> .
<http://example.org/ontology/Organisation> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://proton.semanticweb.org/2006/05/protont#Organization> .
  • Include it in the import section of the Owlim config file.

Set the visibility of classes

KIM has a mechanism to control the visibility of different taxonomy parts in the WEB UI. It is done through a property.

To make the new classes visible in the Web UI, add statements such as:

Append those statements to <KIM_HOME>/context/default/kb/visibility.nt.

There is not much sense to make visible the classes that can be subclassed to PROTON. Such as Philosopher is a Person. They can be queried by their parents. Other classes that can not be directly mapped, and are subclassed to protons:Entity, should be displayed, to be able to choose them, when making queries.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.