@prefix cc:    <http://creativecommons.org/ns#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .

<http://wikiba.se/ontology#GeoShape>
        a             <http://wikiba.se/ontology#PropertyType> , owl:NamedIndividual ;
        rdfs:comment  "Type for storing links to geoshape data." ;
        rdfs:label    "GeoShape" .

<http://wikiba.se/ontology#Time>
        a             <http://wikiba.se/ontology#PropertyType> , owl:NamedIndividual ;
        rdfs:comment  "Date and time value type." ;
        rdfs:label    "Time" .

<http://wikiba.se/ontology#Reference>
        a             owl:Class ;
        rdfs:comment  "A reference to sources supporting the claim." ;
        rdfs:label    "Reference" .

<http://wikiba.se/ontology#Lexeme>
        a                owl:Class ;
        rdfs:comment     "Wikibase Lexeme." ;
        rdfs:label       "Lexeme" ;
        rdfs:subClassOf  <http://wikiba.se/ontology#Entity> .

<http://wikiba.se/ontology#GeoAutoPrecision>
        a             owl:Class ;
        rdfs:comment  "This coordinate value uses automatic precision since the user did not specify one." ;
        rdfs:label    "GeoAutoPrecision" .

<http://wikiba.se/ontology#quantityNormalized>
        a             owl:ObjectProperty ;
        rdfs:comment  "Representation of this quantity in standard units." ;
        rdfs:domain   <http://wikiba.se/ontology#QuantityValue> ;
        rdfs:label    "quantityNormalized" ;
        rdfs:range    <http://wikiba.se/ontology#QuantityValue> .

<http://wikiba.se/ontology#TimeValue>
        a                owl:Class ;
        rdfs:comment     "Wikibase extended value representing time." ;
        rdfs:label       "TimeValue" ;
        rdfs:subClassOf  <http://wikiba.se/ontology#Value> .

<http://wikiba.se/ontology#TabularData>
        a             <http://wikiba.se/ontology#PropertyType> , owl:NamedIndividual ;
        rdfs:comment  "Type for storing links to tabular data." ;
        rdfs:label    "TabularData" .

<http://wikiba.se/ontology#Monolingualtext>
        a             <http://wikiba.se/ontology#PropertyType> , owl:NamedIndividual ;
        rdfs:comment  "Type for text in single language." ;
        rdfs:label    "Monolingualtext" .

<http://wikiba.se/ontology#DeprecatedRank>
        a             <http://wikiba.se/ontology#Rank> , owl:NamedIndividual ;
        rdfs:comment  "Deprecated statement rank." ;
        rdfs:label    "DeprecatedRank" .

<http://wikiba.se/ontology#timeCalendarModel>
        a             owl:ObjectProperty ;
        rdfs:comment  "Preferred calendar used to display this date to the user." ;
        rdfs:domain   <http://wikiba.se/ontology#TimeValue> ;
        rdfs:label    "timeCalendarModel" ;
        rdfs:range    <http://wikiba.se/ontology#Item> .

