dongou3286
dongou3286
2017-01-14 11:53

ARC2中的SPARQL属性路径

已采纳

I tried to run the following query with arc2 in php but the * (ZeroOrMorePath) is not working. The query is valid, I checked it in Protege.

PREFIX ab: <http://www.mysite.de/testing.owl#> 
SELECT ?name WHERE {?name rdfs:subClassOf* ab:subj}

This query returns all Subclasses and sub-Subclasses and so on.

Is there a way to do the same in arc2?

Thanks for your answers

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • dongxian5735 dongxian5735 4年前

    Short answer, no. According to [1] there is no support for SPARQL 1.1

    [1] https://github.com/semsol/arc2/issues/57

    点赞 评论 复制链接分享

为你推荐