/** An OWL class mapped to a MEMO kind */ export interface OwlClass { /** IRI or local name */ uri: string; /** Local name extracted from IRI */ name: string; /** rdfs:label if present */ label: string; /** rdfs:comment if present */ comment: string; /** Parent class (rdfs:subClassOf) */ superClass?: string; /** Layer derived from class annotations or superclass */ layer: string; /** SysML construct (heuristic: "requirement def" for req-like names, "part def" otherwise) */ construct: string; } /** An OWL object property mapped to a MEMO relationship */ export interface OwlProperty { /** IRI or local name */ uri: string; /** Local name */ name: string; /** rdfs:label if present */ label: string; /** rdfs:comment if present */ comment: string; /** rdfs:domain (source kind) */ domain?: string; /** rdfs:range (target kind) */ range?: string; /** Layer derived from annotations */ layer: string; } /** Result of importing an OWL ontology */ export interface OwlImportResult { /** Ontology IRI */ ontologyIri: string; /** Ontology version */ version: string; /** Ontology title/description */ title: string; /** Extracted classes */ classes: OwlClass[]; /** Extracted object properties */ properties: OwlProperty[]; /** Warnings */ warnings: string[]; /** Errors */ errors: string[]; /** Statistics */ stats: { classes: number; properties: number; dataProperties: number; }; } /** * Import from OWL/Turtle format. * * Parses a simplified Turtle syntax to extract: * - owl:Class declarations → MEMO kinds * - owl:ObjectProperty declarations → MEMO relationships * - rdfs:subClassOf for type hierarchy * - Layer annotations (memo:layer or derived from superclass) */ export declare function importOwlTurtle(turtleContent: string): OwlImportResult; /** * Import from JSON-LD format. * * Expected structure: * { * "@context": { ... }, * "@graph": [ * { "@id": "...", "@type": "owl:Class", "rdfs:label": "...", ... }, * { "@id": "...", "@type": "owl:ObjectProperty", ... } * ] * } */ export declare function importJsonLd(jsonContent: string): OwlImportResult; /** * Generate SysML v2 text from an OWL import result. * Produces ontology-style definitions (part def, connection def). */ export declare function owlResultToSysml(result: OwlImportResult, packageName: string): string; /** * Generate a complete ontology package from OWL import result. * Returns a map of relative file paths → content. */ export declare function owlResultToPackage(result: OwlImportResult, packageName: string): Map; //# sourceMappingURL=owl-importer.d.ts.map