JSON-LD - JSON for Linking Data
文章推薦指數: 80 %
JSON-LD is a lightweight Linked Data format. It is easy for humans to read and write. It is based on the already successful JSON format and provides a way to ... JSON-LD Playground Documentation Developers Specifications W3CRecommendations Syntax ProcessingAlgorithmsandAPI Framing LatestDrafts Syntax ProcessingAlgorithmsandAPI Framing BestPractices Streaming JSON-LD-star CBOR RecommendedContext YAML-LD 1.0drafts(historic) Branding JSONforLinkingData Dataismessyanddisconnected.JSON-LDorganizesand connectsit,creatingabetterWeb. LinkedData LinkedData empowerspeoplethatpublishanduseinformationontheWeb.Itisa waytocreateanetworkofstandards-based,machine-readabledataacross Websites.ItallowsanapplicationtostartatonepieceofLinkedData, andfollowembeddedlinkstootherpiecesofLinkedDatathatarehosted ondifferentsitesacrosstheWeb. ASimpleExample { "@context":"https://json-ld.org/contexts/person.jsonld", "@id":"http://dbpedia.org/resource/John_Lennon", "name":"JohnLennon", "born":"1940-10-09", "spouse":"http://dbpedia.org/resource/Cynthia_Lennon" } JSON-LD JSON-LDisalightweightLinkedDataformat.It iseasyforhumanstoreadandwrite.Itisbasedonthealready successfulJSONformatandprovidesawaytohelpJSONdatainteroperate atWeb-scale.JSON-LDisanidealdataformatforprogramming environments,RESTWebservices,andunstructureddatabasessuchas ApacheCouchDBandMongoDB. Playground TheJSON-LDPlaygroundisaweb-basedJSON-LDvieweranddebugger. IfyouareinterestedinlearningJSON-LD,thistoolwillbeofgreathelp toyou.Developersmayalsousethetooltodebug,visualize,andshare theirJSON-LDmarkup. LaunchtheJSON-LDPlayground Developers JSON-LDisavailablein anumberofpopularprogrammingenvironments.EachimplementationofJSON-LD listedbelowisfullyconformingtotheofficialJSON-LDspecifications. Javascript jsonld.js 1.1 jsonld-streaming-parser.js 1.1 jsonld-streaming-serializer.js 1.1 rdf-parse.js 1.1 Python PyLD 1.1 RDFLib 1.0 Ruby JSON-LDforRDF.rb 1.1 Go JSON-goLD 1.1 Java Titanium 1.1 JSONLD-JAVA 1.0 C# dotNetRDF 1.1 json-ld.net 1.0 Erlang/Elixir jsonld-ex 1.0 PHP php-json-ld 1.0 JsonLD 1.0 Rust json-ld 1.1(WIP) Typescript jsonld-lint 1.1(WIP) TheJSON-LDTestSuite(andFramingTestSuite)isusefulforvalidatingJSON-LDProcessors. Conformanceofvariousprocessorsisdocumentedintheofficialimplementationreport. GettingHelp/Collaborating JSON-LD1.1wasbeingformallyspecifiedbythe W3CJSON-LDWorkingGroup. AlthoughtheWorkingGrouphascompleted,itremainsopen asaMaintanenceGroupandmayreleaserevisedspecificationsinthefuture. Toparticipateinthiswork,pleasejointheW3C andthenjointheWorkingGroup. TheWorkingGroupmailinglist isvisibletothepublicandparticipationinthe specificationrepositoriesisencouraged.Additionally,discussionsandexplorationcontinue intheCommunityGroupspacesmentionedbelow. JSON-LDhasbeendevelopedbytheW3CJSON-LDCommunityGroup. ItisaW3CRecommendation asof16January2014.Participationisopen tothepublic.ThereisaJSON-LD Githubrepository.Ifyouneedimmediatehelp,wehavea#json-ldIRC supportchannelonirc.w3.org andaGitterchannel. ThereisalsoaJSON-LD mailinglist.Allweeklymeetingsareopentothepublic,andareminuted,recorded,andarchived.Listedbelowareallofthe communicationtoolsthatthecommunityusesonaweeklybasis. Code json-ldonGithub Meetings Textandaudiominutes MailingList [email protected] Chat #json-ldonirc.w3.org Gitter LearnMore... Thiswebsitecontainsanumberofcurated video,presentations,tutorials,anddocumentationaboutJSON-LD.Assumingyou arefamiliarwithJSON,thesetrainingmaterialswillhelpyouquickly putthepowerofJSON-LDintoyourwebdevelopmentefforts. LearnmoreaboutJSON-LD WebsitecontentreleasedunderaCreativeCommonsCC0PublicDomainDedicationexceptwhereanalternateisspecified. PartofthePaySwarmstandardizationinitiative.
延伸文章資訊
- 1JSON-LD-結構化標籤 - 網頁設計
現行當中只有JSON LD 為外嵌引入,是以JavaScript 語法為基礎,可由原有的JSON 格式解析外嵌型的標記方式,結構較為簡易好維護,可與MicroData 共通Schema.org ...
- 2JSON-LD, 決定未來SEO 的25 項標準與通訊協定系列II
而JSON-LD 的LD 就是Lined Data, 在概念上就是利用Microdata 已經定義好的語義, 而使用網頁前端最常使用的Javascript 可以輕易使用的JSON 來封裝, 而不...
- 3使用JSON-LD 處理SEO,並讓Google 針對不同形式網站做 ...
全名為JavaScript Object Notation for Linked Data,JSON 是什麼就不多解釋了,而JSON-LD 即是JSON 格式的結構化資料,簡單來說就是在描述這個...
- 4瞭解結構化資料的運作方式| Google 搜尋中心| 說明文件
舉例來說,食譜網頁可能會出現以下JSON-LD 結構化資料程式碼片段,介紹食譜的名稱、作者以及其他詳細資料:. <html> <head> <title>Party Coffee Cake</t...
- 5JSON-LD - Wikipedia
JSON-LD (JavaScript Object Notation for Linked Data) is a method of encoding linked data using JS...