Re: Subject lists in SPARQL

> 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