dbpediaの研究 その2
概要
dbpediaが難解なので、手出してみる。
xhrで、json読んでみた。
結果
{ "head": { "link": [], "vars": ["color_name", "color"] }, "results": { "distinct": false, "ordered": true, "bindings": [ { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u9E7F\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "27" }}, { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u9ED2\u9E7F\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "11" }}, { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u6817\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "10" }}, { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u82A6\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "2" }}, { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u9752\u9E7F\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "2" }}, { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u9752\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "1" }}, { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u6803\u6817\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "1" }} ] } }
成果物
{ "head": { "link": [], "vars": ["color_name", "color"] }, "results": { "distinct": false, "ordered": true, "bindings": [ { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u9E7F\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "27" }}, { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u9ED2\u9E7F\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "11" }}, { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u6817\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "10" }}, { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u82A6\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "2" }}, { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u9752\u9E7F\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "2" }}, { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u9752\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "1" }}, { "color_name": { "type": "uri", "value": "http://ja.dbpedia.org/resource/\u6803\u6817\u6BDB" } , "color": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "1" }} ] } }
以上。
Author And Source
この問題について(dbpediaの研究 その2), 我々は、より多くの情報をここで見つけました https://qiita.com/ohisama@github/items/eff54fdd087e7671116d著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .