Extract Graph from DBpedia, by number of HOPS, Direction

我的梦境 提交于 2019-12-24 18:58:15

问题


In the above graph [which is in dbpedia], I want to extract information about TIM COOK, with hops, IF I put hop as 1, I would need all the first level information about TIM COOK, like Masters, APPLE, Car

If hops are 2, I need Masters, APPLE, Car, United States

Is there any way I could extract such graph ?

I would like to pass direction (Incoming, Outgoing) also to extract graph.

Could you please help me with SPARQL query?

来源:https://stackoverflow.com/questions/54774104/extract-graph-from-dbpedia-by-number-of-hops-direction

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!