[tdwg-tapir] RE: [PyWrapper-devel] Query Result
Renato De Giovanni
renato at cria.org.br
Mon May 14 14:21:56 CEST 2007
Good point, Markus.
I guess this happens only when you load concepts from the CNS, which can
just provide a simple list of concepts (alias/id). If you load them
directly from ABCD, you could make use of additional information to
determine if the concept is mandatory or not.
When I load DarwinCore concepts from the conceptual schema itself I can
tell if a concept is mandatory by looking at the "nillable" attribute.
In the future, when we have the CNS as a real service, we can think of
ways to provide more information about concepts.
Best Regards,
--
Renato
> I was thinking about that too. We already have that in the BioCASE
> software. But the problem with TAPIR is that the concepts you map to are
> themselves *not* mandatory. Only the output model which is used in a
> request states that a certain concept is required. So basically any ABCD
> or Darwin Core concept could be mandatory. The only way around I see is to
> use a "canonical" model in the back to do the mapping, i.e. the model
> which looks exactly like the schema that is used to define concepts. This
> is an item on pywrappers requested feature list, but I dont have time to
> do anything about it soon I am afraid.
>
> http://trac.pywrapper.org/pywrapper/ticket/97
>
>
> thanks,
> markus
>
>
> -----Original Message-----
> From: pywrapper-devel-bounces at lists.sourceforge.net on behalf of Shunde
> Zhang
> Sent: Mon 5/14/2007 8:22 AM
> To: PyWrapper Developers mailing list
> Cc:
> Subject: Re: [PyWrapper-devel] Query Result
>
> Hi Markus,
>
> Thanks for your reply. I finally got it working. Since I don't know which
> concept is compulsory, I just missed some concepts. It would be good if I
> add a
> schema to the mapping, those must-have concepts will be added by default
> so that
> I don't need to look for them from the long long list.
>
> Sorry the system is in our intranet, so you cannot access it. Thanks
> anyway.
>
> Cheers,
> Shunde.
More information about the tdwg-tag
mailing list