Presentation is loading. Please wait.

Presentation is loading. Please wait.

06 Dec. 2006 Rev'd 07 Dec. 2006 CmpE 583 Fall 2006 OWL Lite 1 OWL Lite off Textbook Ch. 11: Encoding Atilla Elçi.

Similar presentations


Presentation on theme: "06 Dec. 2006 Rev'd 07 Dec. 2006 CmpE 583 Fall 2006 OWL Lite 1 OWL Lite off Textbook Ch. 11: Encoding Atilla Elçi."— Presentation transcript:

1 06 Dec. 2006 Rev'd 07 Dec. 2006 CmpE 583 Fall 2006 OWL Lite 1 OWL Lite off Textbook Ch. 11: Encoding Atilla Elçi

2 06 Dec. 2006 Rev'd 07 Dec. 2006 CmpE 583 Fall 2006 OWL Lite 2 OWL Ontology File Structure Header: –XML Declaration & RDF Start Tag –Ontology Element Version Info Imports Element Body: –Class, property, and inidividual statements Footer: –RDF End Tag.

3 06 Dec. 2006 Rev'd 07 Dec. 2006 CmpE 583 Fall 2006 OWL Lite 3 OWL Header XML Declaration (?xml) & RDF Start Tag (rdf:RDF): Three kinds of namespace references are declared: 1.Standard: xmlns:ns=“URI”. Replace ns & URI with: XMLS: xsd & http://www.w3.org/2001/XMLSchema#http://www.w3.org/2001/XMLSchema# RDF: rdf & http://www.w3.org/1999/02/22-rdf-syntax-ns#http://www.w3.org/1999/02/22-rdf-syntax-ns# RDFS: rdfs & http://www.w3.org/2000/01/rdf-schema#http://www.w3.org/2000/01/rdf-schema# OWL: owl & http://www.w3.org/2002/07/owl#http://www.w3.org/2002/07/owl# 2.Imported namespace to use concepts or extend: xmlns:teach=“http://cmpe.emu.edu.tr/aelci/teaching#”http://cmpe.emu.edu.tr/aelci/teaching# Still required to include an “imports” element in the document! 3.Default / Base (current document) namespace: xmlns=“http://cmpe.emu.edu.tr/aelci/references#”http://cmpe.emu.edu.tr/aelci/references# xml:base=“http://cmpe.emu.edu.tr/aelci/cmpe583”http://cmpe.emu.edu.tr/aelci/cmpe583

4 06 Dec. 2006 Rev'd 07 Dec. 2006 CmpE 583 Fall 2006 OWL Lite 4 OWL Header (Continued) Ontology Element (owl:Ontology): provides ontology level metadata on the ontology being defined. where “URI” is either: –“”: current document, or –“ontologyNameOrReference”: a fully resolved URI. For example: A Text as Label A text as comment Version properties may as well be included with the owl:Ontology Element: Version info

5 06 Dec. 2006 Rev'd 07 Dec. 2006 CmpE 583 Fall 2006 OWL Lite 5 OWL Header (Continued) Versioning Information Properties: owl:versionInfo element: include a string in the inner text or RCS/CVS keywords RCS/CVS (revision control/current versions) keywords, such as:revision control/current versions $Id: daml+oil.daml,v 1.1 2001/01/18 15:40:52 timbl Exp $ owl:priorVersion: to relate current ontology to an earlier version owl:backwardCompatibleWith: same format as owl:priorInfo owl:incompatibleWith: ditto. owl:DeprecatedClass: identifies a class that is to be removed owl:DeprecatedProperty: identifies a property... The last two elements are placed not in the owl:Ontology element! Format is:...</owl:Depre...

6 06 Dec. 2006 Rev'd 07 Dec. 2006 CmpE 583 Fall 2006 OWL Lite 6 OWL Header (Continued) Importing Ontologies (owl:imports): used in order to reference and extend an external ontology. Contrasting Namespace Declaration & Imports: Namespace decl identifies a prefix abbreviation, owl:imports does not! So, include a namespace declaration for an imported ontology as well. Importing has similar effect as inhereting a class, say in Java.

7 06 Dec. 2006 Rev'd 07 Dec. 2006 CmpE 583 Fall 2006 OWL Lite 7 OWL Body & Footer Body: –Contains class and property statements. –Order (sequence) is NOT meaningful! –So, forward references are OK. Footer:


Download ppt "06 Dec. 2006 Rev'd 07 Dec. 2006 CmpE 583 Fall 2006 OWL Lite 1 OWL Lite off Textbook Ch. 11: Encoding Atilla Elçi."

Similar presentations


Ads by Google