You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Rob Vesse <rv...@dotnetrdf.org> on 2013/11/01 17:39:33 UTC
Re: UNSAID keyword
NOT IN is valid syntax, see
http://www.w3.org/TR/sparql11-query/#func-not-in
Rob
On 31/10/2013 22:44, "Tim Harsch" <ha...@yahoo.com> wrote:
>My thoughts as well, and also "NOT IN"?
>
>
>
>
>
>> On Thursday, October 31, 2013 2:54 PM, Andy Seaborne <an...@apache.org>
>>wrote:
>> > On 31/10/13 21:35, Tim Harsch wrote:
>>> Hello,
>>>
>>> The docs at http://jena.apache.org/documentation/query/negation.html
>>>
>>> Say that "UNSAIDis an alias for NOT EXISTS"
>>>
>>>
>>> I wasn't familiar with that keyword so gave it a try at sparql.org
>>>and
>> got:
>>>
>>> Error 400: Parse error:
>>> # Names of people who have not stated that they know anyone
>>> PREFIX foaf: <http://xmlns.com/foaf/0.1/>
>>> SELECT ?name
>>> WHERE { ?x foaf:givenName ?name . UNSAID { ?x foaf:knows ?who } }
>> Lexical error at line 5, column 11. Encountered: " " (32), after :
>> "UNSAID" Fuseki - version 1.0.0 (Build date: 2013-09-12T10:49:49+0100)
>>>
>>> Is this a documentation bug?
>>
>> Yes. Fixed (in staging).
>>
>> Andy
>>
>> It ought to mention MINUS as well.
>>
>>
>>>
>>> Thanks,
>>> Tim
>>>
>>
Re: UNSAID keyword
Posted by Andy Seaborne <an...@apache.org>.
NOT IN is value expression - the others are pattern related.
It's just another way of saying !=
NOT IN(?x,1,2,3) is, by definition,
(?x != 1) && (?x != 2) && (?x != 3)
Tim - if you'd like to propose some text, we can refine the documentation.
Andy
On 01/11/13 22:56, Tim Harsch wrote:
> Hi Rob,
> I should have been more clear. Andy confirmed UNSAID should be removed from documentation, and said MINUS was missing from the documentation, and I was suggesting NOT IN is also missing.
>
>
> Tim
>
>
>> On Friday, November 1, 2013 9:40 AM, Rob Vesse <rv...@dotnetrdf.org> wrote:
>>> NOT IN is valid syntax, see
>> http://www.w3.org/TR/sparql11-query/#func-not-in
>>
>> Rob
>>
>>
>> On 31/10/2013 22:44, "Tim Harsch" <ha...@yahoo.com> wrote:
>>
>>> My thoughts as well, and also "NOT IN"?
>>>
>>>
>>>
>>>
>>>
>>>> On Thursday, October 31, 2013 2:54 PM, Andy Seaborne
>> <an...@apache.org>
>>>> wrote:
>>>> > On 31/10/13 21:35, Tim Harsch wrote:
>>>>> Hello,
>>>>>
>>>>> The docs at
>> http://jena.apache.org/documentation/query/negation.html
>>>>>
>>>>> Say that "UNSAIDis an alias for NOT EXISTS"
>>>>>
>>>>>
>>>>> I wasn't familiar with that keyword so gave it a try at
>> sparql.org
>>>>> and
>>>> got:
>>>>>
>>>>> Error 400: Parse error:
>>>>> # Names of people who have not stated that they know anyone
>>>>> PREFIX foaf: <http://xmlns.com/foaf/0.1/>
>>>>> SELECT ?name
>>>>> WHERE { ?x foaf:givenName ?name . UNSAID { ?x foaf:knows
>> ?who } }
>>>> Lexical error at line 5, column 11. Encountered: " " (32),
>> after :
>>>> "UNSAID" Fuseki - version 1.0.0 (Build date:
>> 2013-09-12T10:49:49+0100)
>>>>>
>>>>> Is this a documentation bug?
>>>>
>>>> Yes. Fixed (in staging).
>>>>
>>>> Andy
>>>>
>>>> It ought to mention MINUS as well.
>>>>
>>>>
>>>>>
>>>>> Thanks,
>>>>> Tim
>>>>>
>>>>
>>
Re: UNSAID keyword
Posted by Rob Vesse <rv...@dotnetrdf.org>.
Sorry for the misunderstanding
Examples added in staging -
http://jena.staging.apache.org/documentation/query/negation.html
Rob
On 01/11/2013 22:56, "Tim Harsch" <ha...@yahoo.com> wrote:
>Hi Rob,
>I should have been more clear. Andy confirmed UNSAID should be removed
>from documentation, and said MINUS was missing from the documentation,
>and I was suggesting NOT IN is also missing.
>
>
>Tim
>
>
>> On Friday, November 1, 2013 9:40 AM, Rob Vesse <rv...@dotnetrdf.org>
>>wrote:
>> > NOT IN is valid syntax, see
>> http://www.w3.org/TR/sparql11-query/#func-not-in
>>
>> Rob
>>
>>
>> On 31/10/2013 22:44, "Tim Harsch" <ha...@yahoo.com> wrote:
>>
>>> My thoughts as well, and also "NOT IN"?
>>>
>>>
>>>
>>>
>>>
>>>> On Thursday, October 31, 2013 2:54 PM, Andy Seaborne
>> <an...@apache.org>
>>>> wrote:
>>>> > On 31/10/13 21:35, Tim Harsch wrote:
>>>>> Hello,
>>>>>
>>>>> The docs at
>> http://jena.apache.org/documentation/query/negation.html
>>>>>
>>>>> Say that "UNSAIDis an alias for NOT EXISTS"
>>>>>
>>>>>
>>>>> I wasn't familiar with that keyword so gave it a try at
>> sparql.org
>>>>> and
>>>> got:
>>>>>
>>>>> Error 400: Parse error:
>>>>> # Names of people who have not stated that they know anyone
>>>>> PREFIX foaf: <http://xmlns.com/foaf/0.1/>
>>>>> SELECT ?name
>>>>> WHERE { ?x foaf:givenName ?name . UNSAID { ?x foaf:knows
>> ?who } }
>>>> Lexical error at line 5, column 11. Encountered: " " (32),
>> after :
>>>> "UNSAID" Fuseki - version 1.0.0 (Build date:
>> 2013-09-12T10:49:49+0100)
>>>>>
>>>>> Is this a documentation bug?
>>>>
>>>> Yes. Fixed (in staging).
>>>>
>>>> Andy
>>>>
>>>> It ought to mention MINUS as well.
>>>>
>>>>
>>>>>
>>>>> Thanks,
>>>>> Tim
>>>>>
>>>>
>>
Re: UNSAID keyword
Posted by Tim Harsch <ha...@yahoo.com>.
Hi Rob,
I should have been more clear. Andy confirmed UNSAID should be removed from documentation, and said MINUS was missing from the documentation, and I was suggesting NOT IN is also missing.
Tim
> On Friday, November 1, 2013 9:40 AM, Rob Vesse <rv...@dotnetrdf.org> wrote:
> > NOT IN is valid syntax, see
> http://www.w3.org/TR/sparql11-query/#func-not-in
>
> Rob
>
>
> On 31/10/2013 22:44, "Tim Harsch" <ha...@yahoo.com> wrote:
>
>> My thoughts as well, and also "NOT IN"?
>>
>>
>>
>>
>>
>>> On Thursday, October 31, 2013 2:54 PM, Andy Seaborne
> <an...@apache.org>
>>> wrote:
>>> > On 31/10/13 21:35, Tim Harsch wrote:
>>>> Hello,
>>>>
>>>> The docs at
> http://jena.apache.org/documentation/query/negation.html
>>>>
>>>> Say that "UNSAIDis an alias for NOT EXISTS"
>>>>
>>>>
>>>> I wasn't familiar with that keyword so gave it a try at
> sparql.org
>>>> and
>>> got:
>>>>
>>>> Error 400: Parse error:
>>>> # Names of people who have not stated that they know anyone
>>>> PREFIX foaf: <http://xmlns.com/foaf/0.1/>
>>>> SELECT ?name
>>>> WHERE { ?x foaf:givenName ?name . UNSAID { ?x foaf:knows
> ?who } }
>>> Lexical error at line 5, column 11. Encountered: " " (32),
> after :
>>> "UNSAID" Fuseki - version 1.0.0 (Build date:
> 2013-09-12T10:49:49+0100)
>>>>
>>>> Is this a documentation bug?
>>>
>>> Yes. Fixed (in staging).
>>>
>>> Andy
>>>
>>> It ought to mention MINUS as well.
>>>
>>>
>>>>
>>>> Thanks,
>>>> Tim
>>>>
>>>
>