W3C home > Mailing lists > Public > public-vocabs@w3.org > January 2014

Machine-readable cardinalities

From: KÚvin Dunglas <dunglas@gmail.com>
Date: Sat, 25 Jan 2014 22:59:56 +0000
Message-ID: <CAOv1iQavebEFeMfmjFtRnX2fb=kPPbzaY=NCOD8osWaHjUm+=w@mail.gmail.com>
To: public-vocabs@w3.org
Hi,

I'm writing a code generator that converts Schema.org's types to PHP
classes.

I'm looking for a machine-friendly way to extract cardinalities of
properties.

Actually I've started to parse rdf:comment with regex but this is not
practical. Does someone has a better idea?

A notation such as the one used in Good Relations would be pleasant:
http://www.heppnetz.de/ontologies/goodrelations/v1.html#microdata_specification(see
10).

Thanks.



-- 
KÚvin Dunglas

http://dunglas.fr
Received on Sunday, 26 January 2014 21:31:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:49:21 UTC