- From: Andy Seaborne <andy.seaborne@epimorphics.com>
- Date: Sun, 28 Aug 2011 19:11:54 +0100
- To: public-rdf-dawg@w3.org
On 19/08/11 23:16, Axel Polleres wrote:
>
> On 19 Aug 2011, at 09:58, Steve Harris wrote:
>
>> What is
>>
>> BASE<http://example.com/bar>
>> INSERT DATA {
>> GRAPH<http://example.com/foo> {
>> <> a<Thing> .
>> }
>> }
>>
>> supposed to insert?
>>
>> I would expect
>>
>> <http://example.com/foo> a<http://example.com/Thing> .
>>
>> but I don't see anything in the spec that justifies that, or anything in the test cases, though I could easily have missed it.
>>
>> The alternative would be
>>
>> <http://example.com/bar> a<http://example.com/Thing> .
>>
>> Which I think is what I'd get to from following the spec to the letter.
>
> I would also have supposed that the latter is what the spec would suggest.
I believe <http://example.com/bar> is correct.
There is nothing special about <> -- it's just that "base" and
"document" are often the same. They just aren't here.
This may help: adds and used a prefix:
http://www.sparql.org/update-validator?update=BASE+%3Chttp%3A%2F%2Fexample.com%2Fbar%3E%0D%0APREFIX+x%3A+%3Chttp%3A%2F%2Fexample.com%2F%3E%0D%0AINSERT+DATA+{%0D%0A++GRAPH+%3Chttp%3A%2F%2Fexample.com%2Ffoo%3E+{%0D%0A++++%3C%3E+a+%3CThing%3E+.%0D%0A++}%0D%0A}%0D%0A&languageSyntax=SPARQL&linenumbers=true
Andy
>
> Axel
>
>>
>> Cheers,
>> Steve
>>
>> --
>> Steve Harris, CTO, Garlik Limited
>> 1-3 Halford Road, Richmond, TW10 6AW, UK
>> +44 20 8439 8203 http://www.garlik.com/
>> Registered in England and Wales 535 7233 VAT # 849 0517 11
>> Registered office: Thames House, Portsmouth Road, Esher, Surrey, KT10 9AD
>>
>>
>
>
Received on Sunday, 28 August 2011 18:12:35 UTC