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.
延伸文章資訊
- 1結構化資料之「商品」範例- 使用JSON-LD - Summer。桑莫 ...
結構化資料之「商品」範例- 使用JSON-LD Pinkoi 範例 ... <script type="application/ld+json"> { "@context": "http://s...
- 2JSON-LD, 決定未來SEO 的25 項標準與通訊協定系列II
而JSON-LD 的LD 就是Lined Data, 在概念上就是利用Microdata 已經定義好的語義, 而使用網頁前端最常使用的Javascript 可以輕易使用的JSON 來封裝, 而不...
- 3JSON-LD-結構化標籤 - 網頁設計
現行當中只有JSON LD 為外嵌引入,是以JavaScript 語法為基礎,可由原有的JSON 格式解析外嵌型的標記方式,結構較為簡易好維護,可與MicroData 共通Schema.org ...
- 4JSON-LD - JSON for Linking Data
JSON-LD is a lightweight Linked Data format. It is easy for humans to read and write. It is based...
- 5使用JSON-LD 處理結構化資料,優化SEO | 文章
JSON-LD 的全名為JavaScript Object Notation for Linked Data,大家就知道是用來讓google 更了解你的網站內容結構就好了。 使用方法就是在網頁上...