-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Schema.org Vocabulary #42
Comments
👍 The big challenge is that a lot of schema.org, and linked data in general, is about giving and then referring to Things by their URIs (or in JSON-LD parlance, There are already strong nouns for a lot of the concepts involved: Perhaps the easiest way to get started would be to have GET /richardhendriks.jsonld HTTP/1.1
Host: registry.jsonresume.org
Accept: application/ld+json,application/json,*/*;q=0.1
====================================
HTTP/1.1 200 OK
...
Content-Type: application/json
Link: <http://registry.jsonresume.org>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" Some real gotchas, though:
Here is an example of how many of the terms in the current spec (except for the {
"@context": {
"sdo": "http://schema.org/",
"title": "sdo:name",
"firstName": "sdo:givenName",
"lastName": "sdo:familyName",
"email": {
"@container": "@index",
"@id": "sdo:email"
},
"phone": {
"@container": "@index",
"@id": "sdo:telephone"
},
"summary": "sdo:description",
"website": "sdo:url",
"websites": {
"@container": "@index",
"@id": "sdo:url"
},
"position": "sdo:namedPosition",
"startDate": "sdo:startDate",
"endDate": "sdo:endDate",
"location": {
"@reverse": "sdo:homeLocation"
},
"work": {
"@reverse": "sdo:member"
},
"awards": {
"@reverse": "sdo:winner"
},
"publications": {
"@reverse": "sdo:contributor"
},
"references": {
"@reverse": "sdo:reviewedBy"
}
}
} |
Great comment and reference to JSON-LD! Thanks for this. I was pointing to Schema.org to use directly in the document body, but the out-of-band data like this works, too. To give a self-promotion, I've been working on a mult-purpose hypermedia format called Verbose. Here is how you could describe some of the semantics for a resume JSON file. It can map to more complex structures. {
"verbose": {
"prefixes": [
{
"prefix": "sdo",
"href": "http://schema.org"
}
],
"semantics": [
{
"name": "firstName",
"type": "string",
"typeOf": "sdo:givenName",
"mapsTo": "#/properties.bio.firstName",
"title": "First Name"
},
{
"name": "lastName",
"type": "string",
"typeOf": "sdo:familyName",
"mapsTo": "#/properties.bio.lastName",
"title": "Last Name"
},
{
"name": "work",
"type": "array",
"mapsTo": "#/properties.bio.work",
"title": "Work Experience"
},
{
"name": "position",
"type": "string",
"typeOf": "sdo:namedPosition",
"mapsTo": "#/properties.bio.work[].position",
"title": "Position"
},
{
"name": "startDate",
"type": "string",
"typeOf": "sdo:startDate",
"mapsTo": "#/properties.bio.work[].startDate",
"title": "Start Date"
},
{
"name": "endDate",
"type": "string",
"typeOf": "sdo:endDate",
"mapsTo": "#/properties.bio.work[].endDate",
"title": "End Date"
}
]
}
} |
@smizell Might need you to jump on IRC and run me through some of this (Y) #jsonresume |
definitely +1 for json-ld! Makes so much sense for resumes. Also the use of FOAF. |
JSON-LD would be a good step towards basic interoperability with the approach we're taking at schema.org (and FOAF). Also you probably want to avoid firstName/lastName for I18N reasons - those concepts aren't very general. See http://www.w3.org/International/questions/qa-personal-names |
+1 to using JSON-LD plus terms from schema.org & FOAF where suitable. There's also the fairly extensive BIO schema at http://vocab.org/bio/0.1/.html - note that the JSON version there precedes JSON-LD, though data expressed using BIO (& FOAF & rdfs.schema.org) can easily be serialized as JSON-LD. |
+1 for me too for json-ld! :-) |
I also work on simple codebase for online proifles, it uses JSON-LD, RDFa and whenever possible Schema.org terms, very early demo at my homepage: http://wwelves.org/perpetual-tripper/ you can copy its source and check out embedded graph by pasting it into http://rdfa.info/play JSON-LD with data: https://github.com/elf-pavlik/webprofiled/blob/master/test/fixtures/perpetual-tripper/index.json Handlebars template which renders RDFa from it: https://github.com/elf-pavlik/webprofiled/blob/master/views/profile.hbs Soon I plan to switch from handlebars to special JSON-LD to RDFa templating, possibly extracted from http://viejs.org Happy to help with JSON-LD, Schema.org etc. Also glad to see many experienced people already commented on this thread 🎯 |
Haven't heard anything back from the project leadership: lots of things going on out there, but I'll go out on a limb: I think the task here is to build up the "so what" of making resume data available in terms of:
Here's my stab at an answer:
If the above holds, a reasonable starting point, if only to see how it would work, would be:
Thoughts? |
Re: above:
These will likely all need to evolve before any of them can be adopted. Actually works pretty well already. The context on #83 is by far the weakest and most important part... any additional insight welcome on how to get closer to a thorough representation with schema.org items without requiring lots of after-the-fact processing in resumeToJSONLD... would framing help? Also, crucially, how might one test the "coverage" of the context in capturing the schema? |
Hey @bollwyvl, think you could hop on #jsonresume freenode at some stage. Will need a hand digesting everything. Had to finish a bunch of the tooling, but tonight shall be dedicated to the schema and docs. |
@thomasdavis: it will be later in the day before I can jump online, but am happy to help! |
aahh I will be asleep for the next 9 hours, damn timezones On Thu, Jul 10, 2014 at 11:02 PM, bollwyvl [email protected] wrote:
Thomas Davis VP of Tech - Earbits - http://earbits.com |
we work lately on few decoupled components for generating profiles (expressed with schema.org terms) and adding them to various directories, check out: https://github.com/elf-pavlik/plp-generator |
Shill piece on why resume-as-linked-data is important: |
also Mozilla Open Badges now start adopting JSON-LD and participate in W3C Credentials CG http://lists.w3.org/Archives/Public/public-linked-json/2014Oct/0021.html |
seems like a new feature to me and a massive change. also no updates in more than a year. Is this still relevant? |
Definitely a bigger change and most likely something for the fine tuning stage? If we know what data goes into the next release, changing the wording/vocabulary etc. is easier than trying to incorporate that right now. At least that's my feeling. |
Suggestion to focus conversation: the If you scroll that Person page, you come to this fascinating table. Preview below. It's especially the
See how vocab focuses discourse? Just knowing the lexicon-space clarifies that (This shows half the list) |
Let's revisit this post-v1.0.0. |
Add example to image sub-section
Have read all your comments, thought about it and read my previous comments. JSON Resume will remain a simple implementation, converting anything to a format on schema.org will just copy what it can. |
This may have been suggested already, but any thoughts on using Schema.org vocabulary?
http://schema.org/docs/full.html
The text was updated successfully, but these errors were encountered: