W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > January to March 2005

XML serialization of SPARQL

From: Eric Prud'hommeaux <eric@w3.org>
Date: Wed, 16 Mar 2005 03:37:09 -0500
To: public-rdf-dawg@w3.org
Message-ID: <20050316083709.GB18077@w3.org>
Bijan was saying that he wants an XML serialization for SPARQL.

While on IRC with Hugo, I doodled:

  CONSTRUCT { ?a foo ?b . ?b bar ?c }
      WHERE { ?b thoip ?c . ?c fump ?d . ?a wonk ?d }

 =>

  <sparql>
    <construct>
      <term><s var="a"/><p uri="foo"/><o var="b"/></term>
      <term><s var="a"/><p uri="foo"/><o var="b"/></term>
    </construct>
    <where>
      <term><s var="b"/><p uri="thiop"/><o var="c"/></term>
      <term><s var="c"/><p uri="fump"/><o var="d"/></term>
      <term><s var="a"/><p uri="wonk"/><o var="d"/></term>
    </where>
  </sparql>

I can see that this would enable one to use a SOAP SPARQL Protocol
binding to sign and/or encrypt. There may be other motivations.
What are they?
-- 
-eric

office: +81.466.49.1170 W3C, Keio Research Institute at SFC,
                        Shonan Fujisawa Campus, Keio University,
                        5322 Endo, Fujisawa, Kanagawa 252-8520
                        JAPAN
        +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA
cell:   +81.90.6533.3882

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

Received on Wednesday, 16 March 2005 08:37:09 GMT

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