You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demo/kgraph/README.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,9 @@ Basic `.onya` format example:
33
33
```onya
34
34
# @docheader
35
35
* @document: http://example.org/mydata
36
-
* @base: http://example.org/entities/
36
+
* @nodebase: http://example.org/entities/
37
+
* @schema: https://schema.org/
38
+
* @language: en
37
39
38
40
# Alice [Person]
39
41
* name: Alice Smith
@@ -45,7 +47,7 @@ Basic `.onya` format example:
45
47
* occupation: Data Scientist
46
48
```
47
49
48
-
There is a document header which declares namespaces and base IRIs (URIs). Node definitions are marked with `# NodeID [Type]`. The node ID is resolved against `@document`and the type against
50
+
There is a document header which declares namespaces and base IRIs (URIs). Node definitions are marked with `# NodeID [Type]`. Node IDs are resolved against `@nodebase`, while types and property labels are resolved against `@schema`.
49
51
-**Properties**: Listed with `* property: value`
50
52
-**Types**: Entities can have one or more types
51
53
@@ -61,12 +63,14 @@ There is a document header which declares namespaces and base IRIs (URIs). Node
0 commit comments