sparql list constructor

Hi,

I try to play with the sparql list constructor implemented in cwm.

Given the following assertions:

:example
	:prop1 "value 1" ;
	:prop3 "value 3" .

and the following CONSTRUCT:
CONSTRUCT 
{
	?obj :result ( ?value1 ?value2 ?value3 ) .
}
WHERE
{
	OPTIONAL { ?obj :prop1 ?value1 }.
	OPTIONAL { ?obj :prop2 ?value2 }.
	OPTIONAL { ?obj :prop3 ?value3 }.
}

I would expect the result to be:

:example :result ( "value 1" "value 3" ) .

But cwm (cwm= $Revision: 1.193 $ llyn= $Revision: 1.183 $) doesn't return any 
result... How can I specify a rdf:List with optional values?

J.

-- 
Antidot - solutions de recherche d'information
gsm: +33 6 62 79 09 74
ip : +33 9 50 28 37 46
fax: +33 9 55 28 37 46

Received on Tuesday, 31 July 2007 17:52:56 UTC