PREFIX anc: <https://data.example.org/ontology/anc#>
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#>

anc:ANCVisit a rdfs:Class ;
  rdfs:label "ANC Visit" .

anc:receivedIntervention a rdf:Property ;
  rdfs:label "received intervention" ;
  rdfs:domain anc:ANCVisit ;
  rdfs:range anc:Intervention .

anc:visitedAt a rdf:Property ;
  rdfs:label "visited at" ;
  rdfs:domain anc:ANCVisit ;
  rdfs:range anc:HealthFacility .

anc:hasObservation a rdf:Property ;
  rdfs:label "has observation" ;
  rdfs:domain anc:ANCVisit ;
  rdfs:range anc:Observation .

anc:visitDate a rdf:Property ;
  rdfs:label "visit date" ;
  rdfs:domain anc:ANCVisit ;
  rdfs:range xsd:date .

anc:attendedBy a rdf:Property ;
  rdfs:label "attended by" ;
  rdfs:domain anc:ANCVisit ;
  rdfs:range anc:HealthWorker .

anc:gestationalAgeWeeks a rdf:Property ;
  rdfs:label "gestational age (weeks)" ;
  rdfs:domain anc:ANCVisit ;
  rdfs:range xsd:integer .

anc:Pregnancy a rdfs:Class ;
  rdfs:label "Pregnancy" .

anc:gravida a rdf:Property ;
  rdfs:label "gravida" ;
  rdfs:domain anc:Pregnancy ;
  rdfs:range xsd:integer .

anc:hasANCVisit a rdf:Property ;
  rdfs:label "has ANC visit" ;
  rdfs:domain anc:Pregnancy ;
  rdfs:range anc:ANCVisit .

anc:hasOutcome a rdf:Property ;
  rdfs:label "has outcome" ;
  rdfs:domain anc:Pregnancy ;
  rdfs:range anc:Outcome .

anc:hasRiskFactor a rdf:Property ;
  rdfs:label "has risk factor" ;
  rdfs:domain anc:Pregnancy ;
  rdfs:range anc:RiskFactor .

anc:parity a rdf:Property ;
  rdfs:label "parity" ;
  rdfs:domain anc:Pregnancy ;
  rdfs:range xsd:integer .

anc:RiskFactor a rdfs:Class ;
  rdfs:label "Risk Factor" .

anc:riskName a rdf:Property ;
  rdfs:label "risk name" ;
  rdfs:domain anc:RiskFactor ;
  rdfs:range xsd:string .

anc:HealthWorker a rdfs:Class ;
  rdfs:label "Health Worker" .

anc:Observation a rdfs:Class ;
  rdfs:label "Clinical Observation" .

anc:bloodPressure a rdf:Property ;
  rdfs:label "blood pressure" ;
  rdfs:domain anc:Observation ;
  rdfs:range xsd:string .

anc:hemoglobinLevel a rdf:Property ;
  rdfs:label "hemoglobin level" ;
  rdfs:domain anc:Observation ;
  rdfs:range xsd:decimal .

anc:HealthFacility a rdfs:Class ;
  rdfs:label "Health Facility" .

anc:Outcome a rdfs:Class ;
  rdfs:label "Pregnancy Outcome" .

anc:outcomeType a rdf:Property ;
  rdfs:label "outcome type" ;
  rdfs:domain anc:Outcome ;
  rdfs:range xsd:string .

anc:Patient a rdfs:Class ;
  rdfs:label "Patient" ;
  rdfs:comment "A pregnant woman receiving antenatal care." .

anc:age a rdf:Property ;
  rdfs:label "age" ;
  rdfs:domain anc:Patient ;
  rdfs:range xsd:integer .

anc:patientID a rdf:Property ;
  rdfs:label "patient ID" ;
  rdfs:domain anc:Patient ;
  rdfs:range xsd:string .

anc:hasPregnancy a rdf:Property ;
  rdfs:label "has pregnancy" ;
  rdfs:domain anc:Patient ;
  rdfs:range anc:Pregnancy .

anc:Intervention a rdfs:Class ;
  rdfs:label "Intervention" .

anc:interventionName a rdf:Property ;
  rdfs:label "intervention name" ;
  rdfs:domain anc:Intervention ;
  rdfs:range xsd:string .
