Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

OWL

< >

OWL, aka One World Language, is a xml format created in 2004.

#282on PLDB 20Years Old 199Repos

The Web Ontology Language (OWL) is a family of knowledge representation languages for authoring ontologies. Ontologies are a formal way to describe taxonomies and classification networks, essentially defining the structure of knowledge for various domains: the nouns representing classes of objects and the verbs representing relations between the objects. Ontologies resemble class hierarchies in object-oriented programming but there are several critical differences. Read more on Wikipedia...


Example from Linguist:
<?xml version="1.0"?> <!DOCTYPE rdf:RDF [ <!ENTITY owl "http://www.w3.org/2002/07/owl#" > <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" > <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" > <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" > ]> <rdf:RDF xmlns="http://www.co-ode.org/ontologies/pizza/pizza.owl#" xml:base="http://www.co-ode.org/ontologies/pizza/pizza.owl" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:owl="http://www.w3.org/2002/07/owl#"> <owl:Ontology rdf:about=""> <owl:versionInfo xml:lang="en" >v.1.4. Added Food class (used in domain/range of hasIngredient), Added several hasCountryOfOrigin restrictions on pizzas, Made hasTopping invers functional</owl:versionInfo> <owl:versionInfo rdf:datatype="&xsd;string">version 1.5</owl:versionInfo> <owl:versionInfo xml:lang="en" >v.1.5. Removed protege.owl import and references. Made ontology URI date-independent</owl:versionInfo> <rdfs:comment xml:lang="en" >An example ontology that contains all constructs required for the various versions of the Pizza Tutorial run by Manchester University (see http://www.co-ode.org/resources/tutorials/)</rdfs:comment> </owl:Ontology> <!-- /////////////////////////////////////////////////////////////////////////// // // OWL Classes // /////////////////////////////////////////////////////////////////////////// --> <!-- Class: http://www.co-ode.org/ontologies/pizza/pizza.owl#American --> <owl:Class rdf:about="#American"> <rdfs:label xml:lang="pt">Americana</rdfs:label> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="#hasTopping"/> <owl:someValuesFrom rdf:resource="#TomatoTopping"/> </owl:Re
Example from Wikipedia:
<http://example.org/tea.owl> rdf:type owl:Ontology . :Tea rdf:type owl:Class .

Language features

Feature Supported Example Token
Line Comments X

View source

- Build the next great programming language About Resources Acknowledgements Part of the World Wide Scroll