From 97eb76b8d393de4117014f194c757b3a5c5df34d Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 28 Jul 2023 13:15:19 +0200 Subject: [PATCH] ignore domain .. a in mapping --- doc/Translate_ttl_to_spec.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/doc/Translate_ttl_to_spec.md b/doc/Translate_ttl_to_spec.md index 4512cd1..9ffa058 100644 --- a/doc/Translate_ttl_to_spec.md +++ b/doc/Translate_ttl_to_spec.md @@ -9,7 +9,6 @@ - [range (https://www.w3.org/TR/rdf12-schema/#ch\_range)](#range-httpswwww3orgtrrdf12-schemach_range) - [type (https://www.w3.org/TR/rdf12-schema/#ch\_type)](#type-httpswwww3orgtrrdf12-schemach_type) - # receipts to transform ttl to spec ## **a** @@ -68,21 +67,13 @@ Maps to ### owner is **a** type -It is added to the owner. That's the way to model properties. If the owner is membe of an other namespace, we create a subclass with same name in the namespce in scope and enhance the subclass. +We ignore this. Example in namespace activitypub2 ```ttl as:id rdfs:domain [a owl:Class;] ``` -Maps to -```clojure -(s/def - ::Class - (s/merge ::owl/Class - (s/keys :opt-un [::id]))) -``` - ### owner is a **owl:unionOf** types It is added to the owner. That's the way to model properties. If the owner is membe of an other namespace, we create a subclass with same name in the namespce in scope and enhance the subclass.