Re: Is there a "has" predicate?

On 2018-03-08 15:55, Melvin Carvalho wrote:
> e.g.
> 
> Alice has 10^^<#apples>


I'd go at it differently eg:

Alice frbr:ownerOf AlicesApples
AlicesApples quantity 10

(or maybe with schema:owns?)


or depending on the type of dataset / recall you want to have, something
far richer and "complicated" and probably overkill:

AlicesEdiblesStructure
  a qb:DataStructureDefinition
  qb:component
    [ qb:dimension sdmx-dimension:refPeriod ]
    [ qb:dimension edibleItemProperty ]
    [ qb:measure sdmx-measure:obsValue ]
    [ qb:attribute sdmx-attribute:unitMeasure ]

AlicesEdibles
  a qb:DataSet
  qb:structure AlicesEdiblesStructure

Foo
  a qb:Observation
  qb:dataSet AlicesEdibles
  sdmx-dimension:refPeriod thisMonth
  edibleItemProperty concept:Apple
  sdmx-measure:obsValue 10
  sdmx-attribute:unitMeasure IntegerOrFractionOrNegativeCountorWhatever

edibleItemProperty
  a qb:DimensionProperty
  qb:concept conceptscheme:EdiblesItems

conceptscheme:EdiblesItems
  a skos:ConceptScheme
  skos:topConceptOf concept:Apple

concept:Apple
  a skos:Concept

(I've literally just typed this off the top of my head.. expect errors)

-Sarven
http://csarven.ca/#i

Received on Thursday, 8 March 2018 15:54:09 UTC