object-or-refernce #1
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)
|
- [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)
|
- [type (https://www.w3.org/TR/rdf12-schema/#ch\_type)](#type-httpswwww3orgtrrdf12-schemach_type)
|
||||||
|
|
||||||
|
|
||||||
# receipts to transform ttl to spec
|
# receipts to transform ttl to spec
|
||||||
|
|
||||||
## **a**
|
## **a**
|
||||||
|
@ -68,21 +67,13 @@ Maps to
|
||||||
|
|
||||||
### owner is **a** type
|
### 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
|
Example in namespace activitypub2
|
||||||
```ttl
|
```ttl
|
||||||
as:id rdfs:domain [a owl:Class;]
|
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
|
### 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.
|
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