Looks good, Claude.
If I have A::TreeMap<String, B>, can I create the statements to associate A
and Bs? How will it look in the code?

There is no directly defined mapping for Maps.

You could annotate B and then put B's into the map.  I am currently working
on annotating concrete implementations.  Once that is complete you would be
able to annotate an AInterface and then derive A from that and have the map
management in the A implementation.  However, that code is not yet ready.

Claude


On Wed, May 29, 2013 at 8:56 PM, Serge Vilvovsky <[email protected]> wrote:

> Looks good, Claude.
> If I have A::TreeMap<String, B>, can I create the statements to associate A
> and Bs? How will it look in the code?
>
>
> On Wed, May 29, 2013 at 2:41 PM, Claude Warren <[email protected]> wrote:
>
> > Shameless self agrandizing plug....
> >
> > you might look at http://pa4rdf.sourceforge.net/ though it may be more
> > than
> > you are looking for.
> >
> > Claude
> >
> >
> > On Tue, May 28, 2013 at 8:52 PM, Serge Vilvovsky <[email protected]>
> > wrote:
> >
> > > I am looking for an advice.
> > >
> > > I have the model defined in POJO. For example the object of type A
> > contains
> > > the list of objects of type B and array of objects of type C. All the
> > > objects also have simple properties like String, int, long etc.
> > >
> > > For example:
> > >
> > > public Class A {
> > >
> > >   List<B> bs;
> > >   C[] cs;
> > >   String name;
> > >   int size;
> > > }
> > >
> > > I would like to create an RDF (or JSON-LD) that describes that model
> with
> > > the statements like:
> > >
> > > A:a1 A:name "myobject"
> > >
> > > What tools and approaches do you suggest me to use to build it
> > > automatically for any kind of objects?
> > >
> > > Thank you!
> > >
> >
> >
> >
> > --
> > I like: Like Like - The likeliest place on the web<
> > http://like-like.xenei.com>
> > Identity: https://www.identify.nu/[email protected]
> > LinkedIn: http://www.linkedin.com/in/claudewarren
> >
>



-- 
I like: Like Like - The likeliest place on the web<http://like-like.xenei.com>
Identity: https://www.identify.nu/[email protected]
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to