Normal Data Insertion
{
:sub :pred 'o1'.
:sub :pred 'o2'.
:sub :pred 'o3'.
}
Data insertion using container
{
:sub :pred :_b.
:_b rdf:type rdf:Seq.
:_b rdf:_1 'o1'.
:_b rdf:_2 'o2'.
:_b rdf:_3 'o3'.
}
When I used the basic select query, both the above insertion models were returning results in same order(o1, o2, o3).
What are the benefits we get by container approach(rdf:Seq
)?
Is rdf:Seq
just for representational purpose or does it perform anything under the hood(i.e, preserves insertion ordering) when queried upon?
My Understanding: Even the container insertion model just works the same as the basic normal model when retrieved upon. So even with the container model, insertion order won't be guaranteed while retrieval. I really don't understand the significance of rdf:Seq
(docs link)