-
Notifications
You must be signed in to change notification settings - Fork 1
/
valid_entities.yaml
95 lines (91 loc) · 2.17 KB
/
valid_entities.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
- uri: http://onto-ns.com/meta/0.1/Person
meta: http://onto-ns.com/meta/0.3/EntitySchema
description: A person.
dimensions:
n_skills: Number of skills.
properties:
skills:
type: string
shape:
- n_skills
description: Skills of the person.
name:
type: string
description: Name of the person.
age:
type: int
description: Age of the person.
- uri: http://onto-ns.com/meta/0.2/Dog
namespace: http://onto-ns.com/meta
version: '0.2'
name: Dog
description: A good dog.
dimensions:
n_tricks: Number of tricks.
properties:
tricks:
type: string
shape: [n_tricks]
description: Tricks the dog can do.
name:
type: string
description: Name of the dog.
age:
type: int
description: Age of the dog.
breed:
type: string
description: Breed of the dog.
# SOFT5 example
- uri: http://onto-ns.com/meta/0.1/Cat
meta: http://onto-ns.com/meta/0.3/EntitySchema
description: A cat.
dimensions: []
properties:
- name: "name"
type: "string"
description: "Name of the cat."
- name: "age"
type: "int"
description: "Age of the cat."
- name: "color"
type: "string"
description: "Color of the cat."
# Reference type property example
- uri: http://onto-ns.com/meta/0.1/PersonWithDog
meta: http://onto-ns.com/meta/0.3/EntitySchema
description: A person with one or more dogs.
dimensions:
n_skills: Number of skills.
n_dogs: Number of dogs.
properties:
skills:
type: string
shape:
- n_skills
description: Skills of the person.
name:
type: string
description: Name of the person.
age:
type: int
description: Age of the person.
dogs:
type: ref
$ref: http://onto-ns.com/meta/0.2/Dog
shape:
- n_dogs
description: The person's dogs.
# Test identity
- identity: http://onto-ns.com/meta/1.0/Owl
description: An owl.
properties:
specific-species:
type: string
description: Specific species of owl.
age:
type: int
description: Age of the owl.
color:
type: string
description: Color of the owl.