Home‎ > ‎Portfolio‎ > ‎

Example RDFS Astronomy Ontology

<?xml version="1.0"?>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:kb="http://dmlkb.org/kb/gen#"
  xmlns:kb.astro.o="http://dmlkb.org/kb/astro.o#"
  xmlns:kb.astro.i="http://dmlkb.org/kb/astro.i#">
<rdfs:Class rdf:about="http://dmlkb.org/kb/astro.o#AstronomicalBody">
    <rdfs:label xml:lang="en">Astronomical Body</rdfs:label>
    <kb.astro.o:definition xml:lang="en">A naturally-occurring, gravitationally bound aggregation of matter located in space</kb.astro.o:definition>
</rdfs:Class>
<rdfs:Class rdf:about="http://dmlkb.org/kb/astro.o#Star">
    <rdfs:subClassOf rdf:resource="http://dmlkb.org/kb/astro.o#AstronomicalBody" />
    <rdfs:label xml:lang="en">Star</rdfs:label>
    <kb.astro.o:definition xml:lang="en">An astronomical body that radiates energy resulting from sustained, internal thermonuclear reactions</kb.astro.o:definition>
</rdfs:Class>
<rdfs:Class rdf:about="http://dmlkb.org/kb/astro.o#MajorPlanet">
    <rdfs:subClassOf rdf:resource="http://dmlkb.org/kb/astro.o#AstronomicalBody" />
    <rdfs:label xml:lang="en">Major Planet</rdfs:label>
    <kb.astro.o:definition xml:lang="en">An astronomical body orbiting a star, or n-ary star system, which is not itself a star, has sufficient mass to have a nearly round shape, and has cleared the neighborhood around its orbit</kb.astro.o:definition>
</rdfs:Class>
<rdfs:Class rdf:about="http://dmlkb.org/kb/astro.o#MinorPlanet">
    <rdfs:subClassOf rdf:resource="http://dmlkb.org/kb/astro.o#AstronomicalBody" />
    <rdfs:label xml:lang="en">Minor Planet</rdfs:label>
    <kb.astro.o:definition xml:lang="en">An astronomical body orbiting a star, or n-ary star system, which is not itself a star and has sufficient mass to have a nearly round shape</kb.astro.o:definition>
</rdfs:Class>
<rdfs:Class rdf:about="http://dmlkb.org/kb/astro.o#Moon">
    <rdfs:subClassOf rdf:resource="http://dmlkb.org/kb/astro.o#AstronomicalBody" />
    <rdfs:label xml:lang="en">Moon</rdfs:label>
    <kb.astro.o:definition xml:lang="en">An astronomical body orbiting a planet</kb.astro.o:definition>
</rdfs:Class>
<rdfs:Property rdf:about="http://dmlkb.org/kb/astro.o#majorPlanet">
    <rdfs:domain rdf:resource="http://dmlkb.org/kb/astro.o#Star" />
    <rdfs:range rdf:resource="kb.astro.o:MajorPlanet" />
    <rdfs:label xml:lang="en">majorPlanet</rdfs:label>
</rdfs:Property>
<rdfs:Property rdf:about="http://dmlkb.org/kb/astro.o#meanDiameter">
    <rdfs:domain rdf:resource="kb.astro.o:AstronomicalBody" />
    <rdfs:range rdf:resource="rdfs:Literal" />
    <rdfs:label xml:lang="en">meanDiameter</rdfs:label>
</rdfs:Property>
<rdfs:Property rdf:about="http://dmlkb.org/kb/astro.o#meanOrbitalRadius">
    <rdfs:domain rdf:resource="kb.astro.o:AstronomicalBody" />
    <rdfs:range rdf:resource="rdfs:Literal" />
    <rdfs:label xml:lang="en">meanOrbitalRadius</rdfs:label>
</rdfs:Property>
<rdfs:Property rdf:about="http://dmlkb.org/kb/gen#definition">
    <rdfs:label xml:lang="en">definition</rdfs:label>
    <rdfs:range rdf:resource="rdfs:Literal" />
</rdfs:Property>
<kb.astro.o:Star rdf:about="http://dmlkb.org/kb/astro.i#Sun">
    <rdfs:label xml:lang="en">The Sun</rdfs:label>
    <kb.astro.o:meanDiameter>1,390,000 km</kb.astro.o:meanDiameter>
    <kb.astro.o:majorPlanet rdf:resource="http://dmlkb/kb/astro.i#Earth" />
</kb.astro.o:Star>
<kb.astro.o:MajorPlanet rdf:about="http://dmlkb.org/kb/astro.i#Earth">
    <rdfs:label xml:lang="en">The Earth</rdfs:label>
    <kb.astro.o:meanDiameter>12,742 km</kb.astro.o:meanDiameter>
    <kb.astro.o:meanOrbitalRadius>149,600,000 km</kb.astro.o:meanOrbitalRadius>
    <kb.astro.o:moon rdf:resource="http://dmlkb/kb/astro.i#Moon" />
</kb.astro.o:MajorPlanet>
<kb.astro.o:Moon rdf:about="http://dmlkb.org/kb/astro.i#Moon">
    <rdfs:label xml:lang="en">The Moon</rdfs:label>
    <kb.astro.o:meanDiameter>3,474 km</kb.astro.o:meanDiameter>
    <kb.astro.o:meanOrbitalRadius>384,403 km</kb.astro.o:meanOrbitalRadius>
</kb.astro.o:Moon>
</rdf:RDF>