我在耶拿有以下问题.
PREFIX edge: <http://test.com/edge#>
PREFIX property: <http://test.com/property#>
select distinct ?supertype ?subtype where{
?supertype edge:uses{1,3} ?subtype.
?subtype (edge:extends | edge:implements)+ ?supertype. }
Run Code Online (Sandbox Code Playgroud)
这在芝麻工作正常,但在jena我得到以下错误:
遇到""{""{""在第1行,第163列.期待以下之一:
此外,我已经尝试将其设置为使用sparql 1,1.1和ARQ语法,但始终是相同的错误.虽然相同的查询在sesame2中有效.所以我的问题是,Jenas sparql中的语法略有不同还是不受支持?(我假设http://jena.sourceforge.net/ARQ/property_paths.html支持它.)
谢谢.