...

Text file src/github.com/gabriel-vasile/mimetype/testdata/owl2.owl

Documentation: github.com/gabriel-vasile/mimetype/testdata

     1<?xml version="1.0" encoding="UTF-8"?>
     2<Ontology xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     3    xsi:schemaLocation="http://www.w3.org/2002/07/owl# http://www.w3.org/2009/09/owl2-xml.xsd"
     4    xmlns="http://www.w3.org/2002/07/owl#"
     5    xml:base="http://example.com/myOntology"
     6    ontologyIRI="http://example.com/myOntology">
     7    
     8    <Prefix name="myOnt" IRI="http://example.com/myOntology#"/>
     9    <Import>http://example.com/someOtherOntology</Import>
    10
    11    <Declaration>
    12        <Class IRI="#Animal"/>
    13    </Declaration>
    14    <Declaration>
    15        <Class abbreviatedIRI="myOnt:Tabloid"/>
    16    </Declaration>
    17    <Declaration>
    18        <ObjectProperty IRI="#eats"/>
    19    </Declaration>
    20    <Declaration>
    21        <ObjectProperty IRI="#reads"/>
    22    </Declaration>
    23
    24    <SubClassOf>
    25        <Class abbreviatedIRI="myOnt:Animal"/>
    26        <ObjectAllValuesFrom>
    27            <ObjectProperty IRI="#reads"/>
    28            <Class IRI="#Tabloid"/>
    29        </ObjectAllValuesFrom>
    30    </SubClassOf>
    31</Ontology>

View as plain text