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

Re: Subject lists in SPARQL

From: Andy Seaborne <andy@apache.org>
Date: Thu, 26 Mar 2015 10:10:07 +0000
Message-ID: <5513DAFF.7030609@apache.org>
To: public-sparql-dev@w3.org
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?

	Andy
Received on Thursday, 26 March 2015 10:10:38 UTC

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