rdf - SPARQL property path query -
I am trying to use SPARQL 1.1 property path with VirtuosoOS 6.1 but something is wrong. I use the next graph:
@prefix foo: & lt; Foo / & gt; . @Prinfix Bar: & lt; Bar / & gt; . @Primfix type: & lt; Type / & gt; . Bar: a1 type: read foo: b1 times: a1 type: type foo: b2 bar: a1 type: write foo: b3 bar: a2 type: read foo: b4 times: a2 type: type foo: b5 times: a 3 Type: Write Foo: B6 Foo: b2 Type: Link foo: b4 Foo: B4 Type: Link Foo: B6 Let me know all the "linked" fu "s Finding that starts with X, where x is: a1 --- (Type: write) -> X. Clearly the answer is foo: b4 and foo: b6.
Then , I use this query
prefix Answer: Select < / Pre> but virtuoso says
virtuoso 37000 error SP030: SPARQL compiler, line 8: syntax error '? Y' '}' before What is wrong with my query? Perhaps virtuoso does not support this feature?
< P> You can check that your query is legal The Akyvinyas. Your query is well-formed, so this is an issue with virtuoso support. According to, you can get SPARQL 1.1 support through extensions in earlier versions, and can support 6.2 and further without the need for SPARQL 1.1 extensions. According to the official page, it looks like versions 6.1.7 and 7.0.0 should have support for the property path.
Comments
Post a Comment