ignore domain .. a in mapping
This commit is contained in:
parent
0fadba5e53
commit
97eb76b8d3
1 changed files with 1 additions and 10 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue