Rust implementation of NextGraph, a Decentralized and local-first web 3.0 ecosystem
https://nextgraph.org
byzantine-fault-tolerancecrdtsdappsdecentralizede2eeeventual-consistencyjson-ldlocal-firstmarkdownocapoffline-firstp2pp2p-networkprivacy-protectionrdfrich-text-editorself-hostedsemantic-websparqlweb3collaboration
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
538 B
21 lines
538 B
PREFIX ex: <http://example.org/>
|
|
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
|
|
|
ex:TestObjectShape EXTRA a {
|
|
a [ ex:TestObject ] ;
|
|
ex:stringValue xsd:string ;
|
|
ex:numValue xsd:integer ;
|
|
ex:boolValue xsd:boolean ;
|
|
ex:arrayValue xsd:integer* ;
|
|
ex:objectValue {
|
|
ex:nestedString xsd:string ;
|
|
ex:nestedNum xsd:integer ;
|
|
ex:nestedArray xsd:integer* ;
|
|
} ;
|
|
ex:anotherObject {
|
|
ex:prop1 xsd:string ;
|
|
ex:prop2 xsd:integer ;
|
|
} * ;
|
|
ex:numOrStr xsd:string OR xsd:integer ;
|
|
ex:lit1Or2 ["lit1"] OR ["lit2"] ;
|
|
}
|
|
|