rdfhdt / rdfhdt.org

Webpage of the community
3 stars 0 forks source link

Spec: order and numtriples properties not clear #5

Open barthanssens opened 8 years ago

barthanssens commented 8 years ago

Section 2.Control Information says that Properties are ASCII key-value pairs

List of properties: List of key-value entries separated by semicolon, using an equal symbol to separate the key and value, and finished by a NULL character. Only ASCII characters are permitted, both ‘=’ and ‘;’ are prohibited. Please note that the last key value pair must also be terminated by a ‘;’ symbol. Example: key1=value1;key2=value2;\0

Section 5. Triples states that the Properties for this type are unsigned 32 bit values.

order: An unsigned 32bit value denoting the order of the triples: Unknown, SPO, SOP, PSO, POS, OSP, OPS (as [0-6]).

So I assume that this means that the property is a string representation of an integer (with a maximum value of uint32) ? E.g "order=1;" ? Or is it an exception to the Control Information format described above, and should it really be a fixed 4-byte value ?