W3C home > Mailing lists > Public > semantic-web@w3.org > July 2007

Re: RDF property templating

From: Jérôme Mainka <mainka@antidot.net>
Date: Tue, 31 Jul 2007 19:21:46 +0200
To: semantic-web@w3.org
Message-Id: <200707311921.46993.mainka@antidot.net>

Le lundi 23 juillet 2007 12:29, Renato golin a écrit :
> Have you tried:
>
> CONSTRUCT
> {
>          ?obj1 :result ?value1 .
> 	?obj2 :result ?value2 .
> 	?obj3 :result ?value3 .
> } .
>
> I know the result is not what you want, just to see how those engines
> are rendering the query.
Sorry for the late answer. I was far from any computer...

Given the assertion :

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

The query returns :

:example :result "value 1", "value 3" .

with cwm. (Redland messes with multiple optional and returns no result.) It 
seems that it's the list constructor which seems to require instantiated 
variables.

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:21:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:47:26 UTC