W3C home > Mailing lists > Public > public-linked-json@w3.org > July 2013

Re: Starting with Contexts and Schema.org

From: Niklas Lindström <lindstream@gmail.com>
Date: Mon, 22 Jul 2013 17:54:20 +0200
Message-ID: <CADjV5jerHxv21n7kA_D7t+cJDBRfeo9GgeEN5rNone6aCw4Mjg@mail.gmail.com>
To: vikash agrawal <vikashagrawal1990@gmail.com>
Cc: Markus Lanthaler <markus.lanthaler@gmx.net>, Linked JSON <public-linked-json@w3.org>
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 15:55:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:38 UTC