@prefix npo_o: <http://ontology.metadatahub.bijnpo.nl/ontology#> .
@prefix ec: <http://www.ebu.ch/metadata/ontologies/ebucoreplus#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://ontology.metadatahub.bijnpo.nl/ontology#> a owl:Ontology ;
    rdfs:label "NPO Metadata Ontology"@en ;
    rdfs:comment "Extensions to EBUCore+ for NPO's Metadata Hub."@en ;
    owl:versionInfo "1.0.0" ;
    owl:imports <http://www.ebu.ch/metadata/ontologies/ebucoreplus> .

# Classes

npo_o:AlternativeContentDescription a owl:Class ;
    rdfs:label "Alternative Content Description"@en ;
    rdfs:comment "A description variant with type and ownership metadata."@en .

npo_o:System a owl:Class ;
    rdfs:label "System"@en ;
    rdfs:comment "A system that provides or modifies metadata."@en .

# Object Properties

npo_o:hasAlternativeContentDescription a owl:ObjectProperty ;
    rdfs:label "has alternative content description"@en ;
    rdfs:domain ec:EditorialObject ;
    rdfs:range npo_o:AlternativeContentDescription .

npo_o:hasProductionCountry a owl:ObjectProperty ;
    rdfs:label "has production country"@en ;
    rdfs:comment "Country where the production company is established."@en ;
    rdfs:domain ec:EditorialObject ;
    rdfs:range ec:CountryCode .

npo_o:hasSubtitlingLanguage a owl:ObjectProperty ;
    rdfs:label "has subtitling language"@en ;
    rdfs:domain ec:Track ;
    rdfs:range ec:Language .

npo_o:hasSystem a owl:ObjectProperty ;
    rdfs:label "has system"@en ;
    rdfs:comment "The system responsible for this provenance record."@en ;
    rdfs:domain ec:Provenance ;
    rdfs:range npo_o:System .

# Datatype Properties

npo_o:basedOn a owl:DatatypeProperty ;
    rdfs:label "based on"@en ;
    rdfs:comment "Name of the source work (book, play, etc.) this content is based on."@en ;
    rdfs:domain ec:EditorialObject ;
    rdfs:range xsd:string .

npo_o:prid a owl:DatatypeProperty ;
    rdfs:label "Product ID"@en ;
    rdfs:comment "The primary identifier for media objects."@en ;
    rdfs:domain ec:EditorialObject ;
    rdfs:range xsd:string .

npo_o:gtaaStatus a owl:DatatypeProperty ;
    rdfs:label "GTAA status"@en ;
    rdfs:comment "Approval status of the GTAA concept."@en ;
    rdfs:domain ec:Identifier ;
    rdfs:range xsd:string .

npo_o:highlighted a owl:DatatypeProperty ;
    rdfs:label "highlighted"@en ;
    rdfs:comment "Indicates editorially promoted or featured content."@en ;
    rdfs:domain ec:Picture ;
    rdfs:range xsd:boolean .

npo_o:repeat a owl:ObjectProperty ;
    rdfs:label "repeat" ;
    rdfs:comment "Indicates whether a linear PublicationEvent is a repeat of a previous one." ;
    rdfs:domain ec:PublicationEvent ;
    rdfs:range xsd:boolean .

npo_o:repeatText a owl:ObjectProperty ;
    rdfs:label "repeat text" ;
    rdfs:comment "The text associated with a repeated linear PublicationEvent, usually the date of NPO's first airing." ;
    rdfs:domain ec:PublicationEvent ;
    rdfs:range xsd:string .
