JSON-LD - Wikipedia
文章推薦指數: 80 %
JSON-LD (JavaScript Object Notation for Linked Data) is a method of encoding linked data using JSON. One goal for JSON-LD was to require as little effort as ... JSON-LD FromWikipedia,thefreeencyclopedia Jumptonavigation Jumptosearch Fileformatforencodinglinkeddata JSON-LDFilenameextension .jsonldInternetmedia type application/ld+jsonTypeofformatSemanticWebContainer forLinkedDataExtended fromJSONStandardJSON-LD1.1/JSON-LD1.1APIOpenformat?Yes JSON-LD1.1AbbreviationJSON-LDStatusW3CRecommendationYearstarted2010Editors Editors GreggKellogg Pierre-AntoineChampin DaveLongley Previouseditors ManuSporny MarkusLanthaler AuthorsManuSporny,DaveLongley,GreggKellogg,MarkusLanthaler,NiklasLindströmBasestandards BCP47 JSON RDF URIscheme InternationalizedResourceIdentifier UnicodeBidirectionalAlgorithm DomainSemanticWeb,DataSerializationWebsite JSON-LD1.1 JSON-LD1.1ProcessingAlgorithmsandAPI JSON-LD1.1Framing JSON-LD(JavaScriptObjectNotationforLinkedData)isamethodofencodinglinkeddatausingJSON.OnegoalforJSON-LDwastorequireaslittleeffortaspossiblefromdeveloperstotransformtheirexistingJSONtoJSON-LD.[1]JSON-LDallowsdatatobeserializedinawaythatissimilartotraditionalJSON.[2]ItwasinitiallydevelopedbytheJSONforLinkingDataCommunityGroup[3]beforebeingtransferredtotheRDFWorkingGroup[4]forreview,improvement,andstandardization,[5]andiscurrentlymaintainedbytheJSON-LDWorkingGroup.[6]JSON-LDisaWorldWideWebConsortiumRecommendation. Contents 1Design 2Example 3Use 4Seealso 5References 6Externallinks Design[edit] JSON-LDisdesignedaroundtheconceptofa"context"toprovideadditionalmappingsfromJSONtoanRDFmodel.ThecontextlinksobjectpropertiesinaJSONdocumenttoconceptsinanontology.InordertomaptheJSON-LDsyntaxtoRDF,JSON-LDallowsvaluestobecoercedtoaspecifiedtypeortobetaggedwithalanguage.AcontextcanbeembeddeddirectlyinaJSON-LDdocumentorputintoaseparatefileandreferencedfromdifferentdocuments(fromtraditionalJSONdocumentsviaanHTTPLinkheader). Example[edit] { "@context":{ "name":"http://xmlns.com/foaf/0.1/name", "homepage":{ "@id":"http://xmlns.com/foaf/0.1/workplaceHomepage", "@type":"@id" }, "Person":"http://xmlns.com/foaf/0.1/Person" }, "@id":"https://me.example.com", "@type":"Person", "name":"JohnSmith", "homepage":"https://www.example.com/" } Theexampleabovedescribesaperson,basedontheFOAFvocabulary.First,thetwoJSONpropertiesnameandhomepageandthetypePersonaremappedtoconceptsintheFOAFvocabularyandthevalueofthehomepagepropertyisspecifiedtobeofthetype@id,i.e.,itisspecifiedtobeanIRIinthecontextdefinition.BasedontheRDFmodel,thisallowsthepersondescribedinthedocumenttobeunambiguouslyidentifiedbyanIRI.TheuseofresolvableIRIsallowsRDFdocumentscontainingmoreinformationtobetranscludedwhichenablesclientstodiscovernewdatabysimplyfollowingthoselinks;thisprincipleisknownasFollowYourNose.[7] Byhavingalldatasemanticallyannotatedasintheexample,anRDFprocessorcanidentifythatthedocumentcontainsinformationaboutaperson(@type)andiftheprocessorunderstandstheFOAFvocabularyitcandeterminewhichpropertiesspecifytheperson’snameandhomepage. Use[edit] TheencodingisusedbySchema.org,[8]GoogleKnowledgeGraph,[9]andusedmostlyforsearchengineoptimizationactivities.Ithasalsobeenusedforapplicationssuchasbiomedicalinformatics,[10]andrepresentingprovenanceinformation.[11]ItisalsothebasisofActivityStreams,aformatfor"theexchangeofinformationaboutpotentialandcompletedactivities",[12]andisusedinActivityPub,thefederatedsocialnetworkingprotocol.[13]Additionally,itisusedinthecontextofInternetofThings(IoT),whereaThingDescription,[14]whichisaJSON-LDdocument,describesthenetworkfacinginterfacesofIoTdevices. Seealso[edit] HypertextApplicationLanguage JSONGraphFormat References[edit] ^"JSON-LDSyntax1.1".2010-07-16.Retrieved2020-12-10. ^"OnUsingJSON-LDtoCreateEvolvableRESTfulServices".,M.LanthalerandC.GütlinProceedingsofthe3rdInternationalWorkshoponRESTfulDesign(WS-REST2012)atWWW2012. ^"JSONforLinkingDataCommunityGroup".json-ld.org. ^"RDFWorkingGroup".w3.org. ^JSON-LD1.0,AJSON-basedSerializationforLinkedData,W3CRecommendation16January2014,2014-01-16,retrieved2020-12-10 ^"JSON-LDWorkingGroup".w3.org. ^"LinkedDataPatterns,Chapter5:FollowYourNose".2011-12-27.Retrieved2011-12-30. ^"DataModel".Schema.org.Retrieved2018-06-20. ^"MethodEntitiesinSearch".GoogleDevelopers.Retrieved2017-10-17. ^Xin,Jiwen;Afrasiabi,Cyrus;Lelong,Sebastien;Adesara,Julee;Tsueng,Ginger;Su,AndrewI.;Wu,Chunlei(2018-02-01)."Cross-linkingBioThingsAPIsthroughJSON-LDtofacilitateknowledgeexploration".BMCBioinformatics.19(1):30.doi:10.1186/s12859-018-2041-5.PMC 5796402.PMID 29390967. ^Huynh,TrungDong;Michaelides,DaniusT.;Moreau,Luc(2016),"PROV-JSONLD:AJSONandLinkedDataRepresentationforProvenance"(PDF),LectureNotesinComputerScience,SpringerInternationalPublishing,pp. 173–177,doi:10.1007/978-3-319-40593-3_15,ISBN 9783319405926 ^Prodromou,Evan(May2017)."ActivityStreams2.0".W3CRecommendation–viaW3C. ^Tallon,Jessica(Jan2018)."ActivityPub".W3CRecommendation–viaW3C. ^"WebofThings(WoT)ThingDescription,W3CProposedRecommendation".www.w3.org.Retrieved2020-03-26. Externallinks[edit] JSON-LD.org vteSemanticWebBackground Databases Hypertext Internet Ontologies Semantics Semanticnetworks WorldWideWeb Sub-topics Dataspaces Hyperdata Linkeddata Rule-basedsystems Applications Semanticanalytics Semanticbroker Semanticcomputing Semanticmapper Semanticmatching Semanticpublishing Semanticreasoner Semanticsearch Semanticservice-orientedarchitecture Semanticwiki Relatedtopics Collectiveintelligence Descriptionlogic Folksonomy Geotagging Informationarchitecture Knowledgeextraction Knowledgemanagement Knowledgerepresentationandreasoning Library2.0 Digitallibrary Digitalhumanities Metadata References Topicmap Web2.0 Webengineering WebScienceTrust StandardsSyntaxandsupportingtechnologies HTTP IRI URI RDF triples RDF/XML JSON-LD Turtle TriG Notation3 N-Triples TriX(noW3Cstandard) RRID SPARQL XML SemanticHTML Schemas,ontologiesandrules CommonLogic OWL RDFS RuleInterchangeFormat SemanticWebRuleLanguage ALPS SHACL Semanticannotation eRDF GRDDL Microdata Microformats RDFa SAWSDL FacebookPlatform Commonvocabularies DOAP DublinCore FOAF Schema.org SIOC SKOS Microformatvocabularies hAtom hCalendar hCard hProduct hRecipe hReview vteDocumentmarkuplanguagesOfficesuite CompoundDocumentFormat OOXML SpreadsheetML PresentationML WordprocessingML ODF UOF Well-known HTML XHTML MathML RTF TeX LaTeX Markdown Lesser-known AmigaGuide AsciiDoc BBCode CML C-HTML ConTeXt CrossMark DITA DocBook eLML EAD Enrichedtext FHTML GML GuideML HDML HyTime IPF LilyPond LinuxDoc Lout MIF MAML MEI MusicXML OMDoc OpenMath Org-mode POD ReStructuredText RTML RFT S1000D TEI Texinfo troff Wikitext WML WapTV XAML YAML Listofdocumentmarkuplanguages vteWorldWideWebConsortium(W3C)ProductsandstandardsRecommendations ActivityPub ActivityStreams ARIA CanonicalXML CDF CSS Animations Flexbox Grid DOM GeolocationAPI HTML HTML5 IndexedDB ITS JSON-LD LinkedDataNotifications MathML Micropub OWL PLS RDF Schema SISR SKOS SMIL SOAP SRGS SRI SSML SVG FilterEffects SCXML SHACL SPARQL Timedtext VoiceXML Webstorage WSDL Webmention WebSub XHTML +RDFa XML Base Encryption Events InformationSet Namespace Schema Signature XForms XInclude XLink XOP XPath 2.0 3.x XPointer XProc XQuery XSL XSL-FO XSLT elements Notes IndieAuth XAdES XBL XHTML+SMIL XUP Workingdrafts CCXML CURIE EME InkML MSE RIF SMILTimesheets sXBL WebGPU WebXR XFDL XFrames XMLHttpRequest Guidelines WebContentAccessibilityGuidelines Initiative MarkupValidationService WebAccessibilityInitiative WebPlatform WebComponents Deprecated C-HTML HDML JSSS PGML VML XHTML+MathML+SVG Obsoleted P3P Organizations WorldWideWebFoundation Workinggroups TAG CSS SVG WebAssembly WebAuthn WHATWG Community&businessgroups WebAdvertisingBG WebAssemblyCG Closedgroups DeviceDescription(DDWG) HTML MultimodalInteractionActivity(MMI) Software CERNhttpd Libwww Browsers LineMode(1990–) Arena(1993–98) Agora(1994–97) Argo(1994–97) Amaya(browser/editor,1996–2012) Conferences InternationalWorldWideWebConference(IW3C) SteeringCommittee(IW3C2) Firstconference("WWW1",1994) Retrievedfrom"https://en.wikipedia.org/w/index.php?title=JSON-LD&oldid=1089033052" Categories:ResourceDescriptionFrameworkDataserializationformatsMarkuplanguagesJSONHiddencategories:ArticleswithshortdescriptionShortdescriptionisdifferentfromWikidata Navigationmenu Personaltools NotloggedinTalkContributionsCreateaccountLogin Namespaces ArticleTalk English Views ReadEditViewhistory More Search Navigation MainpageContentsCurrenteventsRandomarticleAboutWikipediaContactusDonate Contribute HelpLearntoeditCommunityportalRecentchangesUploadfile Tools WhatlinkshereRelatedchangesUploadfileSpecialpagesPermanentlinkPageinformationCitethispageWikidataitem Print/export DownloadasPDFPrintableversion Languages CatalàDeutschEspañolFrançais한국어BahasaIndonesiaItalianoNederlandsРусскийதமிழ்Українська Editlinks
延伸文章資訊
- 1JSON-LD - Wikipedia
JSON-LD (JavaScript Object Notation for Linked Data) is a method of encoding linked data using JS...
- 2利用JavaScript 產生結構化資料| Google 搜尋中心| 說明文件
使用Google 代碼管理工具動態產生JSON-LD. 在Google 代碼管理工具中使用變數. 利用自訂JavaScript 產生結構化資料; 採用伺服器端轉譯作業; 測試實作成果 ...
- 3JSON-LD-結構化標籤 - 網頁設計
現行當中只有JSON LD 為外嵌引入,是以JavaScript 語法為基礎,可由原有的JSON 格式解析外嵌型的標記方式,結構較為簡易好維護,可與MicroData 共通Schema.org ...
- 4使用JSON-LD 處理SEO,並讓Google 針對不同形式網站做 ...
全名為JavaScript Object Notation for Linked Data,JSON 是什麼就不多解釋了,而JSON-LD 即是JSON 格式的結構化資料,簡單來說就是在描述這個...
- 5瞭解結構化資料的運作方式| Google 搜尋中心| 說明文件
舉例來說,食譜網頁可能會出現以下JSON-LD 結構化資料程式碼片段,介紹食譜的名稱、作者以及其他詳細資料:. <html> <head> <title>Party Coffee Cake</t...