Sanjeev,
here is what I learned: The nodes table contains all nodes in the
dataset. A node can be any type; blank, URI, literal. The nodes table
primary key is the calculated hash for the node. The quads table then
contains the foreign keys to the nodes table. So there is no way to
know the position of a node within the statement without joining the 2
tables.
HTH
Holger
On 11/07/2019 09:19, Holger Knublauch wrote:
Sorry for the delayed response; I was away for a couple of days.
On 5/07/2019 19:23, Sanjeev Devireddy wrote:
Hi Holger,
Thanks for your response. As my actual question was not answered
so assuming that I wasn't much clear in the previous post so here I
am elaborating the same question again. Please check my comments below.
On Friday, July 5, 2019 at 12:28:39 PM UTC+5:30, Holger Knublauch wrote:
From an RDF perspective, these user references will typically
only appear in graphs ending with .tch - those that capture the
metadata about an asset collection, including the permissions and
change history. Look for triples with sioc:has_creator as
predicate, for example. These are in the object position only.
Yes, when the teamGraph is queried (please check the below SPARQL)
then it gives the metadata including the permissions and change
history. From that SPARQL results (please check the attachment), we
can see the User IDs/URIs can be at Subject and/or Object positions
of Triples.
SELECT ?s ?p ?o
WHERE {
BIND (<urn:x-evn-master:geo> AS ?projectGraph)
rdf:nil <http://topbraid.org/teamwork#graphsUnderTeamControl>
( ?projectGraph ?teamGraph ) .
GRAPH ?teamGraph {
?s ?p ?o
}
}
BTW you could replace the line starting with rdf:nil with BIND
(teamwork:teamGraph(?projectGraph) AS ?teamGraph) .
And yes, correct, the user IDs are also sometimes encoded in the URIs
of teamwork:Change subjects.
The subject position would be used by the graph
urn:x-evn-user-data, e.g. the triple
<urn:x-tb-users:Administrator>
<http://topbraid.org/teamwork#recent_collections>
<http://topbraid.org/teamwork#recent_collections>
<urn:x-evn-master:xy_graph> ;
.
From previous posts it is understood that Object position of Triples
are stored in the column called lex(in the table Nodes2). Now, my
question is that as you also said (in one of your previous posts)
that if an User URI is at the Subject position of a Triple then that
User URI is stored in a different RDB database column other than the
column named lex so, what could be the TopBraid EDG RDB Table/Column
that stores the User URI that is at the Subject position of a Triple?
Please check the below two examples:
_1) User URI at Object position of a Triple:_
<urn:x-evn-master:geo.tch> <http://rdfs.org/sioc/ns#has_creator>
<urn:x-tb-users:Administrator>
In the above example, since the User URI is at Object position so, it
is stored in the column called lex (in the table Nodes2).
_2) User URI at the Subject position of a Triple:_
<urn:x-change:2019-07-05T08-29-53.421ZAdministrator-2db2948e-2f1b-46b3-852a-cbbe5c08aa56>
rdfs:comment Create Continent with URI
http://topquadrant.com/ns/examples/geography#CONTINENT-TestContinent
Here the question is that in which TopBraid EDG RDB Table/Column the
above Subject(User URI) is stored if it is not the column called lex
(in the table Nodes2)?
I will need to ask my colleague on which RDB table is involved, and
will get back to you.
Holger
Thanks,
Sanjeev
--
You received this message because you are subscribed to the Google
Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/d8b6d6b7-b300-49d0-baef-d61f2d9f399b%40googlegroups.com
<https://groups.google.com/d/msgid/topbraid-users/d8b6d6b7-b300-49d0-baef-d61f2d9f399b%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "TopBraid
Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/c71d5a78-13d3-9844-49f4-19a80ab9857d%40topquadrant.com.
For more options, visit https://groups.google.com/d/optout.