- From: Mark Birbeck <mark.birbeck@webbackplane.com>
- Date: Fri, 20 Aug 2010 16:40:06 +0100
- To: benjamin.adrian@dfki.de
- Cc: RDFa WG <public-rdfa-wg@w3.org>
HI Benjamin, 'Node' already exists as a concept in the DOM API, so we shouldn't use it here. Regards, Mark On Fri, Aug 20, 2010 at 4:17 PM, Benjamin Adrian <benjamin.adrian@dfki.de> wrote: > Hi, > > I updated the RDF-API with some editorial issues I discussed with Manu. > Available at: http://www.w3.org/2010/02/rdfa/sources/rdfa-api/ > > Create two meta interfaces called Node and Resource and added a small type > hierarchy to our RDF Object Model: > > Node > > -PlainLiteral > > -TypedLiteral > > -Resource > > -IRI > > -BlankNode > > Then I refined createTriple as follows: > > RDFTriple createTriple (in Resource subject, in IRI property, in Node > object); > > and Sequence<Any> PropertyGroup. get(DOMString property) as > > Sequence<Node> get (in DOMString property); > > I added an Array nature to RDFTriple to allow programmers using array > decomposition > in certain languages . > > [NoInterfaceObject, Null=Null] > > interface RDFTriple { > > readonly attribute unsigned long size; > > [IndexGetter] > > Node get (in unsigned long index); > > readonly attribute Resource subject; > > readonly attribute IRI property; > > readonly attribute Node object; > > stringifier DOMString toString (); > > }; > > Best regards and a nice weekend, > > Ben > > * > > Lots of editorial updates related to Nathan's feedback. > > -- manu > > [1] http://www.w3.org/2010/02/rdfa/meetings/2010-08-05#resolution_2 > [2] http://www.w3.org/2010/02/rdfa/meetings/2010-08-05#resolution_3 > [3] http://www.w3.org/2010/02/rdfa/meetings/2010-08-12#resolution_1 > > > > -- > __________________________________________ > Benjamin Adrian > Email : benjamin.adrian@dfki.de > WWW : http://www.dfki.uni-kl.de/~adrian/ > Tel.: +49631 20575 1450 > Twitter: http://twitter.com/BenBanBun > Skype: benbanbun > __________________________________________ > Deutsches Forschungszentrum für Künstliche Intelligenz GmbH > Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern > Geschäftsführung: > Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff > Vorsitzender des Aufsichtsrats: > Prof. Dr. h.c. Hans A. Aukes > Amtsgericht Kaiserslautern, HRB 2313 > __________________________________________ > > > -- > __________________________________________ > Benjamin Adrian > Email : benjamin.adrian@dfki.de > WWW : http://www.dfki.uni-kl.de/~adrian/ > Tel.: +49631 20575 1450 > Twitter: http://twitter.com/BenBanBun > Skype: benbanbun > __________________________________________ > Deutsches Forschungszentrum für Künstliche Intelligenz GmbH > Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern > Geschäftsführung: > Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff > Vorsitzender des Aufsichtsrats: > Prof. Dr. h.c. Hans A. Aukes > Amtsgericht Kaiserslautern, HRB 2313 > __________________________________________ >
Received on Friday, 20 August 2010 15:41:01 UTC