# baseURI: https://w3id.org/constructx/contract
# prefix: conx-contract
@prefix conx-contract: <https://w3id.org/constructx/contract#> .
@prefix conx-part: <https://w3id.org/constructx/participation#> .
@prefix conx-agent: <https://w3id.org/constructx/agent#> .
@prefix part-role: <https://www.construct-x.org/vocab/participation-role#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://w3id.org/constructx/contract> a owl:Ontology ;
    owl:imports <https://w3id.org/constructx/participation/0.3.0> ;
    dcterms:title "Construct-X Contract Ontology"@en, "Construct-X Vertragsontologie"@de ;
    dcterms:bibliographicCitation "Construct-X Contract Ontology, version 0.2.0"@en,
                                 "Construct-X Vertragsontologie, Version 0.2.0"@de ;
    dcterms:description "Models bilateral agreements, their parties, project references, contract types and direct subcontracts."@en, "Beschreibt zweiseitige Verträge, ihre Parteien, Projektbezüge, Vertragsarten und direkten Unterverträge."@de ;
    dcterms:created "2026-11-19"^^xsd:date ;
    dcterms:modified "2026-12-04"^^xsd:date ;
    dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:publisher <https://www.construct-x.org/id/organization/ecbe8336-94ab-5c11-8220-94f260963eb2/revision/1> ;
    dcterms:source <https://w3id.org/constructx/participation/0.3.0>,
                   <https://w3id.org/constructx/agent/0.1.0>,
                   <https://www.construct-x.org/vocab/participation-role/0.2.1>,
                   <https://www.construct-x.org/vocab/contract-type/0.1.0> ;
    rdfs:seeAlso conx-part:hasParticipation, conx-part:hasContext,
                 conx-part:hasParticipant, conx-part:hasRole,
                 part-role:CommissioningPartyRole, part-role:ContractorRole,
                 <https://w3id.org/constructx/shapes/contract/core/0.2.0>,
                 <https://w3id.org/constructx/shapes/participation/core/0.3.0> ;
    vann:preferredNamespacePrefix "conx-contract" ;
    vann:preferredNamespaceUri "https://w3id.org/constructx/contract#" ;
    owl:versionIRI <https://w3id.org/constructx/contract/0.2.0> ;
    owl:versionInfo "0.2.0" .

<https://w3id.org/constructx/participation/0.3.0>
    rdfs:label "Construct-X Participation Ontology 0.3.0"@en,
               "Construct-X Participation-Ontologie 0.3.0"@de .

# Referenced classes, declared under their owning namespaces for the diagram.
conx-part:Participation a owl:Class .
conx-part:Role a owl:Class .
conx-agent:Agent a owl:Class .
skos:Concept a owl:Class .

conx-contract:Contract a owl:Class ;
    rdfs:label "Contract"@en, "Vertrag"@de ;
    rdfs:comment "An agreement between one commissioning party and one distinct contractor. Each party holds its role in the context of this agreement."@en,
                 "Vereinbarung zwischen einem Auftraggeber und einem davon verschiedenen Auftragnehmer. Jede Partei hat ihre Rolle im Kontext dieses Vertrags."@de ;
    skos:example "The design agreement points to the school project through hasProjectContext and to the city's and the engineering office's party assignments through hasContractParticipation."@en,
                 "Der Planungsvertrag verweist über hasProjectContext auf das Schulprojekt und über hasContractParticipation auf die Vertragsbeteiligungen der Stadt und des Ingenieurbüros."@de ;
    rdfs:isDefinedBy <https://w3id.org/constructx/contract> .

conx-contract:ContractParticipation a owl:Class ;
    rdfs:subClassOf conx-part:Participation ;
    rdfs:label "Contract participation"@en, "Vertragsbeteiligung"@de ;
    rdfs:comment "The assignment of the commissioning party or contractor role to one agent for one particular contract."@en,
                 "Zuordnung der Auftraggeber- oder Auftragnehmerrolle zu einem Akteur für einen bestimmten Vertrag."@de ;
    skos:example "The office's assignment identifies the office through hasParticipant, ContractorRole through hasRole and the design agreement through hasContext. The city's assignment uses CommissioningPartyRole for the same agreement."@en,
                 "Die Beteiligung des Büros verweist über hasParticipant auf das Büro, über hasRole auf ContractorRole und über hasContext auf den Planungsvertrag. Die Stadt trägt bei diesem Vertrag die Rolle CommissioningPartyRole."@de ;
    rdfs:isDefinedBy <https://w3id.org/constructx/contract> .

conx-contract:hasContractParticipation a owl:ObjectProperty ;
    rdfs:subPropertyOf conx-part:hasParticipation ;
    rdfs:domain conx-contract:Contract ;
    rdfs:range conx-contract:ContractParticipation ;
    rdfs:label "has contract participation"@en, "hat Vertragsbeteiligung"@de ;
    rdfs:comment "Links a contract to the assignment of its commissioning party or contractor. The assignment identifies this contract through hasContext."@en,
                 "Verknüpft den Vertrag mit der Beteiligung seines Auftraggebers oder Auftragnehmers. Die Beteiligung nennt diesen Vertrag über hasContext."@de ;
    rdfs:isDefinedBy <https://w3id.org/constructx/contract> .

conx-contract:hasProjectContext a owl:ObjectProperty ;
    rdfs:domain conx-contract:Contract ;
    rdfs:label "has project context"@en, "hat Projektkontext"@de ;
    rdfs:comment "Links the contract directly to a project in whose context it was concluded. The project is identified by its IRI."@en,
                 "Verknüpft den Vertrag direkt mit einem Projekt, in dessen Kontext er geschlossen wurde. Die IRI identifiziert das Projekt."@de ;
    rdfs:isDefinedBy <https://w3id.org/constructx/contract> .

conx-contract:ContractType a owl:Class ;
    rdfs:subClassOf skos:Concept ;
    rdfs:label "Contract type"@en, "Vertragsart"@de ;
    rdfs:comment "A category assigned to an agreement, such as a construction or design contract."@en,
                 "Kategorie einer Vereinbarung, etwa Bauvertrag oder Planungsvertrag."@de ;
    rdfs:seeAlso <https://www.construct-x.org/vocab/contract-type> ;
    rdfs:isDefinedBy <https://w3id.org/constructx/contract> .

conx-contract:hasContractType a owl:ObjectProperty ;
    rdfs:domain conx-contract:Contract ;
    rdfs:range conx-contract:ContractType ;
    rdfs:label "has contract type"@en, "hat Vertragsart"@de ;
    rdfs:comment "Classifies the agreement using values from the contract type vocabulary."@en,
                 "Ordnet der Vereinbarung Werte aus dem Vokabular für Vertragsarten zu."@de ;
    rdfs:isDefinedBy <https://w3id.org/constructx/contract> .

conx-contract:hasSubcontract a owl:ObjectProperty ;
    rdfs:domain conx-contract:Contract ;
    rdfs:range conx-contract:Contract ;
    owl:inverseOf conx-contract:isSubcontractOf ;
    rdfs:label "has subcontract"@en, "hat Untervertrag"@de ;
    rdfs:comment "Links an agreement to a direct subcontract concluded to fulfil part of that agreement."@en,
                 "Verknüpft einen Vertrag mit einem unmittelbar zu seiner Erfüllung geschlossenen Untervertrag."@de ;
    rdfs:isDefinedBy <https://w3id.org/constructx/contract> .

conx-contract:isSubcontractOf a owl:ObjectProperty ;
    rdfs:domain conx-contract:Contract ;
    rdfs:range conx-contract:Contract ;
    rdfs:label "is subcontract of"@en, "ist Untervertrag von"@de ;
    rdfs:comment "Identifies the immediate parent agreement of a subcontract."@en,
                 "Verweist vom Untervertrag auf den unmittelbar übergeordneten Vertrag."@de ;
    rdfs:isDefinedBy <https://w3id.org/constructx/contract> .
