View
64
Download
0
Category
Preview:
DESCRIPTION
GATE Ontology Tools. GATE Training Course October 2006 Kalina Bontcheva kalina@dcs.shef.ac.uk. Ontology Plugins (gate 3.1). OWLIM support (v. 4.0). Loading and viewing ontologies is the same from the GATE GUI Storage and reasoning performed by OWLIM Access is via a web service. - PowerPoint PPT Presentation
Citation preview
1/(27)
GATE Ontology Tools
GATE Training CourseOctober 2006
Kalina Bontchevakalina@dcs.shef.ac.uk
2/(27)
Ontology Plugins (gate 3.1)
3/(27)
OWLIM support (v. 4.0)
• Loading and viewing ontologies is the same from the GATE GUI
• Storage and reasoning performed by OWLIM• Access is via a web service
4/(27)
Create New Ontology LR
• Example uses Jena as a backend• Loads an ontology over the Web, in this case
Proton (http://proton.semanticweb.org/)• Supports OWL (Lite, DL, Full) & RDF – as this is
what Jena supports
5/(27)
Loading extra data
http://www.dcs.shef.ac.uk/~kalina/test/test-input.rdf
6/(27)
View classes
7/(27)
View instances
8/(27)
Forthcoming ontology editor features
• Deleting classes, properties and instances• Adding classes, properties and instances• Modifying above
• We need these features so that we can correct the results of ontology learning and ontology population algorithms from within GATE
9/(27)
Ontology API
FeatureMap features = Factory.newFeatureMap();
features.put("ontologyURL", ontologyURL);
JenaOntologyImpl ontology = (JenaOntologyImpl) Factory.createResource("gate.creole.ontology.jena.JenaOntologyImpl",features);
Interface gate.creole.ontology.Ontology• add/get/delete concepts/instances/properties
10/(27)
Ontology API (2)
// adding a new class Person – class name and commentOClass person = ontology.createClass("Person","All humans");// adding a new class ManOClass man = ontology.createClass("Man", "Male Person");// adding a new class LiquidOClass liquid = ontology.createClass("Liquid","anything that is in
liquid form");// John is a personOInstance john = ontology.addInstance("John", person);// water is liquidOInstance water = ontology.addInstance("Water", liquid);// Man is a subclassof Personperson.addSubClass(man);// Man drinks liquidontology.addObjectProperty("drinks","man drinks liquid", man,
liquid);// john drinks liquidjohn.addPropertyValue("drinks", water);
11/(27)
Onto gazetteer
12/(27)
Onto Gazetteer (2)
13/(27)
JAPE and Ontologies
14/(27)
ResultsResults of sample rule without ontology as a parameter
Results of sample rule with ontology as a parameter
15/(27)
Sample use
• Knowledge Management and business intelligent– gate.ac.uk/projects/sekt/
• Media analysis – gate.ac.uk/projects/media-campaign/
• Multi-media semantic annotation– gate.ac.uk/projects/prestospace/
• Software Engineering– gate.ac.uk/projects/tao/
• Also used in an increasing number of commercial products, esp. for business intelligence
Recommended