3

RDF Data Cube Vocabularyドキュメントを読んでいると、1 つのことが混乱します: MeasureProperties(次の例では、まずプロパティeg:lifeExpectancyとして定義されています。しかし、データ構造を定義するときに、それらはオブジェクトとして使用されます。これは許可されますか?次の例を参照してください。仕様書から直接引用。

したがって、最初にMeasurePropertyそれ自体が として定義されますrdf:property。の次の例を参照してくださいeg:lifeExpectancy

eg:lifeExpectancy  a rdf:Property, qb:MeasureProperty;
    rdfs:label "life expectancy"@en;
    rdfs:subPropertyOf sdmx-measure:obsValue;
    rdfs:range xsd:decimal . 

後で、これMeasurePropertyを使用してデータ構造を定義します。

eg:dsd-le a qb:DataStructureDefinition;
    # The dimensions
    [...]
    # The measure(s)
    qb:component [ qb:measure eg:lifeExpectancy];
    # The attributes
    [...]

eg:lifeExpectancyここでわかるように、オブジェクトとして使用されていますが、これはプロパティであるため、許可されるべきではありません?! または私は間違って考えていますか?

後で、観察を実際に表現するときは、プロパティeg:lifeExpectancyとしての私たちです。

eg:o1 a qb:Observation;
    qb:dataSet  eg:dataset-le1 ;
    eg:refArea                 ex-geo:newport_00pr ;                  
    sdmx-dimension:sex         sdmx-code:sex-M ;
    sdmx-attribute:unitMeasure <http://dbpedia.org/resource/Year> ;
    eg:lifeExpectancy          76.7 ;
    .

eg:lifeExpectancy 上記のように、オブジェクトとして使用することはどのように可能/許可されていqb:DataStructureDefinitionますか?

4

1 に答える 1