W3C home > Mailing lists > Public > semantic-web@w3.org > March 2018

Re: Is there a "has" predicate?

From: Sarven Capadisli <info@csarven.ca>
Date: Thu, 8 Mar 2018 16:53:26 +0100
To: semantic-web@w3.org
Message-ID: <48c79222-56e7-7f31-012b-9e502549ad70@csarven.ca>
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

This archive was generated by hypermail 2.3.1 : Thursday, 8 March 2018 15:54:15 UTC