linked-sdmx icon indicating copy to clipboard operation
linked-sdmx copied to clipboard

Datatypes in observation object resources

Open csarven opened this issue 13 years ago • 3 comments

Add appropriate datatypes to the object resources in observations when they are not explicitly given via structure:TextFormat in KeyFamily. This is really about checking literals for known patterns.

csarven avatar Jan 05 '13 13:01 csarven

See also Issue #2

csarven avatar Jan 24 '13 09:01 csarven

Commit fca8e69562ea81dfa3097c92eff1ea06a333c95f detects xsd:decimal type and assigns rdf:datatype xsd:decimal . Otherwise left as literal.

Leaving this issue open for other enhancements.

csarven avatar Feb 23 '13 08:02 csarven

For some of the Attributes e.g.:

<structure:Attribute isTimeFormat="true" assignmentStatus="Mandatory" attachmentLevel="Series" conceptAgency="ECB" conceptVersion="1.0" conceptRef="TIME_FORMAT">
    <structure:TextFormat maxLength="3" minLength="3" textType="String"/>
</structure:Attribute>

if a URI is not used, the literal shouldn't be datatyped. In the case above, the datatype is xsd:string and that's not fun to query with.

csarven avatar Mar 18 '13 14:03 csarven