That adds a property to the *class definition*.

Sounds like you want to add a property to the *instances* created by the class 
map.

See here:
http://www4.wiwiss.fu-berlin.de/bizer/d2rq/spec/#additionalproperty_deprecated

Best,
Richard


On 8 Sep 2011, at 12:26, Martynas Jusevicius wrote:

> Hey list,
> 
> here's a snippet from my D2R mapping:
> 
> map:cartoons a d2rq:ClassMap;
>       d2rq:dataStorage map:database;
>       d2rq:uriPattern "striben/@@cartoons.published_at@@";
>       d2rq:class hn:StripPost;
>       d2rq:classDefinitionLabel "cartoons";
>       d2rq:condition "cartoons.type = 'strip'";
>    d2rq:additionalClassDefinitionProperty map:strip_container
>    .
> map:strip_container a d2rq:AdditionalProperty;
>    d2rq:propertyName sioc:has_container;
>    d2rq:propertyValue <striben>
>       .
> 
> I would expect d2rq:AdditionalProperty to add
> sioc:has_container <striben>
> but it does not seem to have any effect.
> 
> Am I doing smth wrong? Thx.
> 
> Martynas
> semantic-web.dk
> 
> ------------------------------------------------------------------------------
> Doing More with Less: The Next Generation Virtual Desktop 
> What are the key obstacles that have prevented many mid-market businesses
> from deploying virtual desktops?   How do next-generation virtual desktops
> provide companies an easier-to-deploy, easier-to-manage and more affordable
> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
> _______________________________________________
> d2rq-map-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to