[Mulgara-general] Query from restricted graphs

Alexandre Passant alex at passant.org
Wed Aug 23 09:45:41 UTC 2006


Hi all,

I'm currently trying mulgura (never used kowari before), and got a
question regarding 'from' queries.

I'd like to retrieve information from a set of statements constraint
with their properties.

I first add all needed statements:

create <rmi://192.168.0.1/server1#sampledata>;
load <http://apassant.net/blog/sioc.php?type=post&id=104>
into<rmi://192.168.0.1/server1#sampledata>;
insert <http://apassant.net/blog/sioc.php?type=post&id=104> <dc:title>
'test graph' into <rmi://192.168.0.1/server1#sampledata>;

I'm looking for something like

select $s $p $o from $g where $s $p $o and $g <dc:title> 'test graph';
(leads to Query Error: [1,22] expecting: '(', resource )

Is there a way to do such queries ?

Finally, is there any difference between from and in ?

Thanks for your help,

Alex.



More information about the Mulgara-general mailing list