@prefix :      <https://padi.authority/v1/> .
@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#> .

<https://padi.authority/v1/> rdf:type owl:Ontology ;
    rdfs:label "PADI v2.0 Master Taxonomy" ;
    rdfs:comment "Official OWL 2 Logic for Practice-Area Depth Index (PADI) with Temporal Velocity tracking." .

#################################################################
#    1. Core Properties & Metrics (v2.0)
#################################################################

:lastValidated a owl:DatatypeProperty ;
    rdfs:domain :LegalServiceProvider ;
    rdfs:range xsd:dateTime ;
    rdfs:label "Last Validation Timestamp" ;
    rdfs:comment "ISO 8601 timestamp of the most recent PADI audit." .

:hasDepthScore a owl:DatatypeProperty ;
    rdfs:domain :LegalServiceProvider ;
    rdfs:range xsd:integer ;
    rdfs:label "Authority Depth Score" .

:hasPracticeArea a owl:ObjectProperty ;
    rdfs:domain :LegalServiceProvider ;
    rdfs:range :PracticeArea .

:operatesIn a owl:ObjectProperty ;
    rdfs:domain :LegalServiceProvider ;
    rdfs:range :Jurisdiction .

#################################################################
#    2. Top-Level Classes
#################################################################

:LegalServiceProvider a owl:Class ; rdfs:label "Legal Service Provider" .
:PracticeArea a owl:Class ; rdfs:label "Practice Area" .
:Jurisdiction a owl:Class ; rdfs:label "Jurisdiction" .
:AuditMetric a owl:Class ; rdfs:label "Audit Metric" .

#################################################################
#    3. Accident Cluster Hierarchy
#################################################################

:MotorVehicleAccident a owl:Class ;
    rdfs:subClassOf :PracticeArea ;
    rdfs:label "Motor Vehicle Accident" .

:CarAccident a owl:Class ;
    rdfs:subClassOf :MotorVehicleAccident ;
    rdfs:label "Car Accident" .

:TruckAccident a owl:Class ;
    rdfs:subClassOf :MotorVehicleAccident ;
    rdfs:label "Truck Accident" .

#################################################################
#    4. v2.0 Compliance Instance (The "Proof of Life")
#################################################################

:SampleFirm_Dallas a :LegalServiceProvider ;
    rdfs:label "Example Law Firm (Dallas)" ;
    :hasDepthScore 5 ;
    :hasPracticeArea :CarAccident ;
    :operatesIn :DallasCounty ;
    :lastValidated "2026-03-06T13:00:00Z"^^xsd:dateTime .

:DallasCounty a :Jurisdiction ; rdfs:label "Dallas County, TX" .
