{"id":1121,"date":"2005-11-03T12:09:00","date_gmt":"2005-11-03T16:09:00","guid":{"rendered":"http:\/\/www.markbaker.ca\/wp\/2005\/11\/03\/an-rdf-form-for-yahoo-maps\/"},"modified":"2005-11-03T12:09:00","modified_gmt":"2005-11-03T16:09:00","slug":"an-rdf-form-for-yahoo-maps","status":"publish","type":"post","link":"http:\/\/www.markbaker.ca\/blog\/2005\/11\/an-rdf-form-for-yahoo-maps\/","title":{"rendered":"An RDF Form for Yahoo maps"},"content":{"rendered":"<p>The new\n<a href=\"http:\/\/developer.yahoo.net\/maps\/rest\/V1\/geocode.html\">Yahoo Maps API<\/a>\ndescribed with\n<a href=\"http:\/\/www.markbaker.ca\/2003\/05\/RDF-Forms\/\">RDF Forms<\/a>;<\/p>\n\n<pre>\n&lt;rf:Indexable xmlns:rf=\"http:\/\/www.markbaker.ca\/2003\/rdfforms\/\"\n              xmlns:rdf=\"http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#\"\n              rdf:about=\"http:\/\/api.local.yahoo.com\/MapsService\/V1\/geocode\"&gt;\n  &lt;rf:indexedBy&gt;\n    &lt;rf:IndexParam rf:shortName=\"appid\"&gt;\n      &lt;rdf:predicate rdf:resource=\"http:\/\/developer.yahoo.net\/faq\/index.html#appid\"\/&gt;\n    &lt;\/rf:IndexParam&gt;\n  &lt;\/rf:indexedBy&gt;\n  &lt;rf:indexedBy&gt;\n    &lt;rf:IndexParam rf:shortName=\"street\"&gt;\n      &lt;rdf:predicate rdf:resource=\"http:\/\/en.wikipedia.org\/wiki\/Street\"\/&gt;\n    &lt;\/rf:IndexParam&gt;\n  &lt;\/rf:indexedBy&gt;\n  &lt;rf:indexedBy&gt;\n    &lt;rf:IndexParam rf:shortName=\"city\"&gt;\n      &lt;rdf:predicate rdf:resource=\"http:\/\/en.wikipedia.org\/wiki\/City\"\/&gt;\n    &lt;\/rf:IndexParam&gt;\n  &lt;\/rf:indexedBy&gt;\n  &lt;rf:indexedBy&gt;\n    &lt;rf:IndexParam rf:shortName=\"state\"&gt;\n      &lt;rdf:predicate rdf:resource=\"http:\/\/en.wikipedia.org\/wiki\/State_codes\"\/&gt;\n    &lt;\/rf:IndexParam&gt;\n  &lt;\/rf:indexedBy&gt;\n  &lt;rf:indexedBy&gt;\n    &lt;rf:IndexParam rf:shortName=\"zip\"&gt;\n      &lt;rdf:predicate rdf:resource=\"http:\/\/en.wikipedia.org\/wiki\/ZIP_Code\"\/&gt;\n    &lt;\/rf:IndexParam&gt;\n  &lt;\/rf:indexedBy&gt;\n  &lt;rf:indexedBy&gt;\n    &lt;rf:IndexParam rf:shortName=\"location\"&gt;\n      &lt;rdf:predicate rdf:resource=\"http:\/\/en.wikipedia.org\/wiki\/Location_%28geography%29\"\/&gt;\n    &lt;\/rf:IndexParam&gt;\n  &lt;\/rf:indexedBy&gt;\n&lt;\/rf:Indexable&gt;\n<\/pre>\n\n<p>Ideally, such a form would be returned on a GET to\n<a href=\"http:\/\/api.local.yahoo.com\/MapsService\/V1\/geocoding\">http:\/\/api.local.yahoo.com\/MapsService\/V1\/geocoding<\/a>\nwhen application\/rdf+xml is declared in the Accept header as the\npreferred representation format.<\/p>\n\n<p>I grounded most of the parameters in\n<a href=\"http:\/\/www.jtauber.com\/blog\/2005\/02\/02\/wikipedia_uris\">Wikipedia URI space<\/a>,\nbut Yahoo might want\nto be more precise and define their own terms where Wikipedia isn&#8217;t suitable.\nAlso, Wikipedia doesn&#8217;t yet do RDF, so you can&#8217;t get any of the\n(eventual) goodness that comes from\n<a href=\"http:\/\/esw.w3.org\/topic\/WebClosure\">WebClosure<\/a>.  Of course,\nthe form is useful without that.<\/p>","protected":false},"excerpt":{"rendered":"The new Yahoo Maps API described with RDF Forms; &lt;rf:Indexable xmlns:rf=&#8221;http:\/\/www.markbaker.ca\/2003\/rdfforms\/&#8221; xmlns:rdf=&#8221;http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#&#8221; rdf:about=&#8221;http:\/\/api.local.yahoo.com\/MapsService\/V1\/geocode&#8221;&gt; &lt;rf:indexedBy&gt; &lt;rf:IndexParam rf:shortName=&#8221;appid&#8221;&gt; &lt;rdf:predicate rdf:resource=&#8221;http:\/\/developer.yahoo.net\/faq\/index.html#appid&#8221;\/&gt; &lt;\/rf:IndexParam&gt; &lt;\/rf:indexedBy&gt; &lt;rf:indexedBy&gt; &lt;rf:IndexParam rf:shortName=&#8221;street&#8221;&gt; &lt;rdf:predicate rdf:resource=&#8221;http:\/\/en.wikipedia.org\/wiki\/Street&#8221;\/&gt; &lt;\/rf:IndexParam&gt; &lt;\/rf:indexedBy&gt; &lt;rf:indexedBy&gt; &lt;rf:IndexParam rf:shortName=&#8221;city&#8221;&gt; &lt;rdf:predicate rdf:resource=&#8221;http:\/\/en.wikipedia.org\/wiki\/City&#8221;\/&gt; &lt;\/rf:IndexParam&gt; &lt;\/rf:indexedBy&gt; &lt;rf:indexedBy&gt; &lt;rf:IndexParam rf:shortName=&#8221;state&#8221;&gt; &lt;rdf:predicate rdf:resource=&#8221;http:\/\/en.wikipedia.org\/wiki\/State_codes&#8221;\/&gt; &lt;\/rf:IndexParam&gt; &lt;\/rf:indexedBy&gt; &lt;rf:indexedBy&gt; &lt;rf:IndexParam rf:shortName=&#8221;zip&#8221;&gt; &lt;rdf:predicate rdf:resource=&#8221;http:\/\/en.wikipedia.org\/wiki\/ZIP_Code&#8221;\/&gt; &lt;\/rf:IndexParam&gt; &lt;\/rf:indexedBy&gt; &lt;rf:indexedBy&gt; &lt;rf:IndexParam rf:shortName=&#8221;location&#8221;&gt; &lt;rdf:predicate rdf:resource=&#8221;http:\/\/en.wikipedia.org\/wiki\/Location_%28geography%29&#8243;\/&gt; &lt;\/rf:IndexParam&gt; &lt;\/rf:indexedBy&gt; [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[40],"class_list":["post-1121","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-xml"],"_links":{"self":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/1121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/comments?post=1121"}],"version-history":[{"count":0,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/1121\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/media?parent=1121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/categories?post=1121"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.markbaker.ca\/blog\/wp-json\/wp\/v2\/tags?post=1121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}