Re: sparql list constructor

Jérôme Mainka:

Thanks for trying cwm's sparql support! I'm trying to reduce the  
number of bugs, so any feedback is appreciated.

We do not support that ability at this time. Patches are always  
welcome, but it was decided that supporting the creation of lists  
that way was too difficult for cwm to do, and my time was spent  
elsewhere.


Yosi Scharf

> 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 Monday, 20 August 2007 13:54:14 UTC