RE: Starting with Contexts and

Hi Vikash,

if you use a prefix such as xsd, you need to declare it.

Markus Lanthaler

------------------- Original message -------------------------
From: vikash agrawal [] 
Sent: Monday, August 05, 2013 7:57 PM
To: Niklas Lindström
Cc: Markus Lanthaler; Linked JSON
Subject: Re: Starting with Contexts and

hi Everyone, 

Context Public.json ->

Context Event.json ->

Context Place.json ->

I have one query, If says that the type is an organisation or say postal address, it be expanded to an IRI, am i right? 

I had a word with taaz, but can I get a slightly better insight at this.


On Tue, Jul 23, 2013 at 12:35 AM, vikash agrawal <> wrote:
Errors Noted! 
Reading the spec and Rectifying!

On Tue, Jul 23, 2013 at 12:29 AM, vikash agrawal <> wrote:
Hey Nikalas, 

I have tried to understand your statements.

So, I this would be first working Person schema, (Revision 7).

If this looks good, I will file a PR and move to Places and events too :-)


On Mon, Jul 22, 2013 at 9:24 PM, Niklas Lindström <> 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 "", "image" is mapped to "" and "phoneNumber" to "" 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?


On Mon, Jul 22, 2013 at 5:27 PM, vikash agrawal <> wrote:
Thank-You Markus and Dave,

On Mon, Jul 22, 2013 at 8:09 PM, Markus Lanthaler <> 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.


> 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.
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


Markus Lanthaler

Received on Tuesday, 6 August 2013 11:50:20 UTC