- From: vikash agrawal <vikashagrawal1990@gmail.com>
- Date: Tue, 23 Jul 2013 00:29:49 +0530
- To: Niklas Lindström <lindstream@gmail.com>
- Cc: Markus Lanthaler <markus.lanthaler@gmx.net>, Linked JSON <public-linked-json@w3.org>
- Message-ID: <CAKpG3NhsNzUsw9RZp1nM1GQx6=4A4TQ4JN2ZWnhBMBcoJsGgog@mail.gmail.com>
Hey Nikalas, I have tried to understand your statements. So, I this would be first working Person schema, https://gist.github.com/ivikash/6041987 (Revision 7). If this looks good, I will file a PR and move to Places and events too :-) Regards ~Vikash On Mon, Jul 22, 2013 at 9:24 PM, Niklas Lindström <lindstream@gmail.com>wrote: > Hi Vikash, > > Also note that you don't need to add explicit "@id" mappings to the terms > since their names can be resolved against the defined "@vocab" value. > > Or I should say "should resolve", since there seems to be something > strange going on with some of them. For instance, both "presentAddress" and > "permanentAddress" are mapped to "http://schema.org/address", "image" is > mapped to "http://schema.org/url" and "phoneNumber" to " > http://schema.org/telephone" in your context. It seems like a copy-paste > error (apparently so if you look at "firstName", "middleName" and > "familyName"), and I don't think it is a good idea if it is intentional. > You should use the term names as defined in the vocabulary, unless you have > some very specific reason otherwise. What is your intention here? > > Cheers, > Niklas > > > On Mon, Jul 22, 2013 at 5:27 PM, vikash agrawal < > vikashagrawal1990@gmail.com> wrote: > >> Thank-You Markus and Dave, >> >> >> >> On Mon, Jul 22, 2013 at 8:09 PM, Markus Lanthaler < >> markus.lanthaler@gmx.net> wrote: >> >>> On Monday, July 22, 2013 3:39 PM, vikash agrawal wrote: >>> > Thank-You Nikalas and Markus, >>> > >>> > I am pretty sure, I do have a lot of things to grasp. I >>> > did refer and read the spec after being advised by Manu >>> > and I am progressing. >>> >>> Good >>> >>> >> :-) >> >> >>> >>> > This is my very initial attempt to the context. And I >>> > think there might small or big mistakes and glitches. >>> > Can you please see to this and let me know my mistakes. >>> > >>> > https://gist.github.com/ivikash/6041987 >>> >>> You don't need to type-coerce everything to @id. You only do that if the >>> value is a URL. The value of firstName, lastName etc. for sure isn't. So >>> you have to remove the "@type": "@id". >>> >>> >>> >> Over IRC, Dave really made me understand things, which I werent able to >> get in the first shot. >> >> I am writing the person context and share the gist link soon :) >> >> >> >>> > [Using GMail, and I hope its in ascii] >>> >>> Nope, it's HTML :-P >>> >>> >> Cant help it any more :P. Else I have to use mutt :D >> >> >>> >>> Cheers, >>> Markus >>> >>> >>> -- >>> Markus Lanthaler >>> @markuslanthaler >>> >>> >>> >> >
Received on Monday, 22 July 2013 19:00:57 UTC