W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2011

INSERT GRAPH base URI question

From: Steve Harris <steve.harris@garlik.com>
Date: Fri, 19 Aug 2011 09:58:30 +0100
Message-Id: <26DAF799-626F-40A4-9E72-039BB60C6C14@garlik.com>
To: SPARQL Working Group <public-rdf-dawg@w3.org>
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.

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 Friday, 19 August 2011 08:58:58 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:46 GMT