On 08/06/11 15:39, Ian Dickinson wrote:
> On 08/06/11 15:02, Yogi Aryadinata wrote:
Sorry, I should have read more of the thread before answering! I see
that Andy has already done more investigation on this.

I think you're asking if you can replace a describe query with a select.
If so, the answer is "kind of". Specifically, it depends if the data
you're querying has any blank-nodes in it. If not, then you can take all
of the results of the "select * {?s ?p ?o}" query and assert them into a
local Model object, and that will (probably) be the same as the describe
query. However, if some of the ?o values are resources which are
blank-nodes, then you'll have only a subset of the triples you would get
from a describe, and because they're blank nodes you don't have an easy
way to get more data about them. Whether this is a problem for your
application in practice is something only you can decide.

Ian

Reply via email to