[ a            owl:AllDisjointClasses ;
  owl:members  ( <http://wikiba.se/ontology#Form> <http://wikiba.se/ontology#Item> <http://wikiba.se/ontology#Lexeme> <http://wikiba.se/ontology#Property> )
] .

<http://wikiba.se/ontology#NormalRank>
        a             <http://wikiba.se/ontology#Rank> , owl:NamedIndividual ;
        rdfs:comment  "Normal statement rank." ;
        rdfs:label    "NormalRank" .

<http://wikiba.se/ontology#String>
        a             <http://wikiba.se/ontology#PropertyType> , owl:NamedIndividual ;
        rdfs:comment  "Basic string type." ;
        rdfs:label    "String" .

<http://wikiba.se/ontology#WikibaseItem>
        a             <http://wikiba.se/ontology#PropertyType> , owl:NamedIndividual ;
        rdfs:comment  "Type for referring to another Wikibase item." ;
        rdfs:label    "WikibaseItem" .

<http://wikiba.se/ontology#qualifierValue>
        a             owl:ObjectProperty ;
        rdfs:comment  "Link between Wikibase Property and qualifier value predicate." ;
        rdfs:domain   <http://wikiba.se/ontology#Property> ;
        rdfs:label    "qualifierValue" .

<http://wikiba.se/ontology#BestRank>
        a             owl:Class ;
        rdfs:comment  "This class marks statement that has the best rank for its property." ;
        rdfs:label    "BestRank" .

<http://wikiba.se/ontology#Math>
        a             <http://wikiba.se/ontology#PropertyType> , owl:NamedIndividual ;
        rdfs:comment  "Type for mathematical expressions as supported by the Math extension." ;
        rdfs:label    "Mathematial expression" .

<http://wikiba.se/ontology#>
        a             owl:Ontology ;
        rdfs:comment  "The system ontology of Wikibase" ;
        rdfs:label    "Wikibase system ontology" ;
        rdfs:seeAlso  <https://www.mediawiki.org/wiki/Extension:WikibaseLexeme/RDF_mapping> , <https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Format> ;
        cc:licence    <http://creativecommons.org/publicdomain/zero/1.0/> .

<http://wikiba.se/ontology#PreferredRank>
        a             <http://wikiba.se/ontology#Rank> , owl:NamedIndividual ;
        rdfs:comment  "Preferred statement rank." ;
        rdfs:label    "PreferredRank" .

<http://wikiba.se/ontology#Dump>
        a             owl:Class ;
        rdfs:comment  "A dump of wikidata content." ;
        rdfs:label    "Dump" .

<http://wikiba.se/ontology#Url>
        a             <http://wikiba.se/ontology#PropertyType> , owl:NamedIndividual ;
        rdfs:comment  "URL link type." ;
        rdfs:label    "Url" .

<http://wikiba.se/ontology#Globecoordinate>
        a             <http://wikiba.se/ontology#PropertyType> , owl:NamedIndividual ;
        rdfs:comment  "Coordinate type." ;
        rdfs:label    "Globecoordinate" .

<http://wikiba.se/ontology#claim>
        a             owl:ObjectProperty ;
        rdfs:comment  "Link between Wikibase Property and claim predicate." ;
        rdfs:domain   <http://wikiba.se/ontology#Property> ;
        rdfs:label    "claim" .

<http://wikiba.se/ontology#wikiGroup>
        a             owl:DatatypeProperty ;
        rdfs:comment  "Wiki group that the site belongs to." ;
        rdfs:label    "wikiGroup" .

<http://wikiba.se/ontology#referenceValue>
        a             owl:ObjectProperty ;
        rdfs:comment  "Link between Wikibase Property and reference value predicate." ;
        rdfs:domain   <http://wikiba.se/ontology#Property> ;
        rdfs:label    "referenceValue" .

<http://wikiba.se/ontology#geoPrecision>
        a             owl:DatatypeProperty ;
        rdfs:comment  "Coordinate precision." ;
        rdfs:domain   <http://wikiba.se/ontology#GlobecoordinateValue> ;
        rdfs:label    "geoPrecision" ;
        rdfs:range    xsd:decimal .

<http://wikiba.se/ontology#reference>
        a             owl:ObjectProperty ;
        rdfs:comment  "Link between Wikibase Property and reference predicate." ;
        rdfs:domain   <http://wikiba.se/ontology#Property> ;
        rdfs:label    "reference" .

<http://wikiba.se/ontology#statementValueNormalized>
        a             owl:ObjectProperty ;
        rdfs:comment  "Link between Wikibase Property and statement normalized value predicate." ;
        rdfs:domain   <http://wikiba.se/ontology#Property> ;
        rdfs:label    "statementValueNormalized" .

<http://wikiba.se/ontology#novalue>
        a             owl:ObjectProperty ;
        rdfs:comment  "Link between Wikibase Property and no value class." ;
        rdfs:domain   <http://wikiba.se/ontology#Property> ;
        rdfs:label    "novalue" .

<http://wikiba.se/ontology#geoLongitude>
        a             owl:DatatypeProperty ;
        rdfs:comment  "Coordinate longitude." ;
        rdfs:domain   <http://wikiba.se/ontology#GlobecoordinateValue> ;
        rdfs:label    "geoLongitude" ;
        rdfs:range    xsd:decimal .

<http://wikiba.se/ontology#statementValue>
        a             owl:ObjectProperty ;
        rdfs:comment  "Link between Wikibase Property and statement value predicate." ;
        rdfs:domain   <http://wikiba.se/ontology#Property> ;
        rdfs:label    "statementValue" .

<http://wikiba.se/ontology#qualifier>
        a             owl:ObjectProperty ;
        rdfs:comment  "Link between Wikibase Property and qualifier predicate." ;
        rdfs:domain   <http://wikiba.se/ontology#Property> ;
        rdfs:label    "qualifier" .

<http://wikiba.se/ontology#Property>
        a                owl:Class ;
        rdfs:comment     "Wikibase property." ;
        rdfs:label       "Property" ;
        rdfs:subClassOf  <http://wikiba.se/ontology#Entity> .

<http://wikiba.se/ontology#Form>
        a                owl:Class ;
        rdfs:comment     "Wikibase Form." ;
        rdfs:label       "Form" ;
        rdfs:subClassOf  <http://wikiba.se/ontology#Entity> .

<http://wikiba.se/ontology#timeTimezone>
        a             owl:DatatypeProperty ;
        rdfs:comment  "Timezone offset from UTC in minutes." ;
        rdfs:domain   <http://wikiba.se/ontology#TimeValue> ;
        rdfs:label    "timeTimezone" ;
        rdfs:range    xsd:decimal .

<http://wikiba.se/ontology#geoGlobe>
        a             owl:ObjectProperty ;
        rdfs:comment  "Globe reference URL." ;
        rdfs:domain   <http://wikiba.se/ontology#GlobecoordinateValue> ;
        rdfs:label    "geoGlobe" ;
        rdfs:range    <http://wikiba.se/ontology#Item> .

<http://wikiba.se/ontology#PropertyType>
        a             owl:Class ;
        rdfs:comment  "Type of a wikibase property." ;
        rdfs:label    "PropertyType" .

<http://wikiba.se/ontology#hasViolationForConstraint>
        a             owl:ObjectProperty ;
        rdfs:comment  "Link between statement violating constraint and the constraint." ;
        rdfs:domain   <http://wikiba.se/ontology#Statement> ;
        rdfs:label    "hasViolationForConstraint" ;
        rdfs:range    <http://wikiba.se/ontology#Statement> .

<http://wikiba.se/ontology#badge>
        a             owl:ObjectProperty ;
        rdfs:comment  "Badge on the Wiki page." ;
        rdfs:label    "badge" ;
        rdfs:range    <http://wikiba.se/ontology#Item> .

<http://wikiba.se/ontology#Quantity>
        a             <http://wikiba.se/ontology#PropertyType> , owl:NamedIndividual ;
        rdfs:comment  "Type for numerical quantity." ;
        rdfs:label    "Quantity" .

<http://wikiba.se/ontology#timeValue>
        a             owl:DatatypeProperty ;
        rdfs:comment  "Time value as datetime literal." ;
        rdfs:domain   <http://wikiba.se/ontology#TimeValue> ;
        rdfs:label    "timeValue" ;
        rdfs:range    xsd:dateTime .

<http://wikiba.se/ontology#QuantityValue>
        a                owl:Class ;
        rdfs:comment     "Wikibase extended value representing quantity." ;
        rdfs:label       "QuantityValue" ;
        rdfs:subClassOf  <http://wikiba.se/ontology#Value> .

<http://wikiba.se/ontology#GlobecoordinateValue>
        a                owl:Class ;
        rdfs:comment     "Wikibase extended value representing geographic coordinate." ;
        rdfs:label       "GlobecoordinateValue" ;
        rdfs:subClassOf  <http://wikiba.se/ontology#Value> .

<http://wikiba.se/ontology#quantityUpperBound>
        a             owl:DatatypeProperty ;
        rdfs:comment  "Upper bound of the value." ;
        rdfs:domain   <http://wikiba.se/ontology#QuantityValue> ;
        rdfs:label    "quantityUpperBound" ;
        rdfs:range    xsd:decimal .

<http://wikiba.se/ontology#timePrecision>
        a             owl:DatatypeProperty ;
        rdfs:comment  "Datetime precision." ;
        rdfs:domain   <http://wikiba.se/ontology#TimeValue> ;
        rdfs:label    "timePrecision" ;
        rdfs:range    xsd:nonNegativeInteger .

<http://wikiba.se/ontology#quantityLowerBound>
        a             owl:DatatypeProperty ;
        rdfs:comment  "Lower bound of the value." ;
        rdfs:domain   <http://wikiba.se/ontology#QuantityValue> ;
        rdfs:label    "quantityLowerBound" ;
        rdfs:range    xsd:decimal .

<http://wikiba.se/ontology#grammaticalFeature>
        a             owl:ObjectProperty ;
        rdfs:comment  "Form grammatical feature." ;
        rdfs:domain   <http://wikiba.se/ontology#Form> ;
        rdfs:label    "grammaticalFeature" ;
        rdfs:range    <http://wikiba.se/ontology#Item> .

<http://wikiba.se/ontology#Value>
        a             owl:Class ;
        rdfs:comment  "Wikibase extended value." ;
        rdfs:label    "Value" .

<http://wikiba.se/ontology#rank>
        a             owl:ObjectProperty ;
        rdfs:comment  "Statement rank." ;
        rdfs:domain   <http://wikiba.se/ontology#Statement> ;
        rdfs:label    "rank" ;
        rdfs:range    <http://wikiba.se/ontology#Rank> .

<http://wikiba.se/ontology#Statement>
        a             owl:Class ;
        rdfs:comment  "A reified statement." ;
        rdfs:label    "Statement" .

<http://wikiba.se/ontology#ExternalId>
        a             <http://wikiba.se/ontology#PropertyType> , owl:NamedIndividual ;
        rdfs:comment  "Type for referring to ID defined by external authority." ;
        rdfs:label    "WikibaseExternalId" .

<http://wikiba.se/ontology#Rank>
        a             owl:Class ;
        rdfs:comment  "Wikibase statement rank." ;
        rdfs:label    "Rank" .

<http://wikiba.se/ontology#directClaim>
        a             owl:ObjectProperty ;
        rdfs:comment  "Link between Wikibase Property and direct claim predicate." ;
        rdfs:domain   <http://wikiba.se/ontology#Property> ;
        rdfs:label    "directClaim" .

<http://wikiba.se/ontology#Item>
        a                owl:Class ;
        rdfs:comment     "Wikibase item." ;
        rdfs:label       "Item" ;
        rdfs:subClassOf  <http://wikiba.se/ontology#Entity> .

<http://wikiba.se/ontology#referenceValueNormalized>
        a             owl:ObjectProperty ;
        rdfs:comment  "Link between Wikibase Property and reference normalized value predicate." ;
        rdfs:domain   <http://wikiba.se/ontology#Property> ;
        rdfs:label    "referenceValueNormalized" .

<http://wikiba.se/ontology#lexicalCategory>
        a             owl:ObjectProperty ;
        rdfs:comment  "Lexeme lexical category." ;
        rdfs:domain   <http://wikiba.se/ontology#Lexeme> ;
        rdfs:label    "lexicalCategory" ;
        rdfs:range    <http://wikiba.se/ontology#Item> .

<http://wikiba.se/ontology#quantityAmount>
        a             owl:DatatypeProperty ;
        rdfs:comment  "Amount of quantity." ;
        rdfs:domain   <http://wikiba.se/ontology#QuantityValue> ;
        rdfs:label    "quantityAmount" ;
        rdfs:range    xsd:decimal .

<http://wikiba.se/ontology#lemma>
        a             owl:DatatypeProperty ;
        rdfs:comment  "Lexeme lemma." ;
        rdfs:domain   <http://wikiba.se/ontology#Lexeme> ;
        rdfs:label    "lemma" ;
        rdfs:range    rdf:langString .

<http://wikiba.se/ontology#statementProperty>
        a             owl:ObjectProperty ;
        rdfs:comment  "Link between Wikibase Property and statement property predicate." ;
        rdfs:domain   <http://wikiba.se/ontology#Property> ;
        rdfs:label    "statementProperty" .

<http://wikiba.se/ontology#geoLatitude>
        a             owl:DatatypeProperty ;
        rdfs:comment  "Coordinate latitude." ;
        rdfs:domain   <http://wikiba.se/ontology#GlobecoordinateValue> ;
        rdfs:label    "geoLatitude" ;
        rdfs:range    xsd:decimal .

<http://wikiba.se/ontology#WikibaseProperty>
        a             <http://wikiba.se/ontology#PropertyType> , owl:NamedIndividual ;
        rdfs:comment  "Type for referring to a Wikibase property." ;
        rdfs:label    "WikibaseProperty" .

<http://wikiba.se/ontology#quantityUnit>
        a             owl:ObjectProperty ;
        rdfs:comment  "Unit of measurement." ;
        rdfs:domain   <http://wikiba.se/ontology#QuantityValue> ;
        rdfs:label    "quantityUnit" ;
        rdfs:range    <http://wikiba.se/ontology#Item> .

<http://wikiba.se/ontology#CommonsMedia>
        a             <http://wikiba.se/ontology#PropertyType> , owl:NamedIndividual ;
        rdfs:comment  "Wikimedia Commons reference type." ;
        rdfs:label    "CommonsMedia" .

<http://wikiba.se/ontology#Entity>
        a             owl:Class ;
        rdfs:comment  "Wikibase entity." ;
        rdfs:label    "Entity" .

<http://wikiba.se/ontology#qualifierValueNormalized>
        a             owl:ObjectProperty ;
        rdfs:comment  "Link between Wikibase Property and qualifier normalized value predicate." ;
        rdfs:domain   <http://wikiba.se/ontology#Property> ;
        rdfs:label    "qualifierValueNormalized" .
