Inspire Agricultural and Aquaculture Facilities (4.0) model. Language of “name” element in Holding type.

Added by Pedro Monteiro over 1 year ago

Hello,

I have a GML file (but know almost nothing about this language, or any other coding), generated and validated only by HALE, accordingly to the Inspire Agricultural and Aquaculture Facilities (4.0) model.
I chose to write the data in english (simpler to harmonize and interoperate, and also because the relevant Inspire codelists were not translated), except – of course – for the facility’s name, which was kept in portuguese.
This "name" is an element from the Inspire ActivityComplex parent type, inherited by the Holding type of the model.
About this element, Inspire specifications (document D.2.10.3, v.1.0rc2) note that “several names in different languages may be expressed”, and recommend “that the language of the name (part of the GeographicalName data type) be filled whenever possible”
So, besides keeping the facility’s name, I also want to specify its language (portuguese), because it is not the same of the whole GML document (english).

The problem is that Inspire Agricultural and Aquaculture Facilities target schema doesn’t seem to include any “language” attribute under any of its "name" elements of the Holding type:
a) gml:name (0...n) with attribute "codeSpace";
b) act-core:name (0...1) with attribute "nilReason".
In fact, the closest to any “language” attribute in the schema is a “locale” under Function>description>PT_FreeText>textGroup>LocalisedCharacterString, which seems appropriate for the language of a descriptive text about the function, but not for the language of the holding’s name.
So I filled the above gml:name with the holding’s portuguese name (could fill the act-core:name instead; but the multiplicity 0…n of the former seems more appropriate for “several names in different languages” besides the main language, which is english in this case).
And I also assigned to attribute "codeSpace" a URI resolvable in a page of alpha ISO 639-2 Codes, including the portuguese code (“por” or “pt”); but don’t think this is correct, or enough, because there is no way to conclude that the words in the name attribute are written in portuguese, as the URI does not resolve to this particular code/value. I also doubt that a GML with this solution could be “Inspire compliant” and validated against Inspire conformance tests.

So, how to correctly include, with HALE, the language of the holding’s name in the Inspire target schema Agricultural and Aquaculture Facilities (4.0) model?

My best regards


Replies (2)

RE: Inspire Agricultural and Aquaculture Facilities (4.0) model. Language of “name” element in Holding type. - Added by Thorsten Reitz over 1 year ago

Hi Pedro,

I had a look at the INSPIRE Agricultural and Aquaculture Facilities model, and indeed it doesn't use the usual GeographicalName type for its name attributes, nor does it use LocalisedCharacterString. I see two options:

  1. Find out whether it is an error in the model (over at the INSPIRE Thematic clusters discussion platform)
  2. Include a metadata property to add the language information by adding MD_Metadata to the Target Mappale Types and then creating a single object with a language property, which you can then reference from your features.

All the best,

Thorsten

RE: Inspire Agricultural and Aquaculture Facilities (4.0) model. Language of “name” element in Holding type. - Added by Pedro Monteiro over 1 year ago

Hi, Thorsten

I would like to understand the second option.

I added MD_Metadata type (Edit mapping relevant target types), but of course it has lots of elements (some of them mandatory), and think I would only need “language” and/or “locale”, and “id”; if so, how to get rid of the others (the Edit > Delete command is not activated)?

What do you mean by “creating a single object”?

And how to reference this from my “features”? I thought I could reference from the “name” already talked and filled, but this element has no “href” attribute either, to assign some unique “id” of the metadata language.

Thank you very much.

(1-2/2)