object-or-refernce #1
1 changed files with 3 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
|||
- [**rdfs:domain**](#rdfsdomain)
|
||||
- [owner is **a** type](#owner-is-a-type)
|
||||
- [owner is a **owl:unionOf** types](#owner-is-a-owlunionof-types)
|
||||
- [**rdfs:subClassOf**](#rdfssubclassof)
|
||||
- [Further infos](#further-infos)
|
||||
- [RDF/S](#rdfs)
|
||||
- [range (https://www.w3.org/TR/rdf12-schema/#ch\_range)](#range-httpswwww3orgtrrdf12-schemach_range)
|
||||
|
@ -85,10 +86,10 @@ as:id rdfs:domain [owl:unionOf (as:Link as:Object)]
|
|||
|
||||
Maps to
|
||||
```clojure
|
||||
(s/def ::Object (s/keys :opt-un [::id ...]))
|
||||
(s/def ::Object (sh/map-spec (s/keys :opt-un [::id ...])))
|
||||
|
||||
|
||||
(s/def ::Link (s/keys :opt-un [::id]))
|
||||
(s/def ::Link (sh/map-spec (s/keys :opt-un [::id])))
|
||||
```
|
||||
|
||||
## **rdfs:subClassOf**
|
||||
|
|
Loading…
Reference in a new issue