aboutsummaryrefslogtreecommitdiffstats
path: root/docs/ontology.owl
blob: 6b2e0b7f44d5903158f106efc8d3e1eae02a6419 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE rdf:RDF [
  <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#">
  <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#">
  <!ENTITY owl "http://www.w3.org/2002/07/owl#">
  <!ENTITY mediawiki "https://www.mediawiki.org/ontology#">
]>

<rdf:RDF
  xmlns:xsd="&xsd;"
  xmlns:rdf="&rdf;"
  xmlns:rdfs="&rdfs;"
  xmlns:owl="&owl;"
>

  <owl:Ontology rdf:about="&mediawiki;">
    <rdfs:label>MediaWiki ontology</rdfs:label>
    <rdfs:comment>The ontology of MediaWiki</rdfs:comment>
  </owl:Ontology>

  <!--
  ///////////////////////////////////////////////////////////////////////////////////////
  //
  // Classes
  //
  ///////////////////////////////////////////////////////////////////////////////////////
  -->

  <owl:Class rdf:about="&mediawiki;Dump">
    <rdfs:label>Dump</rdfs:label>
    <rdfs:comment>A dump of MediaWiki content.</rdfs:comment>
  </owl:Class>

  <owl:Class rdf:about="&mediawiki;Category">
    <rdfs:label>Category</rdfs:label>
    <rdfs:comment>MediaWiki category.</rdfs:comment>
  </owl:Class>

  <!--
  ///////////////////////////////////////////////////////////////////////////////////////
  //
  // Properties
  //
  ///////////////////////////////////////////////////////////////////////////////////////
  -->

  <owl:ObjectProperty rdf:about="&mediawiki;isInCategory">
      <rdfs:label>isInCategory</rdfs:label>
      <rdfs:comment>One category is the parent of another.</rdfs:comment>
      <rdfs:range rdf:resource="&mediawiki;Category"/>
      <rdfs:domain rdf:resource="&mediawiki;Category"/>
  </owl:ObjectProperty>

</rdf:RDF>