ah and forgot, the formal translation and evaluation is described here:
https://www.w3.org/TR/sparql11-query/#PropertyPathPatterns

On 26.09.19 10:35, Andy Seaborne wrote:
> And the "+" operation is "one or more" which would require :prop to be
> present.
>
> On 9/26/19 9:32 AM, Lorenz Buehmann wrote:
>> * means zero or more
>>
>> if you do zero steps from your start node :foo to reach a node ?x, this
>> ?x is trivially the start node itself
>>
>>
>> On 26.09.19 10:18, Andreas Textor wrote:
>>> Hi all,
>>>
>>> I've found a behaviour with a SPARQL path expression that I find
>>> confusing.
>>>
>>> Given a graph that contains just the one triple ":foo :prop :bar" (for
>>> any prefix :), I execute the following select query:
>>>
>>> select * where { :foo :prop* ?x . }
>>>
>>> and get both :foo and :bar as results for ?x, even though there is no
>>> statement :foo :prop :foo. I can even use any other property name/URI
>>> in the path expression and still get :foo as a result.
>>>
>>> I found no hint on the expected behaviour of this case in the SPARQL
>>> spec, but this seems not right. Can you please give any hints?
>>>
>>>

Reply via email to