[Mulgara-general] walking bnodes?

tl thomas at stray.net
Tue Apr 29 10:28:55 UTC 2008


hi,

i've got a modelling issue. best i start with an example. say, i'm  
modelling a text-object. it looks like this:

subject1	type		article
		title		"some title"
		creator		"a name"
		body		complex_xhtml_blob

now ... in some cases the body may be a blob (as above) while in other  
cases it is structured, like this:

subject1	type		article
		title		"some title"
		creator		"a name"
		body		_bnode
_bnode		subtitle	"some subtitle"
		paragraph	"some text"
		image		picture.gif

the question now is: is it possible to query for all predicates/ 
objects of a given subject and let the query automagically follow any  
_bnodes it encounters on the way? that's essentially the sparql  
DESCRIBE command [1] returning a Concise Bounded Description [2] i  
guess.
does TQL even provide the capability to identify a bnode and do  
something different in that case)?

thanks for your time!
thomas



[1] http://www.w3.org/TR/rdf-sparql-query/#describe
[2] http://www.w3.org/Submission/CBD/



More information about the Mulgara-general mailing list