W3C home > Mailing lists > Public > public-sparql-dev@w3.org > January to March 2015

Re: Subject lists in SPARQL

From: Steve Harris <steve@totl.net>
Date: Thu, 26 Mar 2015 10:25:49 +0000
Cc: "public-sparql-dev@w3.org" <public-sparql-dev@w3.org>
Message-Id: <6A9CBEDF-7540-439F-9F7B-CB3E890FE7D1@totl.net>
To: Andy Seaborne <andy@apache.org>
> On 26 Mar 2015, at 10:10, Andy Seaborne <andy@apache.org> wrote:
> 
> On 24/03/15 16:48, Fabiano Luz wrote:
>>> Hello Folks,
>> On the predicate lists we have omitted the subject, for example:
>> 
>>      ?x  foaf:name  ?name ;
>>            foaf:mbox  ?mbox .
>> 
>> 
>> I wonder if there is some kind of "subject lists" where we omitted the
>> predicate, for example:
>> 
>>      foaf:Bob  foaf:phone  ?phone1; foaf:John  ?phone2 .
>> 
>> 
>> PS: I do not want to repeat the predicate.
>> 
>> best regards
>> 
>> --
>> Fabiano Ferreira LuzĀ®
>> MsC in Computer Science
> 
> Fabiano,
> 
> There isn't any specific syntax to abbreviate in that way (in Turtle or SPARQL), only "same subject, same predicate", not "different subject, same predicate".
> 
> What's you use case for this?

I was wondering about this, what happens if you write:

:foo ^rdf:value :a , :b , :c .

- Steve
Received on Thursday, 26 March 2015 10:50:41 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 26 March 2015 10:50:41 UTC